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 |
|---|---|---|---|---|---|
Originally posted on my blog - selbekk.io
When you're working on a component library, or just creating reusable components in general, you often end up creating small wrapper components that only adds a css class or two. Some are more advanced, but you still need to be able to imperatively focus them.
This used to be a... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/selbekk/forwarding-refs-in-typescript-elp | CC-MAIN-2021-43 | refinedweb | 440 | 57.16 |
Currently I have a jQuery plugin which not only sets up its function in $.fn but also $ itself, checking if (typeof(this) == ‘function’) to see if it has been called through $.pluginname or $(elm).pluginname… is this bad practice, and if so, is there a better way to make providing the element optional?
Javascript – Sto... | http://w3cgeek.com/is-attaching-functions-to-the-jquery-object-bad-practice.html | CC-MAIN-2019-04 | refinedweb | 676 | 72.87 |
.
Program Description:-
In this example we have created Properties class and we have put three key/value pairs and every key/value pairs are both String values. We have used setProperties() method.We have store values setProperty(String key, String value) method Calls the Hashtable method put And we have use FileOutput... | http://roseindia.net/java/example/java/core/write-properties-file-in-java.shtml | CC-MAIN-2016-22 | refinedweb | 157 | 53.27 |
Christoph Hellwig wrote:>>George Anzinger <george@mvista.com>:>> o POSIX clocks & timers> > > Care to explain what FOLD_NANO_SLEEP_INTO_CLOCK_NANO_SLEEP> is supposed to do? It's always defined in signal.h, so we can> aswell get rid of it..It is there in case some one might want nanosleep to NOT be folded into clock_nan... | http://lkml.org/lkml/2003/2/25/292 | CC-MAIN-2013-20 | refinedweb | 264 | 65.22 |
Eclipse Community Forums - RDF feed Eclipse Community Forums how to do @Overrides in EDT <![CDATA[In RBD I have a number of widgets that have field called children widget[]; I could then create a function like function getChildren() returns (widget [ ]) {@Override {}} return (things); end This @Override allowed for my ... | http://www.eclipse.org/forums/feed.php?mode=m&th=261764&basic=1 | CC-MAIN-2015-06 | refinedweb | 319 | 70.23 |
Need to edge out the competition for your dream job? Train for certifications today.
Submit
<xsl:template
Select all
Open in new window
<xsl:template
<xsl:template
<xsl:copy>
<xsl:apply-templates
</xsl:copy>
</xsl:template>.
<xsl:template match="ns1:ListOfFields/ns
...
You have two templates with the same match.
This i... | https://www.experts-exchange.com/questions/27825469/Apply-multiple-xsl-match-template-on-a-xml.html | CC-MAIN-2018-26 | refinedweb | 613 | 61.77 |
It happens all the time. You download an example application from the web but it does not run without exactly the correct versions of jars to execute against. The best solution to this problem is to release a working demo of the application that has the bare minimum of jars required for it to execute.
When developers u... | http://javagoodways.com/jar_hell_Jar_hell.html | CC-MAIN-2021-21 | refinedweb | 280 | 61.63 |
Stefano Mazzocchi wrote:
> I find myself in the strange situation where XSP is something in between
> JSP and E-XSLT....
> . . .
> That's how I feel XSP right now: a little squeezed between two big guys
> :)
Hmmm, unfortunately I've been so _incredibly_ busy these
days I haven't had the time it takes to write a well th... | http://mail-archives.apache.org/mod_mbox/cocoon-dev/200001.mbox/%3CNDBBJIOLGLAOBAAGJJIMOEDLCOAA.ricardo@apache.org%3E | CC-MAIN-2016-30 | refinedweb | 393 | 54.63 |
In this article I would like to show how JavaScript charting libraries can be hooked up to server-side Java code. Many Java developers don't like dealing with JS. I know I was one of them. But now I've seen the light and undergone somewhat of a conversion.
Over the years JavaScript hasn't gone away and has only become ... | http://java.dzone.com/articles/javascript-charts-java | CC-MAIN-2014-49 | refinedweb | 860 | 66.88 |
Microsoft To Banish Memcpy() 486
kyriacos notes that Microsoft will be adding memcpy() to its list of function calls banned under its secure development lifecycle. This reader asks, "I was wondering how advanced C/C++ programmers view this move. Do you find this having a negative impact on the flexibility of the langua... | http://tech.slashdot.org/story/09/05/15/152213/microsoft-to-banish-memcpy | CC-MAIN-2013-20 | refinedweb | 8,150 | 60.85 |
I've never built any browser extension, much less one for the Devtools.
Out of curiosity I started looking around and I've found the Google Chrome DevTools Extensions docs that served as an introduction of the different parts involved, but it wasn't enough to get on my feet and start developing my own.
The problem was ... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/voluntadpear/how-a-devtools-extension-is-made-1em7 | CC-MAIN-2021-21 | refinedweb | 4,527 | 51.65 |
4. More Control Flow Tools¶
Besides the
while statement just introduced, Python uses the usual
flow control statements known from other languages, with some twists.
4.1.’ is short for ‘else if’, and is useful
to avoid excessive indentation. An
if …
elif …
elif … sequence is a substitute for the
switch or
case statement... | https://docs.python.org/3.11/tutorial/controlflow.html | CC-MAIN-2022-05 | refinedweb | 2,342 | 57.4 |
We have a new docs home, for this page visit our new documentation site!
You can use td-pyspark to bridge the results of data manipulations in Google Colab with your data in Arm Treasure Data.
Google Colab notebooks make it easy to model with PySpark in Google. PySpark is a Python API for Spark. Treasure Data's td-pysp... | https://support.treasuredata.com/hc/en-us/articles/360034951753-TD-Python-Spark-Driver-with-Google-Colab | CC-MAIN-2020-29 | refinedweb | 701 | 59.4 |
python equivalent to perl's qw()
I do this a lot in Perl:
printf "%8s %8s %8s\n", qw(date price ret);
However, the best I can come up with in Python is
print '%8s %8s %8s' % (tuple("date price ret".split()))
I'm just wondering if there is a more elegant way of doing it? I'm fine if you tell me that's it and no improvem... | http://www.brokencontrollers.com/faq/3534714.shtml | CC-MAIN-2019-51 | refinedweb | 381 | 72.66 |
Hello,
I'm Having some problems when using Facebook components for iOS.
I use Facebook SDK (by The Outercurve Foundation) in Forms for some cross platform Facebook activities.
To get the access token from Facebook I was using Xamarin.Auth.
However It does not provide a good native facebook experience for login and afte... | https://forums.xamarin.com/discussion/comment/299706/ | CC-MAIN-2019-47 | refinedweb | 783 | 74.39 |
/** * Tests the Java serialization of an arbitrary object model * @author CostinCozianu */ public class SerializationTest? extends TestCase implements Serializable { Object[] allObjects; static int childCount = 10000; static int linkCount = 1000; public static void main(String[] args) { try { if (args.length > 0) { if ... | http://c2.com/cgi/wiki?JavaSerializationAndTheStack | CC-MAIN-2014-35 | refinedweb | 1,110 | 50.94 |
NETWORK PROGRAMS ARE a natural application for threads. Threads were discussed in Section 7.6 in the context of GUI programming. (If you have not already read that section, it would be a good idea to do it now.) As we saw in that section, a thread could be used in a GUI program to perform a long computation in parallel... | http://www.roseindia.net/javajdktutorials/c10/s5.shtml | CC-MAIN-2013-48 | refinedweb | 3,220 | 65.42 |
Windows Controls: The Group Box
Introduction to:
using System;
using System.Drawing;
using System.Windows.Forms;
public class Exercise : System.Windows.Forms.Form
{
GroupBox grpHolder;
public Exercise()
{
InitializeComponent();
}
private void InitializeComponent()
{
grpHolder = new GroupBox();
grpHolder.Left = 22;
grpH... | http://functionx.com/vcsharp/controls/groupbox.htm | CC-MAIN-2018-34 | refinedweb | 671 | 58.18 |
gridbaylayout constraints
Leo Max
Ranch Hand
Joined: Sep 27, 2009
Posts: 36
posted
Jun 16, 2011 00:13:19
0
Hello. i don't understand the explanations of the constraints weightxy, ipadxy, anchor and fill.
Gridbaylayout example
is the site i'm learning from. There wasn't much luck in google. There were some explanations... | http://www.coderanch.com/t/541947/java/java/gridbaylayout-constraints | CC-MAIN-2015-27 | refinedweb | 581 | 63.36 |
This article is the next step in Catharsis documented tutorial. Catharsis is a web-application framework gathering best-practices, using ASP.NET MVC (preview 5), NHibernate 2.0. All needed source code you can find here.
At this chapter we'll uncover the data project which is the only-responsible layer for persisting. T... | http://www.codeproject.com/KB/applications/Catharsis_part8.aspx | crawl-002 | refinedweb | 1,713 | 58.48 |
Created on 2016-08-14 00:16 by benjamin.peterson, last changed 2016-08-14 09:43 by tehybel. This issue is now closed.
Thomas E Hybel on PSRT reports:
This vulnerability is an integer overflow leading to a heap buffer overflow. I
have attached a proof-of-concept script below.
The vulnerability resides in the Modules/_cs... | https://bugs.python.org/issue27758 | CC-MAIN-2020-34 | refinedweb | 570 | 51.44 |
custom resource._STRING_BLACKLIST: Specify a string array with the names of query string parameters to exclude from cache keys. All other parameters are included. You can specify
queryStringBlacklistor
queryStringWhitelist, but not both.
QUERY_STRING_WHIT: us-docker.pkg.dev/google-samples/containers/gke ingress my-ing... | https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features?hl=fa | CC-MAIN-2021-43 | refinedweb | 327 | 50.84 |
I have an app that targets .net 3.5 but since 3.5 is backwards compatible with earlier versions of the .net framework users can still run my app but with some problems. The errors dont cause it to crash, but an error report is generated and if the user clicks continue the app appears to continue without problems but do... | http://cboard.cprogramming.com/csharp-programming/115998-get-net-framework-version.html | CC-MAIN-2014-35 | refinedweb | 257 | 68.87 |
#include <pcap/pcap.h> int pcap_stats(pcap_t *p, struct pcap_stat *ps);
pcap_stats() is supported only on live captures, not on ``savefiles''; no statistics are stored in ``savefiles'', so no statistics are available when reading from a ``savefile''.
A struct pcap_stat has the following members:
The statistics do not b... | https://www.tcpdump.org/manpages/pcap_stats.3pcap.html | CC-MAIN-2019-04 | refinedweb | 216 | 62.01 |
Animating the Lorenz System in 3D
One of the things I really enjoy about Python is how easy it makes it to solve interesting problems and visualize those solutions in a compelling way. I've done several posts on creating animations using matplotlib's relatively new animation toolkit: (some examples are a chaotic double... | http://jakevdp.github.io/blog/2013/02/16/animating-the-lorentz-system-in-3d/ | CC-MAIN-2018-39 | refinedweb | 798 | 52.49 |
gcc.)
* -mtune=generic should probably favour movd/movq. I think it's better for a weighted-average of CPUs we care about for -mtune=generic. Most of the text below is an attempt to back up this claim, but I don't have hardware to test with so all I can do is look at Agner Fog's tables and microarch pdf.
movd is about ... | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80820 | CC-MAIN-2020-16 | refinedweb | 1,683 | 69.62 |
.
One of the easiest ways to drive a mouse or keyboard is via the USB HID interface. Many of the Arduino boards (such as Arduino Leonardo, Arduino Micro or Arduino Due) can be conveniently turned into an HID device. For my implementation, I used an Arduino Due, and Arduino mouse and keyboard library is used to drive th... | http://www.kerrywong.com/2015/01/18/turn-your-android-phone-into-a-wireless-touchpad/comment-page-1/ | CC-MAIN-2020-29 | refinedweb | 475 | 71.44 |
- In Visual Studio .NET, create a class library solution and project.
- Add Reference from the Project menu or Solution Explorer, browse to the \inc or \incx64 directory of the ObjectARX SDK and select acdbmgd.dll and acmgd.dll.
- Create a new class or rename the auto-created class
- In the main class file, add the nam... | https://xinyustudio.wordpress.com/2010/01/24/developing-autocad-addinplugin-using-c/ | CC-MAIN-2017-13 | refinedweb | 382 | 52.36 |
Test.LeanCheck.Function.ShowFunction
Contents
Description
This module exports the
ShowFunction typeclass,
its instances and related functions.
Using this module, it is possible to implement a Show instance for functions:
import Test.LeanCheck.ShowFunction instance (Show a, Listable a, ShowFunction b) => Show (a->b) whe... | http://hackage.haskell.org/package/leancheck-0.6.1/docs/Test-LeanCheck-Function-ShowFunction.html | CC-MAIN-2019-26 | refinedweb | 497 | 52.49 |
Utility handle class for handling the reference counting and managuement of the RCPNode object. More...
#include <RTOpPack_SPMD_apply_op_def.hpp>
Utility handle class for handling the reference counting and managuement of the RCPNode object.
Again, this is *not* a user-level class. Instead, this class is used by all of... | http://trilinos.sandia.gov/packages/docs/r10.8/packages/rtop/src/support/doc/html/classRTOpPack_1_1Teuchos_1_1RCPNodeHandle.html | CC-MAIN-2014-15 | refinedweb | 143 | 59.09 |
Simple Temp/Light/Time setup with LCD 1.4 (no beta anymore)
Have a simple setup with a standard hitachi 16x2 display showing temperature, light level and current server time and connection status. Not done yet because i want it to show current scene for the location where this setup is add. But scenes are not supported... | https://forum.mysensors.org/topic/284/simple-temp-light-time-setup-with-lcd-1-4-no-beta-anymore | CC-MAIN-2022-21 | refinedweb | 1,572 | 64 |
Behaviours Activities
Create a Simple Behaviour
For this activity, you use the built-in menu options to change the behaviour of a field, restricting an action that you choose to a specific role. In our example, we build a behaviour that restricts a custom field called Customer Type to only project administrators. You c... | https://scriptrunner.adaptavist.com/6.3.0/jira/tutorials/labs/behaviours-activity.html | CC-MAIN-2020-50 | refinedweb | 756 | 64.61 |
Let's say that I want create a specialized wpf control, "YellowTextBox". It will be the same of a common TextBox, but it will be... yellow!. Ok, I go to code:
public class YellowTextBox: TextBox
{
}
this.Background = Brushes.Yellow;
You really ought to initialize a specialized WPF control in the initializers for the de... | https://codedump.io/share/K5AQC6pu6hPk/1/where-initialize-a-specialized-wpf-control | CC-MAIN-2018-09 | refinedweb | 610 | 59.03 |
BTW, the following change is also required to make the cursor position correctly on ttys (the #ifdef will be replaced with a run-time test in the final code): diff -u src/dispnew.c.\~3\~ src/dispnew.c --- src/dispnew.c.~3~ Wed Nov 1 08:01:19 2000 +++ src/dispnew.c Thu Nov 16 00:54:23 2000 @@ -4795,13 +4795,18 @@ /* Now... | http://lists.gnu.org/archive/html/emacs-devel/2000-11/msg00210.html | CC-MAIN-2014-10 | refinedweb | 142 | 62.58 |
The HP Printer Display Hack (with financial goodness)
In early January, we were tasked with creating a unique, interactive experience for the SXSW Interactive launch party with Frog Design. We bounced around many ideas, and finally settled on a project that Rick suggested during our first meeting: boxing robots control... | https://channel9.msdn.com/coding4fun/articles/Boxing-Bots-An-Overview | CC-MAIN-2021-21 | refinedweb | 3,233 | 51.99 |
Given an octal number as input. Now, write a Kotlin program to convert Octal number to Decimal Number.
Input: 20 Output: 16
Input: 324 Output: 212
Input: 1000 Output: 512
1. Program to Convert Octal to Decimal
Pseudo Algorithm
- Initialise a variable decimalNum, that stores equivalent decimal value, with 0
- Extract ea... | https://tutorialwing.com/kotlin-program-to-convert-octal-number-to-decimal/ | CC-MAIN-2022-21 | refinedweb | 371 | 55.34 |
Created on 2018-03-22 09:21 by Jonathan Huot, last changed 2018-03-24 04:25 by ncoghlan. This issue is now closed.
Executing python modules with -m can lead to weird sys.argv parsing.
"Argument parsing" section at mention :
- When -m module is used, sys.argv[0] is set to the full name of the located module.
The word "l... | https://bugs.python.org/issue33119 | CC-MAIN-2019-26 | refinedweb | 555 | 69.79 |
In C++, the programmer abstracts real world objects using classes as concrete types. Sometimes it is required to convert one concrete type to another concrete type or primitive type implicitly. Conversion operators play smart role in such situations.
For example consider the following class
#include <iostream> #include... | http://www.geeksforgeeks.org/advanced-c-conversion-operators/ | CC-MAIN-2016-18 | refinedweb | 235 | 55.24 |
First thing, rcov
compare controller size, model size, look for largest files
then wc -l on app/models
Biggest files are most important and/or biggest messes
Observer functionality with any kind of external resource go in sweepers often
observe ActiveRecord::Base
uber-sweeper
weird
not necessarily bad, certainly unusua... | http://gilesbowkett.blogspot.com/2007/08/rails-edge-notes-chad-fowler-marcel.html?showComment=1188159540000 | CC-MAIN-2017-34 | refinedweb | 329 | 60.14 |
Today we have a guest article by Ravikanth who works at Dell, Inc., as a lead engineer in the SharePoint Solutions Team. He loves automation and is a Windows PowerShell fanatic. He writes regularly on his blog about topics related to Windows PowerShell, SharePoint, and Microsoft server virtualization. He is also modera... | http://blogs.technet.com/b/heyscriptingguy/archive/2010/06/15/hey-scripting-guy-how-can-i-use-the-windows-forms-treeview-control.aspx | CC-MAIN-2014-23 | refinedweb | 1,244 | 57.77 |
General Question How would one create a direct input / output stream to and from an instance of command prompt (cmd.exe) using some form of a C# application, whether it be WinForms, WPF, or UWP. Effectively using CMD as if it were just a compiled library What I Actually Need I need to be able ..
Category : windows
My .... | https://windowsquestions.com/category/windows/page/2/ | CC-MAIN-2021-21 | refinedweb | 412 | 65.62 |
Differences between current version and predecessor to the previous major change of smb.conf(5).
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
@@ -434,9 +434,9 @@
the architecture of the remote machine. Only some are
recognized, and those may not be 100% reliable. It currently
-rec... | http://wiki.wlug.org.nz/smb.conf(5)?action=diff | CC-MAIN-2015-14 | refinedweb | 1,285 | 62.38 |
This is a guest post by Hartley Brody, whose book “The Ultimate Guide to Web Scraping” goes into much more detail on web scraping best practices. You can follow him on Twitter, it’ll make his day! Thanks for contributing Hartley!
Hacker News is a treasure trove of information on the hacker zeitgeist. There are all sort... | http://blog.databigbang.com/tag/hartley-brody/ | CC-MAIN-2017-13 | refinedweb | 1,175 | 67.99 |
Infopath 2007 provides an out of the box contact selector control to select the user and validate against the Active Directory.
In this blog, We will see, how to get more out of this control. Performing some advanced functions using managed code.
For basic usage of this control, see this blog entry on infopath blog:
To... | https://blogs.msdn.microsoft.com/mahuja/2008/04/01/performing-operations-on-infopath-2007-contact-selector-control-using-managed-code/ | CC-MAIN-2017-22 | refinedweb | 1,071 | 61.53 |
I have an array like this:
A = array([1,2,3,4,5,6,7,8,9,10])
B = array([[1,2,3],
[2,3,4],
[3,4,5],
[4,5,6]])
width = 3 # fixed arbitrary width
length = 10000 # length of A which I wish to use
B = A[0:length + 1]
for i in range (1, length):
B = np.vstack((B, A[i, i + width + 1]))
Actually, there's an even more efficient... | https://codedump.io/share/R77wDeOrAj4m/1/efficient-numpy-2d-array-construction-from-1d-array | CC-MAIN-2017-39 | refinedweb | 855 | 71.55 |
Consider.”).
July 27th, 2006 at 9:24 pm
If you don’t want Python to be strict (in this context) you could have it return a default value for a key if it isn’t found by using the dict’s ‘get’ method.
print “Name is “+name.get(’first’, ”)+” “+name.get(’given’, ”)+”\n”
July 27th, 2006 at 10:11 pm
Thanks for pointing out. ... | http://www.sitepoint.com/blogs/2006/07/27/how-strict-is-your-dynamic-language/ | crawl-002 | refinedweb | 2,252 | 68.4 |
#include <HAPI_Common.h>
Definition at line 754 of file HAPI_Common.h.
Path to the .otl library file.
Definition at line 775 of file HAPI_Common.h.
Full asset name and namespace.
Definition at line 777 of file HAPI_Common.h.
Geometry inputs exposed by the asset. For SOP assets this is the number of geometry inputs on t... | http://www.sidefx.com/docs/hengine/struct_h_a_p_i___asset_info.html | CC-MAIN-2018-30 | refinedweb | 291 | 64.47 |
Intersphinx is a very neat way to point at other projects’ documentation from within your own. Handy if you want to reference a Python module or an official Django setting or class.
You have to do some setup work, like enabling the intersphinx extension. Most
of the time, your automatically generated sphinx configurati... | https://reinout.vanrees.org/weblog/2012/12/01/django-intersphinx.html | CC-MAIN-2021-21 | refinedweb | 324 | 66.94 |
How to Turn OFF or Turn ON all bits in C++
As the title of this blog suggests we are going to learn how to Turn OFF/ON all the bits of particular number in C++ using the Bitwise Not Operator.
Turning OFF/ON bits means to take complement of all the bits present in the binary form of the number. As we know that negative ... | https://www.codespeedy.com/how-to-turn-off-or-turn-on-all-bits-in-cpp/ | CC-MAIN-2020-24 | refinedweb | 276 | 64.24 |
transpose of this matrix (Read Only).
The transposed matrix is the one that has the Matrix4x4's columns exchanged with its rows.
using UnityEngine;
public class ExampleScript : MonoBehaviour { // You construct a Matrix4x4 by passing in four Vector4 objects // as being COLUMNS and not ROWS Matrix4x4 matrix = new Matrix... | https://docs.unity3d.com/ScriptReference/Matrix4x4-transpose.html | CC-MAIN-2020-05 | refinedweb | 128 | 68.4 |
Details
Description
stats.
Activity
Also, food for thought, when (hopefully not if) the VelocityResponseWriter is moved into core, we can deprecate stats.jsp and skin the output of this request handler for a similar pleasant view like stats.jsp+client-side xsl does now.
Any thoughts on the naming of this beast?
How abo... | https://issues.apache.org/jira/browse/SOLR-1750?attachmentOrder=desc | CC-MAIN-2015-11 | refinedweb | 1,239 | 54.73 |
Anyone who works with the Java programming language is well aware of Scanner class in Java. And for aspiring Java Developers who don’t know what Scanner class is and how to use Scanner class in Java, this article is the perfect introduction to it.
In this post, we’ll engage in a detailed discussion of Scanner class in ... | https://www.upgrad.com/blog/scanner-class-in-java/ | CC-MAIN-2020-40 | refinedweb | 961 | 61.77 |
A thing that makes a reader go hmmm is;
long x = whatever;.
There is one case where it fails if the result must be an integer, but not if the result is a long.
long x = -1;
x = Integer.MinValue / -1;
Makes sense.
Also, what about -2147483648 / ((long)-1)? If the result type of the expression was an int, the answer woul... | https://blogs.msdn.microsoft.com/ericlippert/2009/01/28/long-division/ | CC-MAIN-2017-09 | refinedweb | 985 | 69.41 |
Using ML.NET in Jupyter notebooks
Cesar
I do believe this is great news for the ML.NET community and .NET in general. You can now run .NET code (C# / F#) in Jupyter notebooks and therefore run ML.NET code in it as well! – Under the covers, this is enabled by ‘dotnet-try’ and its related .NET kernel for Jupyter (as earl... | https://devblogs.microsoft.com/cesardelatorre/using-ml-net-in-jupyter-notebooks/ | CC-MAIN-2019-47 | refinedweb | 1,925 | 67.89 |
Platform-independent types. More...
Platform-independent types.
#include <mi/base/types.h>
The
printf format specifier for mi::Difference.
The
printf format specifier for mi::Sint64.
The
printf format specifier for mi::Size.
The
printf format specifier for mi::Uint64.
Value of Pi.
Value of Pi / 2.
Value of Pi / 4.
Sign... | https://raytracing-docs.nvidia.com/iray/api_reference/math/html/group__mi__base__types.html | CC-MAIN-2019-22 | refinedweb | 271 | 55.3 |
Troubleshooting¶
So something has gone wrong… what do you do?¶
When Qtile is running, it logs error messages (and other messages) to its log
file. This is found at
~/.local/share/qtile/qtile.log. This is the first
place to check to see what is going on. If you are getting unexpected errors
from normal usage or your con... | http://docs.qtile.org/en/latest/manual/troubleshooting.html | CC-MAIN-2021-39 | refinedweb | 275 | 73.88 |
Welcome to this month's installment of "Java In Depth." One of the earliest challenges for Java was whether or not it could stand as a capable "systems" language. The root of the question involved Java's safety features that prevent a Java class from knowing other classes that are running alongside it in the virtual ma... | https://www.javaworld.com/article/2076993/learn-java/take-a-look-inside-java-classes.amp.html | CC-MAIN-2018-22 | refinedweb | 2,895 | 55.34 |
On Tue, 2010-10-26, Carl Banks wrote: > On Oct 25, 11:20 pm, Jorgen Grahn <grahn+n... at snipabacken.se> wrote: >> On Mon, 2010-10-25, bruno.desthuilli... at gmail.com wrote: >> >. >> >> Which mainstream languages are you thinking of? Java? Because C++ is >> as flat as Python. > > Not in my experience. The only way to ... | https://mail.python.org/pipermail/python-list/2010-October/590700.html | CC-MAIN-2014-15 | refinedweb | 237 | 65.32 |
Our engineering team at Aol Europe have been working on a number of exciting new projects over the past few months including a brand new high-performance real-time web framework called SocketStream.We're going to take a first look at how you can start building applications with it today.
The brain-child of software eng... | http://addyosmani.com/blog/building-real-time-coffeescript-web-applications-with-socketstream/ | CC-MAIN-2014-42 | refinedweb | 4,147 | 55.24 |
Asked by:
ForeignKey Annotations Confusing for DerivedTypes
I know that often EF Code First needs some help (I.e. annotations) to properly handle mapping associations to DB relationships.
In my case I have a model of (BONDS) and their interest payments (COUPONS). In my case, BOND is an abstract base class which I furth... | https://social.msdn.microsoft.com/Forums/en-US/89207ccc-5dbb-4727-931f-8c0c885ba086/foreignkey-annotations-confusing-for-derivedtypes | CC-MAIN-2017-43 | refinedweb | 618 | 52.43 |
IsoHunt.Search
Contents
Description.
Synopsis
- search :: Query -> IO Response
- data Query = Query {
- simpleQuery :: String -> Query
- data Sort
- data Order
- = Descending
- | Ascending
- data Response
- data Item
- data Image
- data MalformedJSON = MalformedJSON !ByteString
- data MalformedResponse = MalformedRespo... | http://hackage.haskell.org/package/isohunt-0.1.3/docs/IsoHunt-Search.html | CC-MAIN-2014-52 | refinedweb | 124 | 50.53 |
Let me make this clear first:
this has almost nothing to do with transformation matrixes, except that they follow similar patters, and thus, can be interchanged.
Alright! onto the good part:
I wanted to make some way to do matrix math in AS3, so i built a simple class for it, and thought i might as well share. it suppo... | https://www.kirupa.com/forum/showthread.php?371674-AS3-Matrix-class-matrix-math&p=2636970 | CC-MAIN-2016-36 | refinedweb | 253 | 69.35 |
Xcode on steroids
Xcode projects at any scale
A user-friendly language
Project.swift
Make maintaining projects everyone's task by describing them using a plain language. And... no more Git conflicts!
import ProjectDescriptionimport ProjectDescriptionHelperslet project = Project.featureFramework(name: "Home",dependencie... | https://tuist.io/ | CC-MAIN-2020-29 | refinedweb | 339 | 57.98 |
See
Which is fine unless you have an old computer with old applications that still works. For example, a 2002-vintage iMac G4 still works. Slowly.
When someone jumps 11 years to a new iMac, they find that their 2002 iMac with 2007 apps has files which are essentially unreadable by modern applications.
How can someone j... | http://slott-softwarearchitect.blogspot.com/2013/07/almost-good-idea.html | CC-MAIN-2018-51 | refinedweb | 803 | 71.51 |
Red Hat Bugzilla – Bug 207134
codec lookup fails due to unsafe case conversion
Last modified: 2007-11-30 17:11:43 EST
Description of problem:
Python/codecs.c uses uses tolower() for case normalization in codec lookup. This
doesn't work in turkish locale when normalizing encoding name "ISO-8859-9".
Version-Release numbe... | https://bugzilla.redhat.com/show_bug.cgi?id=207134 | CC-MAIN-2016-30 | refinedweb | 759 | 66.74 |
Introduction to Xmap debugging
This page is the result of a paragraph write by AndreasHartmann and a discussion on the Lenya ML (subject : [Debugging] see the stream anywhere in a sitemap).
With Lenya/Cocoon XMAP, debugging a complex process with multiple pipelines in multiple XMAPs can be a challenge.
But... Don't wor... | http://wiki.apache.org/lenya/DebuggingTips | crawl-002 | refinedweb | 430 | 54.93 |
Ruby Module
Module in Ruby is used to group resources together and avoid namespace collisions.
We can store Ruby resources like classes, functions, data etc in a module.
Using Modules, we resolve naming issues. Example, a Bank module can contain Model class for Bank. an Employee package can contain Model class for Empl... | https://www.cosmiclearn.com/ruby/packages.php | CC-MAIN-2019-51 | refinedweb | 433 | 57.98 |
I've noticed that some kind of chained class loader would fix the issue and
I already have such mechanism in place - I set it as a thread context class
loader (TCCL). The problem here is OpenEjb sets its internal UrlClassLoader
as TCCL for some reason so multiloader also won't work in this case.
Is there a way to stop ... | http://mail-archives.us.apache.org/mod_mbox/tomee-users/201202.mbox/%3CCAGE-agEcXS=tLQ8PKJXRn4tb+OyXSctga_mxdZWiN+ttWJ1-kA@mail.gmail.com%3E | CC-MAIN-2019-30 | refinedweb | 645 | 55.54 |
...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The header file 'boost/algorithm/cxx11/all_of.hpp' contains four variants
of a single algorithm,
all_of.
The algorithm tests all the elements of a sequence and returns ... | http://www.boost.org/doc/libs/1_64_0/libs/algorithm/doc/html/algorithm/CXX11.html | CC-MAIN-2017-43 | refinedweb | 483 | 55.34 |
Using Base Controllers In AngularJS - An Experiment
Yesterday, in a conversation that I was having with Chris Schetter, I was rehashing how my JavaScript style has changed somewhat since I've started using AngularJS. Specifically, I've started using the Revealing Module Pattern a lot more than I ever have before. While... | http://www.bennadel.com/blog/2521-using-base-controllers-in-angularjs---an-experiment.htm | CC-MAIN-2015-48 | refinedweb | 2,503 | 53.81 |
Search:
Forum
Beginners
Where To Learn?
Where To Learn?
Nov 19, 2012 at 1:48am UTC
JoshuaJ
(7)
Hey everyone, no doubt this has been asked before, but I want to ask it again, this time including some things.
So, I need to know what the best way to learn C++ for free is, I cannot afford to pay for a book, so that is why ... | http://www.cplusplus.com/forum/beginner/85363/ | CC-MAIN-2015-27 | refinedweb | 1,752 | 78.38 |
As my journey continues in learning about working with other developers, I ran into the com. prefix question. A lot of Java people I had asked about why do they do that prefixing of com to their class paths replied, “Because it’s industry common practice.” Hogwash… OOP is industry practice, right? Bleh.
People who say ... | https://jessewarden.com/2005/03/putting-the-com-dot-in-combusiness.html | CC-MAIN-2021-04 | refinedweb | 705 | 68.81 |
From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2006-09-29 02:20:11
Rene Rivera wrote:
> Boost Inspection Report
> Run Date: 16:03:07 UTC, Thursday 28 September 2006
>
> An inspection program <>
> checks each file in the current Boost CVS for various problems,
> generating this as output. Problems detected incl... | https://lists.boost.org/Archives/boost/2006/09/110878.php | CC-MAIN-2021-25 | refinedweb | 109 | 69.38 |
On Wed, Apr 16, 2014 at 07:29:29PM +0200, Andreas Gruenbacher wrote:
> > Btw, I think the man page is wrong - given that the tmpfile is not
> > visible in the namespace it is obviously not created in the directory.
> > The directory passed in is just a handle for the filesystem it should be
> > created in.
>
> I don't ... | http://oss.sgi.com/archives/xfs/2014-04/msg00569.html | CC-MAIN-2017-43 | refinedweb | 188 | 61.26 |
I have stayed with VC (through managed C++ and now C++/CLI) and stayed away from C#. Initially, because I did not want to learn a new language. BUT! the learning curve to C# could not have been more than what I went through to Mangaged C and then onto C++/CLI.
I am currently porting a complex C# control to C++. Hence, ... | http://forums.codeguru.com/showthread.php?391421-RESOLVED-Why-stay-with-C-and-not-move-to-C&p=1412317 | CC-MAIN-2015-18 | refinedweb | 166 | 85.99 |
Hi,
I would like to reload portion of my application without having to refresh it completely.
In order to do this I use a Ajax request to load the code (classes) and evaluate it.
The problem is that the Ext.define doesn't work if you try to "redefine" the same class.
For instance if I load the following class:
This is ... | https://www.sencha.com/forum/showthread.php?152033-Dynamic-reload&p=663570&viewfull=1 | CC-MAIN-2017-04 | refinedweb | 133 | 76.22 |
Analyze videos in near real time
This article demonstrates how to perform near real-time analysis on frames that are taken from a live video stream by using the Computer Vision API. The basic elements of such an analysis are:
- Acquiring frames from a video source.
- Selecting which frames to analyze.
- Submitting thes... | https://docs.microsoft.com/en-us/azure/cognitive-services/computer-vision/vision-api-how-to-topics/howtoanalyzevideo_vision | CC-MAIN-2020-29 | refinedweb | 1,571 | 57.77 |
#include <shaderNode.h>
A specialized version of
NdrNode which holds shading information.
Definition at line 81 of file shaderNode.h.
Constructor.
The list of string input properties whose values provide the names of additional primvars consumed by this node. For example, this may return a token named
varname. This ind... | https://www.sidefx.com/docs/hdk/class_sdr_shader_node.html | CC-MAIN-2021-17 | refinedweb | 643 | 68.47 |
Name | Synopsis | Interface Level | Parameters | Description | Return Values | Context | See Also
#include <sys/ddi.h> #include <sys/sunddi.h> #include <sys/signal.h> void *proc_ref(void)
voidproc_unref(void *pref);
int proc_signal(void *pref, int sig);
Solaris DDI specific (Solaris DDI).
A handle for the process to be... | http://docs.oracle.com/cd/E19253-01/816-5180/6mbbf02lk/index.html | CC-MAIN-2015-18 | refinedweb | 329 | 68.16 |
Talk:Proposed features/direction
Contents
Exact definitions needed
This proposal should try to provide the precise meaning of "direction" for common examples, as people might intuitively interpret this differently (e.g. "facing" vs "travel direction" for signs). If I understand the intention correctly, then the tag mea... | https://wiki.openstreetmap.org/wiki/Talk:Proposed_features/direction | CC-MAIN-2018-26 | refinedweb | 573 | 55.03 |
Recent:
Archives:
Google and its MapReduce framework may rule the roost when it comes to massive-scale data processing, but there's still plenty
of that goodness to go around. This article gets you started with Hadoop, the open source MapReduce implementation for processing
large data sets. Authors Ravi Shankar and Gov... | http://www.javaworld.com/javaworld/jw-09-2008/jw-09-hadoop.html | crawl-002 | refinedweb | 859 | 53.92 |
Projects/KHTML
In-progress bugfixes
- SadEagle:bug #169988 --- focus/blur on all elements, head/body parsing #?????, multiple problems with onchange (bug #170451, many others)
- head/body parsing : bug #170694 ?
Acid3 stuff
See Projects/Acid3
Major targets
- SVG --- vtokarev
- DOM namespace changes --- vtokarev --- don... | https://techbase.kde.org/Projects/KHTML | CC-MAIN-2020-40 | refinedweb | 171 | 53.41 |
Member
1 Points
All-Star
43201 Points
Jun 07, 2019 01:05 PM|mgebhard|LINK
AlenpeteraarksLoading data in view by calling webapi and jquery? Between these two which one is better to load data ?
Unclear.
jQuery runs in the browser. jQuery has an AJAX function that can call a Web API URL then update the current page (DOM) ... | https://forums.asp.net/t/2156381.aspx?Load+data+in+view+ | CC-MAIN-2019-47 | refinedweb | 529 | 56.86 |
By Jonathan Lurie and Timothy Stockstill
Microsoft’s Visual Studio .NET has introduced many new concepts to the Visual Studio developer, including the Microsoft Intermediate Language (MSIL) with runtime compilation, garbage collection, Common Language Runtime (CLR), and, perhaps most misunderstood of all: namespaces an... | http://www.techrepublic.com/article/whats-in-a-namespace/ | CC-MAIN-2017-30 | refinedweb | 1,072 | 55.03 |
.4
** Emacs can be compiled with POSIX ACL support.
This happens by default if a suitable support library is found at
build time, like libacl on GNU/Linux. To prevent this, use the
configure option `--without-acl'.
* Startup Changes in Emacs 24.4
* Changes in Emacs 24.4
+++
** .
+++
** .
** New option `scroll-bar-adjus... | https://emba.gnu.org/emacs/emacs/-/blame/21cd50b803cb63b66f81db0a18dbaac6d7269348/etc/NEWS | CC-MAIN-2021-17 | refinedweb | 1,284 | 59.9 |
Recently, I needed a piece of software where you can input some numbers, validate and process them, and print some result. Since I needed to do scientific computing with it I decided to use Python with NumPy and SciPyand because I needed validation I decided that HMTL input validations would be the easiest to use.
Then... | https://learningactors.com/what-to-do-when-you-need-a-web-app-quickly/ | CC-MAIN-2020-10 | refinedweb | 1,285 | 64.1 |
On Sunday 27 July 2008 14:31, Matthew Dillon wrote: > :When a forward commit block is actually written it contains a sequence > :number and a hash of its transaction in order to know whether the > :... > ). > >. So I do not want users to fixate on that detail. The mount option allows them to choose between "fast but th... | http://leaf.dragonflybsd.org/mailarchive/kernel/2008-07/msg00139.html | CC-MAIN-2014-15 | refinedweb | 3,121 | 67.59 |
A few days ago I blogged about a nasty bug in .NET 1.1 SP1, which made a nested groupbox control show up with garbled caption text (see here and here).
It took some hoops but Microsoft has fixed this now. It's a fix that's available through PSS, and has KB number article number 890828. The fix is still under review so ... | http://weblogs.asp.net/fbouma/archive/2005/01.aspx | crawl-001 | refinedweb | 1,169 | 60.41 |
This documentation is archived and is not being maintained.
list::back
Visual Studio 2005
Returns a reference to the last element of a list.
If the return value of back is assigned to a const_reference, the list object cannot be modified. If the return value of back is assigned to a reference, the list object can be mo... | https://msdn.microsoft.com/en-US/library/y4d8h412(v=vs.80).aspx | CC-MAIN-2016-44 | refinedweb | 153 | 66.74 |
Hey all,
Im pretty new to c++ and alot of the constructs I am using in this program - strings, functions, pointers, arrays, structures etc.
The main below is fleshed out and is compiling correctly. I am having difficulty passing around values and getting my three functions in this program to work properly. I have the a... | https://cboard.cprogramming.com/cplusplus-programming/117639-trying-get-few-functions-work-properly.html | CC-MAIN-2017-43 | refinedweb | 543 | 62.88 |
Here we provide an overview of the MongoDB database. In subsequent posts we will give more in depth examples of how to use MongoDB.
First, MongoDB is a noSQL big data database. It fits the definition of big data, because it scales (i.e., can be made larger) simply by adding more servers to a distributed system. And it ... | http://www.bmc.com/blogs/mongodb-overview-getting-started-with-mongodb/ | CC-MAIN-2019-09 | refinedweb | 887 | 66.54 |
[
]
Henry Saputra commented on GORA-32:
-----------------------------------
Sorry for the late response, was having some issue with my env. Will apply this by end of
day today.
> Map type with long values generates non-compilable Java class
> -------------------------------------------------------------
>
> Key: GORA-3... | http://mail-archives.apache.org/mod_mbox/incubator-gora-dev/201106.mbox/%3C945015264.25822.1308685427547.JavaMail.tomcat@hel.zones.apache.org%3E | CC-MAIN-2018-05 | refinedweb | 147 | 59.09 |
Font Awesome is an... awesome (sorry I had to) product. React is a brilliant coding library. It would only make sense to use them together. I've been using Font Awesome for a long time and was stoked when their Kickstarter for the new version went live.
There's a whopping 3,978 icons as of the time of this writing!
Tab... | https://scotch.io/tutorials/using-font-awesome-5-with-react | CC-MAIN-2019-22 | refinedweb | 2,440 | 59.43 |
get short name for QQ, RDF, AA etc
I wonder whether there is a way to get back the short name of the function of the various rings and fields like QQ, RDF, AA, RLF, RR, etc. as a string.
For example
sage: a=QQ sage: str(a) 'Rational Field'
But I am looking for something like:
sage: function_I_want(a) 'QQ'
I guess I cou... | https://ask.sagemath.org/question/36150/get-short-name-for-qq-rdf-aa-etc/?answer=36152 | CC-MAIN-2019-39 | refinedweb | 205 | 68.7 |
Sugar Install
Budget $30-100 USD
I have an account on [url removed, login to view], and they
installed sugar open source on my account for me. I
have looked through sugar and it looks great for a
friend of mine and i who are trying to get a small
business off the ground and live 2 hours apart and
don't meet regularly.
... | https://www.fr.freelancer.com/projects/php/sugar-install/ | CC-MAIN-2018-26 | refinedweb | 382 | 84.2 |
Hi
I am happy to announce the 0.3.1 release of ActiveRBAC Engine. The
biggest improvement on the 0.3 release is that it runs with Rails 1.1
now.
Get your personal copy now from
There is a manual PDF with a tutorial available at
which is also included in the full downloads.):
removed_email_address@domain.invalid
You can... | https://www.ruby-forum.com/t/ann-activerbac-0-3-1-released/58513 | CC-MAIN-2018-47 | refinedweb | 225 | 50.94 |
15. Re: How do you make rich:datascroller do true pagination?kewldude Aug 2, 2007 1:17 AM (in response to rickarcmind)
All right I was able to make it work. I was also able to put a boolean variable that gets tag whenever a new query to the database needs to be done (this is to get the count(*) for the getTotalRowsCoun... | https://developer.jboss.org/message/625250 | CC-MAIN-2021-49 | refinedweb | 1,336 | 66.03 |
I am totally new to any type of programing and I was hesitant in posting this question but I cannot figure out what is wrong with this I am currently reading the C++ primer plus book and I copied this code and it doesn't want to run I have know idea why it doesn't work
the errors I am getting is thisthe errors I am get... | http://cboard.cprogramming.com/cplusplus-programming/97640-could-someone-explain-what-i-did-wrong.html | CC-MAIN-2014-41 | refinedweb | 153 | 60.95 |
At Factorial, we maintain an engineering Handbook where we document aspects such as common abstractions, programming principles and documentation of our architecture.
Among these, there are a set of aphorisms stemming from coding best practices and common pitfalls we have been encountering during the last 4 years build... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/factorial/a-set-of-programming-aphorisms-at-factorial-3j0m | CC-MAIN-2020-34 | refinedweb | 767 | 52.09 |
> > <xsl:template
> > <xsl:param
> > <xsl:param
> > <xsl:param
> > <xsl:param
> >
> > <create source="{$source}" target="graphics/{$id}-header.jpg"
> >
> > <processor name="xslt">
> > <parameter name="stylesheet"
> >
> > </processor>
> > </create>
> > </xsl:template>
>
> whoa! is this part of the XSLT spec or is it Sty... | http://mail-archives.apache.org/mod_mbox/cocoon-dev/200005.mbox/%3C00c001bfc4fd$0bd2d640$e06b8cd4@eddie%3E | CC-MAIN-2015-32 | refinedweb | 204 | 64.81 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.