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 |
|---|---|---|---|---|---|
Benchmarking batch JDBC queries
One of our services recently started to perform multiple inserts and deletes in MySQL database. To the point of a noticeable response time increase. Batching of SQL queries is nothing new, but I decided to wander around this topic a bit in Internet, and stumbled upon something I never he... | https://dkomanov.medium.com/benchmarking-batch-jdbc-queries-a2b5911ada26 | CC-MAIN-2022-27 | refinedweb | 1,082 | 68.97 |
Web Parts Overview
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Web Parts are server-side control... | https://msdn.microsoft.com/en-us/library/office/ms432401(v=office.12) | CC-MAIN-2015-32 | refinedweb | 959 | 57.27 |
Note: The following notes were made during the Workshop or produced from recordings after the Workshop was over. They may contain errors and interested parties should study the video recordings to confirm details.
Scribe: Dominic Jones
Jose: best practices for MLOD given at last workshop. One pattern is a solution to a... | http://www.w3.org/International/multilingualweb/rome/IRC/13-mlwrome-irc.html | CC-MAIN-2019-22 | refinedweb | 4,317 | 60.21 |
Transformations are an idea as old as human thought. Primitive societies had werewolves, werebears, and weretigers. The Greeks had warnings against seeing goddesses bathe, unless one was interested in going to parties stag, literally. During the renaissance, there was Shakespeare's A Midsummer's Night Dream, in which B... | http://www.yaldex.com/ajax_tutorial_2/ch11lev1sec1.html | CC-MAIN-2017-17 | refinedweb | 2,225 | 53.92 |
Writing a git-annex plugin for ranger
I use git-annex to distribute and synchronize fairly large and mostly static files across different machines. However, being based on Git makes it pretty uncomfortable to use from the command line. So, why not integrating it into our favorite command line file manager, ranger? Beca... | https://bloerg.net/posts/writing-a-git-annex-plugin-for-ranger/ | CC-MAIN-2021-25 | refinedweb | 509 | 58.89 |
Step 3: Installing flaskr as a Package¶
Flask is now shipped with built-in support for Click. Click provides
Flask with enhanced and extensible command line utilities. Later in this
tutorial you will see exactly how to extend the
flask command line
interface (CLI).
A useful pattern to manage a Flask application is to i... | http://flask.readthedocs.io/en/latest/tutorial/packaging/ | CC-MAIN-2017-39 | refinedweb | 474 | 58.58 |
Up till now, in this tutorial series, we were working in C# windows. In our last post we talked of Collection of Objects. From this tutorial on, we will spend more and more time in XAML window rather than C# window. Till now we have just seen XAML windows but haven’t actually interacted with apart from dragging and dro... | http://www.thewindowsclub.com/understanding-xaml-windows-phone-turorial-part-15 | CC-MAIN-2013-48 | refinedweb | 385 | 64.81 |
Talend Data Mapper provides you with the possibility to export your Structures as CSV files, Java classes or Avro files, to enable you to work with the exported files in external tools.
The procedure for all three types of output file is more or less the same. Any particularlities based on the type of structure are spe... | https://help.talend.com/reader/YTUJp4~lScETGDBqSSOt5g/XQ89dX5mUG9oJaF5qE0Uew | CC-MAIN-2020-34 | refinedweb | 213 | 56.18 |
Up until a few years ago, most people didn’t put much thought into „CSS architecture“ (I’m quite sure it wasn’t even a thing). Around the year 2009 some sophisticated fronted folks (most notably Nicole Sullivan) started talking about concepts like OOCSS.
/* Typical CSS code, ca. 2010 */ .selector ul > li #imAnID { back... | https://markus.oberlehner.net/blog/building-avalanche-v4/ | CC-MAIN-2019-22 | refinedweb | 1,104 | 65.32 |
.NET Source Code Integration
With the recent open sourcing of parts of .NET, we want to bring the best pieces of .NET to Mono, and contribute the cross platform components of Mono to the .NET efforts.
This document describes the strategies that we will employ.
We are tracking the most recent development at GitHub task.... | https://www.mono-project.com/docs/about-mono/dotnet-integration/ | CC-MAIN-2020-50 | refinedweb | 1,916 | 64.71 |
Tweet Published Apr 26, 2011 | The Sencha Dev Team | Guide | Medium Last Updated Jul 11, 2011 This Guide is most relevant to Ext JS, 4.x. Guide guides/grid/README.js is not currently available Share this post: Leave a reply
6 Comments
Olivier Pons3 years ago
That’s a very nice tutorial, but is there any way to handle k... | http://www.sencha.com/learn/the-grid-component/?_escaped_fragment_=/guide/grid-section-paging | CC-MAIN-2014-15 | refinedweb | 369 | 74.79 |
While software testing is generally performed by the professional software tester, unit testing is often performed by the software developers working on the project, at that point of time. Unit testing ensures that the specific function is working perfectly. It also reduces software development risks, cost and time. Un... | http://opensourceforu.com/2015/08/unit-testing-in-java-using-the-junit-framework/ | CC-MAIN-2017-47 | refinedweb | 1,190 | 55.84 |
Many of the .NET docs use the phrase “TypeDef or TypeRef”. What’s the difference?
Both refer to metadata tokens. Each token has a scope for resolving the token, which basically corresponds to a module (a .dll or .exe). IMetaDataImport is the interface for reading metadata from a module.
A TypeDef refers to a type defin... | https://blogs.msdn.microsoft.com/jmstall/2007/03/23/typedef-vs-typeref/ | CC-MAIN-2016-36 | refinedweb | 709 | 60.41 |
UPDATE: The next public class will be the week of September 8th in Oslo, Norway.
UPDATE 2: AngularJS: Get Started is now available to Pluralsight subscribers. This course is a small but focused subset of the full class.
At the end of last year I put together and taught a 2 day workshop on AngularJS fundamentals at NDC ... | http://odetocode.com/blogs/scott/archive/2014/01/21/angularjs-training.aspx | CC-MAIN-2015-06 | refinedweb | 164 | 61.67 |
CodePlexProject Hosting for Open Source Software
I have code to create the contentPart for a contenttype but how is a field created and set? eg. I have an imageField that I have added to a contentpart, I need to upload the image and set it's properties when the feature is enabled. The imagefield will be
with the belts.... | http://orchard.codeplex.com/discussions/247620 | CC-MAIN-2017-22 | refinedweb | 1,336 | 70.84 |
Building QT5 with OpenGL global namespace errors
I'm trying to build the latest QT5 with OpenGL support from source. I've followed the instructions here:
I've configured with configure -c++11 -developer-build -opensource -opengl desktop -nomake examples -nomake tests
and running nmake from the VS2012 x86 Native Tools C... | https://forum.qt.io/topic/24548/building-qt5-with-opengl-global-namespace-errors | CC-MAIN-2017-47 | refinedweb | 261 | 59.7 |
Introduction: Fake Dynamic Price Tag.)
Needed Material
Here's what we used to build this project:
- An Arduino Uno R3
- A standard 16x2 LCD display. We used this one from Adafruit, but as long as it's compatible with the LiquidCrystal library, you should be good. You'll need a few things to wire it up to the Arduino:
-... | https://www.instructables.com/id/Fake-Dynamic-Price-Tag/ | CC-MAIN-2018-34 | refinedweb | 2,167 | 70.53 |
Programming.
- Maximilian Gerhardt
@Arun-Kapur Using the UART on the Omega2 should be like using any other Linux UART device. For starters, use the program
screenor
miniterm.py(
opkg install python-pyserial) to use the device
/dev/ttyS1for UART1. For C code, search e.g. "linux C uart" or "linux C serial port" or see .
... | http://community.onion.io/topic/2495/programming-serial-uart-in-c-or-c/2 | CC-MAIN-2018-39 | refinedweb | 499 | 61.12 |
Floating Point Standard Types
In contrast to Integers, Floats are used to represent numerical values that can contain decimals or fractional parts. This makes floats more versatile, but comes with drawbacks such as slower performance than integers and less well-defined precision.
Elements provides two different floatin... | https://docs.elementscompiler.com/API/StandardTypes/Floats/ | CC-MAIN-2019-22 | refinedweb | 186 | 54.73 |
20 January 2012 08:48 [Source: ICIS news]
(adds updates from paragraph 8 onwards)
SINGAPORE (ICIS)--?xml:namespace>
The plant will be operated by ABT, which is a fully owned subsidiary of Vinythai, the source added.
Production at the new plant will undergo various quality control checks and a series of approval process... | http://www.icis.com/Articles/2012/01/20/9525548/vinythais-new-ech-unit-to-tighten-glycerine-stock-up-prices.html | CC-MAIN-2015-14 | refinedweb | 298 | 57.4 |
import "acln.ro/ioctl"
Package ioctl provides facilities to define ioctl numbers and perform ioctls
against file descriptors.
See the documentation at.
For the time being, pacakge ioctl is only tested and used on amd64, and
arm (thanks to @tv42), but it should work on other architectures too,
based on my (admittedly ra... | https://search.gocenter.io/acln.ro/ioctl | CC-MAIN-2021-04 | refinedweb | 130 | 65.93 |
Backport #9168closed
Segfault with Sync_m, Queue, and garbage collection
Description
=begin
I am able to reliably generate a segmentation fault when using Sync_m & Queue together. The issue appears garbage collection related as well, as if I (({GC.disable})) the issue goes away.
This is the bottom of the output generat... | https://bugs.ruby-lang.org/issues/9168 | CC-MAIN-2022-27 | refinedweb | 1,037 | 54.49 |
Ready to rock:
Same here:
Ready to"}
12 minutes and counting...
Less than ONE minute!!!
What do we think of them? Easy? Tough? Confusing?
I think it's going to be a little more tough than I anticipated. None of the rules have anything to do with my original ideas for a quick game. For example, I don't know anything abo... | https://www.allegro.cc/forums/print-thread/616257 | CC-MAIN-2018-05 | refinedweb | 950 | 78.55 |
<!-- Add the rest of your HTML here -->
This article explains how to use my self-written CShellContextMenu class which makes it possible to use the shell contextmenu in your own application (the one that shows if you right-click on an object in the Windows Explorer).
CShellContextMenu
I have a lot of projects in which ... | http://www.codeproject.com/Articles/4025/Use-Shell-ContextMenu-in-your-applications?msg=1259462 | CC-MAIN-2015-22 | refinedweb | 2,373 | 54.02 |
Build a Chat App with Firebase and React Native | Jscrambler Blog
In this tutorial, you are going to build a chat application using React Native, Expo, and Firebase as the backend service. The application will contain a simple login system using an email address for each specific user. The user will be allowed to uploa... | http://brianyang.com/build-a-chat-app-with-firebase-and-react-native-jscrambler-blog/ | CC-MAIN-2019-39 | refinedweb | 1,733 | 51.04 |
This site uses strictly necessary cookies. More Information
So i am trying to directly cast a instantiated object as my custom component ClickableTile.
TileType tt = tileTypes[tiles[x, y]];
var tile = Instantiate(tt.tileVisualPrefab, new Vector3(x, y, 0), Quaternion.identity) as ClickableTile;
Debug.Log(tile);
This ret... | https://answers.unity.com/questions/1190274/why-isnt-this-instantiation-cast-working.html | CC-MAIN-2021-25 | refinedweb | 330 | 51.14 |
In which the author attempts to write foreign-language bindings for some commonly available Unix functions
In which the author attempts to write foreign-language bindings for some commonly available Unix functions.
That is an excerpt from the GNU Manifesto. I assume that it was written around 1985 - I came to the free ... | http://www.advogato.org/article/39.html | CC-MAIN-2015-40 | refinedweb | 1,920 | 61.26 |
I’ve ben using Fabric to concurrently start multiple processes on several machines. These processes have to run at the same time (since they are experimental processes and are interacting with each other) and shut down at more or less the same time so that I can collect results and immediately execute the next sample i... | https://bbengfort.github.io/2017/06/concurrent-subprocesses-fabric/ | CC-MAIN-2021-17 | refinedweb | 1,268 | 56.25 |
Documentation, Unity scripting languages and you of scripts created in the three languages break down like this:
This means that, as so few people use Boo, and the resources required to support it in the docs are not negligible, we’ve decided to drop support for Boo documentation for the Unity 5.0 release and use our r... | https://blogs.unity3d.com/2014/09/03/documentation-unity-scripting-languages-and-you/ | CC-MAIN-2019-22 | refinedweb | 6,819 | 69.62 |
Please help - JSF newbie question on user authentication
I am working on an online tutorial where in my POJO I am trying to acquire the userID value to display on my webpage. I am working in Eclipse and I put a breakpoint in my bean but I never get there. Here is the code I'm using and any help/direction would be great... | https://www.java.net/node/705085 | CC-MAIN-2015-27 | refinedweb | 217 | 53.1 |
How to: Use the Load Test API
This topic applies to:
Visual Studio Ultimate supports load test plug-ins which can control or enhance a load test. Load test plug-ins are user defined classes which implement the ILoadTestPlugin interface found in the Microsoft.VisualStudio.TestTools.LoadTesting namespace. Load test plug-... | https://msdn.microsoft.com/en-us/library/ms182605(v=vs.100).aspx | CC-MAIN-2015-22 | refinedweb | 316 | 57.27 |
If you have ever worked on an Object Detection, Instance Segmentation, or Semantic Segmentation tasks, you might have heard of the popular mean Average Precision (mAP) Machine Learning (ML) metric. On this page, we will:
Сover the logic behind the metric;
Find out how to interpret the metric’s value;
Present a simple m... | https://hasty.ai/docs/mp-wiki/metrics/map-mean-average-precision | CC-MAIN-2022-40 | refinedweb | 1,273 | 56.15 |
derelict-cuda 3.1.1
A dynamic binding to the CUDA API.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
DerelictCUDA
A dynamic binding to [CUDA][1] for the D Programming Language.
Only the Driver and Runti... | https://code.dlang.org/packages/derelict-cuda | CC-MAIN-2022-05 | refinedweb | 182 | 50.43 |
Parsing with derivatives may be viewed as a form of breadth-first recursive descent. Breadth-first search is orthogonal to depth-first search, and two lines which are orthogonal in two-dimensional Euclidean space may also be said to be perpendicular. Thus, an appropriate name for this library might be "parsper", as a s... | https://index.scala-lang.org/djspiewak/parseback/parseback-cats/0.3.0-7aba028?target=_2.12 | CC-MAIN-2021-39 | refinedweb | 5,218 | 51.99 |
Here's a bit of eye-candy I whipped up to drop into our product: epAssist.
The program has a system tray icon and a context menu comes up when you click on the icon. One problem with tray icons, it that it can be easy for users to confuse what the menu for your program looks like.
My first solution was to place a disab... | http://www.codeproject.com/Articles/505/Gradient-Menus-in-MFC?msg=4154 | CC-MAIN-2014-41 | refinedweb | 422 | 72.36 |
Jaime Rodriguez On Windows Store apps, Windows Phone, HTML and XAML!!
Last week, the WPF test team released a new version of their Test API: 0.2. You can download the new release from their codeplex site.
The Test API is a library with utilities for testing WPF and Windows Forms applications..
The best way to learn abo... | http://blogs.msdn.com/b/jaimer/archive/2009/04.aspx | CC-MAIN-2015-11 | refinedweb | 2,016 | 57.47 |
0
Hello *,
I was writing an assert() stmt when I realized the following (see code). Can anyone explain why/how. My final aim is to be able to write an assert stmt for verifying that my function (a demo function) works fine.
I heard from someone that there are special assert-macros/comparision-operators for floating poi... | https://www.daniweb.com/programming/software-development/threads/73810/floating-point-multiplication-precision-issues | CC-MAIN-2018-30 | refinedweb | 171 | 80.28 |
...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This tutorial program shows how to use asio to implement a client application with UDP.
#include <iostream> #include <boost/array.hpp> #include <boost/asio.hpp> using b... | http://www.boost.org/doc/libs/1_45_0/doc/html/boost_asio/tutorial/tutdaytime4.html | CC-MAIN-2016-30 | refinedweb | 330 | 51.85 |
I need the output to be look like this:
Enter the amount of the purchases: (user enters 44.28)
Enter the cash tendered: (user enters 50)
Your change is equal to 5.71999999999 which is...
5 dollars 72 cents
2 quarter (s)
2 dime(s)
0 nickel (s)
2 pennie (s)
-----------------------------------------------------------
As y... | http://www.javaprogrammingforums.com/object-oriented-programming/5325-new-so-lost-trying-learn.html | CC-MAIN-2014-35 | refinedweb | 218 | 57.47 |
Read a CML file and output a vtkMolecule object. More...
#include <vtkCMLMoleculeReader.h>
Read a CML file and output a vtkMolecule object.
Definition at line 30 of file vtkCMLMoleculeReader.h.
Definition at line 34 of file vtkCMLMoleculeAlgorithm.
Methods invoked by print to print information about the object includin... | https://vtk.org/doc/nightly/html/classvtkCMLMoleculeReader.html | CC-MAIN-2019-51 | refinedweb | 149 | 62.34 |
Alone on a Friday night, in need of some inspiration, you decide to relive some of your past programming conquests.
The old archive hard drive slowly spins up, and the source code of the glory days scrolls by...
Oh no. This is not at all what you expected. Were things really this bad? Why did no one tell you? Why were ... | https://www.gamedev.net/blogs/blog/832-etodd-makes-games/?m=1&y=2013 | CC-MAIN-2017-30 | refinedweb | 948 | 59.19 |
What does Ruby have that Python doesn't, and vice versa?.
Python Example
Functions are first-class variables in Python. You can declare a function, pass it around as an object, and overwrite it:
def func(): print "hello"def another_func(f): f()another_func(func)def func2(): print "goodbye"func = func2
This is a fundame... | https://codehunter.cc/a/python/what-does-ruby-have-that-python-doesnt-and-vice-versa | CC-MAIN-2022-21 | refinedweb | 461 | 64.1 |
Check if the given permutation is a valid BFS of a given tree
Introduction
Breadth-First Search(or BFS) is an essential level-based graph traversing algorithm that can be used to solve several problems based on the simple concepts of graphs. These include finding the shortest path in a graph and solving puzzle games li... | https://www.codingninjas.com/codestudio/library/check-if-the-given-permutation-is-a-valid-bfs-of-a-given-tree | CC-MAIN-2022-27 | refinedweb | 1,043 | 72.76 |
FAQs
Search
Recent Topics
Flagged Topics
Hot Topics
Best Topics
Register / Login
Alex Pol
Ranch Hand
33
15
Threads
0
Cows
since Sep 29, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
3
Given in last 30 days
0
Forums and Threads
Sca... | https://coderanch.com/u/135131/Alex-Pol | CC-MAIN-2018-09 | refinedweb | 1,199 | 55.34 |
I have a Sting in my program I need to reverse this Sting and save it. How can I reverse a Sting in Java? Explain with an example.
StringBuffer class of the java.lang package provides reverse() method. This method returns a reverse sequence of the characters in the current String. Using this method you can reverse a st... | https://www.tutorialspoint.com/How-to-reverse-String-in-Java | CC-MAIN-2018-30 | refinedweb | 221 | 58.38 |
A scope is a region of the program and broadly speaking there are three places, where variables can be declared −
Inside a function or a block which is called local variables,
In the definition of function parameters which is called formal parameters.
Outside of all functions which is called global variables.
We will l... | https://www.tutorialspoint.com/cplusplus/cpp_variable_scope.htm | CC-MAIN-2022-21 | refinedweb | 263 | 61.26 |
Joins
Joins are used to join a list with a particular character or a sequence of character
letters = [‘a’, ‘b’, ‘c’, ‘d’]
print ” “.join(letters) # Prints a b c d
print “+++”.join(letters) #Prints a+++b+++c+++d
TRY IT OUT
Try out the example given below and see the result you are getting. Firstly go through the code an... | http://knowledgetpoint.com/python/python-fundamentals/ | CC-MAIN-2017-34 | refinedweb | 576 | 67.28 |
Crosshair
Crosshair is a pointer represented by two mutually-crossing lines stretched over the entire chart plot. The crosshair helps a user identify values of the series points precisely. When enabled, the crosshair follows the cursor and snaps to the nearest series point.
To enable the crosshair, set the crosshair.en... | https://js.devexpress.com/Documentation/19_1/Guide/Widgets/Chart/Crosshair/ | CC-MAIN-2021-39 | refinedweb | 126 | 52.76 |
Codementor PHP expert Ben Edmunds joined us for an Office Hour session to share some of his knowledge in PHP security. Ben Edmunds is the co-host of PHP Town Hall and the creator of Ion Auth, a CodeIgnitor authentication library for security. Ben has also authored the book “Building Secure PHP apps”.
The text below is ... | https://www.codementor.io/php/tutorial/building-modern-secure-php-applications | CC-MAIN-2017-47 | refinedweb | 3,891 | 65.56 |
Lazy evaluation in Haskell
Elias Hernandis
Updated on
・4 min read
Cover image by Andreas Kay licensed under CC BY-NC-SA 2.0.
A version of this article previously appeared in my blog.
This article is part of a series on Haskell about how easy it is to define infinite structures in really concise ways. Lazy evaluation is... | https://dev.to/knifecake/lazy-evaluation-in-haskell-15of | CC-MAIN-2019-47 | refinedweb | 845 | 59.33 |
Technical Support
On-Line Manuals
RL-ARM User's Guide (MDK v4)
#include <rtl.h>
int _init_box (
void* box_mem, /* Start address of the memory pool */
U32 box_size, /* Number of bytes in the memory pool */
U32 blk_size ); /* Number of bytes in each block of the pool */
The _init_box function initializes a fixed block si... | http://www.keil.com/support/man/docs/rlarm/rlarm__init_box.htm | CC-MAIN-2020-05 | refinedweb | 225 | 64.41 |
Python - Delete all nodes of the Circular Doubly Linked List
Deleting all nodes of a circular doubly linked list requires traverse through the list and deleting each node one by one. It requires creating a current node pointing to the next of head. Delete the current node and move to the next node using temp node. Repe... | https://www.alphacodingskills.com/python/ds/python-delete-all-nodes-of-the-circular-doubly-linked-list.php | CC-MAIN-2021-31 | refinedweb | 359 | 79.06 |
In this short tutorial I will guide you through some basic steps in order to create a Crystal Space application using the KDevelop IDE.
First of all, you need to have a compiled and working version of Crystal Space, see "Building and Installing Crystal Space".
Note: The screenshots embedded on this page are reduced ver... | http://www.crystalspace3d.org/mediawiki/index.php?title=KDevelop_tutorial&diff=3403&oldid=2608 | CC-MAIN-2014-41 | refinedweb | 583 | 72.36 |
2.3. Automatic Differentiation¶
In machine learning, we train models, updating them successively so that they get better and better as they see more and more data. Usually, getting better means minimizing a loss function, a score that answers the question “how bad is our model?” With neural networks, we typically choos... | http://d2l.ai/chapter_crashcourse/autograd.html | CC-MAIN-2019-18 | refinedweb | 428 | 58.08 |
An introduction to testing with XCUITest
User interface testing can be tricky to get right, so in this tutorial we’re going to take an app that has no UI tests and upgrade it so you can see exactly how the process work. The project we’ll be using is a simple sandbox with a variety of controls – you can download it here... | https://www.hackingwithswift.com/articles/83/how-to-test-your-user-interface-using-xcode | CC-MAIN-2019-47 | refinedweb | 2,128 | 53.61 |
ELECTRICAL AND COMPUTER ENGINEERING
Senior Design Project II
0402492
TRUST MODEL FOR AD HOC NETWORKS
Spring 2008/2009
By:
• Osama Khaled Al-Koky
(20510076)
• Waleed S. Hammad
(20510327)
Supervisor:
• Dr. Ibrahim Kamel
1
Trust Model in Ad hoc Networks
Abstract
Ad Hoc Networks’ fast growing popularity urged the research... | https://de.scribd.com/document/125471561/TRUST-MODEL-FOR-AD-HOC-NETWORKS | CC-MAIN-2020-24 | refinedweb | 10,088 | 55.34 |
NAME
kobj - a kernel object system for FreeBSD
SYNOPSIS
#include <sys/param.h> #include <sys/kobj.h> void kobj_class_compile(kobj_class_t cls); void kobj_class_compile_static(kobj_class_t cls, kobj_ops_t ops); void kobj_class_free(kobj_class_t cls); kobj_t kobj_create(kobj_class_t cls, struct malloc_type *mtype, int mf... | http://manpages.ubuntu.com/manpages/intrepid/man9/kobj_class_free.9freebsd.html | CC-MAIN-2013-48 | refinedweb | 565 | 50.87 |
Opened 6 years ago
Closed 6 years ago
Last modified 6 years ago
#17953 closed Cleanup/optimization (invalid)
DB architecture in tutorial
Description
Hi,
on page:
you create DB architecture by this code:
from django.db import models class Poll(models.Model): question = models.CharField(max_length=200) pub_date = models.... | https://code.djangoproject.com/ticket/17953 | CC-MAIN-2018-34 | refinedweb | 339 | 61.43 |
Redis is blazing fast and can easily handle hundreds of thousands to millions of operations per second (of course, YMMV depending on your setup), but there are cases in which you may feel that it is underperforming. This slowness of operations – or latency – can be caused by a variety of things, but once you’ve ruled o... | https://redis.com/blog/redis-running-slowly-heres-what-you-can-do-about-it/ | CC-MAIN-2022-27 | refinedweb | 949 | 58.01 |
Introduction
This is a GPRS / GSM Arduino expansion board developed by Keyes. It is a shield module with frequency of EGSM 900MHz / DCS 1800MHz and GSM850 MHz / PCS 1900MHz, integrated with GPRS, DTMF and other functions. It supports DTMF, when the DTMF function is enabled, you can get the character feedback from the c... | https://www.arduinoposlovensky.sk/produkty/arduino/shield/sim800c-gprs-gsm-shield-for-arduino-uno-r3-and-mega2560/ | CC-MAIN-2018-17 | refinedweb | 382 | 54.22 |
TypeError: unsupported operand type(s) for %: 'range' and 'int'
unsupported operand type(s) for 'nonetype' and 'int'
python unsupported operand type(s) for ^ 'float' and 'int'
unsupported operand type(s) for / 'str' and 'float'
typeerror: unsupported operand type(s) for +: 'int' and 'str pyspark
unsupported operand typ... | http://thetopsites.net/article/50432564.shtml | CC-MAIN-2020-45 | refinedweb | 1,251 | 70.33 |
LATEST CALLED SUGAR CITATIONS
. . .. .; ,
r. ;. a , ' ' : ',
Pel.. .IS ! I t tr v
four h'uns' tn'.nf U, .' I.
."' ""'.;. Oont) Dollar
M Centrifugal M. Tr rlb. r ton
J
i ries, uswsiisa Dini o.uue ,uu.ui
Last prvloa ,uot , i.
, tie, . . . . . . : t, . $mo
7'V. U c ' Vm-, H-iu,1 y ,
fAj t( ' ' V
HONOLULU, HAWAII TERRITORY... | http://chroniclingamerica.loc.gov/lccn/sn83025121/1918-02-19/ed-1/seq-1/ocr/ | CC-MAIN-2016-40 | refinedweb | 4,147 | 67.45 |
Colin Watson wrote: > Can you point me to where I would find the old spec? I see comments > about it in debconf's svn log, but the actual files don't seem to be in > the history ... Seems well and truely lost. I may have included it in the deb w/o including it in cvs. A container is the reason why the debconf question ... | https://lists.debian.org/debian-boot/2005/04/msg00656.html | CC-MAIN-2016-36 | refinedweb | 139 | 67.35 |
Hi all,
First of all Thanks for all your last responses ,
Here I have one problem in debugging the below code.
It builds without any errors but it doesn't debugg or says some errors.
I created a exe file and when I try to run the file it doesn't run. It doesn't create a file in the C:\Temp drive
Any one could debug thi... | https://www.daniweb.com/programming/software-development/threads/216005/error-in-debugging-c-code | CC-MAIN-2018-39 | refinedweb | 174 | 76.72 |
A simple twitter-bot command-line tool and library
tweebot
A twitter bot client, written in Python. This can be used as either a command-line tool, or as a library imported into your Python applications.
Requirements
- Python 3.3+
- A twitter account
Installation
To install:
make install
Development
To build the dev en... | https://pypi.org/project/tweebot/ | CC-MAIN-2017-34 | refinedweb | 470 | 50.97 |
Converting PDF to PDF/A
with the BFO Java PDF Library v2.26
We first added PDF/A support to our API many years ago, but our focus was on validation - you load a PDF, and the API tells you if its valid or not.
If a file isn't PDF/A and you need it to be, we've got a method to fix that too: OutputProfiler.apply(). Give t... | https://bfo.com/blog/2021/08/04/converting_pdf_to_pdf_a/ | CC-MAIN-2021-43 | refinedweb | 2,640 | 57.06 |
Overview
Atlassian Sourcetree is a free Git and Mercurial client for Windows.
Atlassian Sourcetree is a free Git and Mercurial client for Mac.
ansicolortags
ansicolortags, a Python script and module to simply and efficiently use ANSI colors in a command line Python program.
The
ansicolortags module provides an efficien... | https://bitbucket.org/lbesson/ansicolortags.py | CC-MAIN-2018-30 | refinedweb | 392 | 67.35 |
Update: Note this post has been updated for Visual Studio 2013 RTM and is the first of a two-part series. In the screenshots and examples Just My Code and Collapse Small Objects are disabled as covered in part 2. It is recommended that you read this post before reading part 2.
One.
In this post, I’ll first discuss comm... | https://blogs.msdn.microsoft.com/visualstudioalm/2013/06/20/using-visual-studio-2013-to-diagnose-net-memory-issues-in-production/ | CC-MAIN-2016-40 | refinedweb | 4,785 | 62.78 |
Hi Bill, if a system did not define the constants we should not use them. I prefer to #ifdef the line where the additional constants are used. I cant believe that a system take acount on bits which are not defined. And defining bits as workaround is not the solution here. Simply leave them in the call if the system did... | http://lists.gnu.org/archive/html/simulavr-devel/2004-10/msg00018.html | CC-MAIN-2015-11 | refinedweb | 427 | 82.65 |
This is a follow up to my solved thread a few days ago about extracting parts of a RegEx search in a web scraping app. Now, I have a script that includes 4 RegEx searches that each work individually. Now I want to compile all 4 into a single search and return the 4 pieces of information in a single list. I've seen exam... | https://www.daniweb.com/programming/software-development/threads/136562/newbie-concatenating-multiple-regex-s | CC-MAIN-2019-04 | refinedweb | 326 | 52.66 |
ISSN: 2301-1025
2nd year, 3rd edition
LACTLD
The Latin American and Caribbean ccTLD publication
ANOTHER YEAR OF GROWTH AND CHANGES The Internet is constantly evolving. So are its challenges. The opportunities for development, participation and representation of stakeholders in the region encourage us to face 2014 with ... | https://issuu.com/lactld/docs/lactld_03_ingles_baja | CC-MAIN-2017-13 | refinedweb | 6,936 | 51.58 |
Post your Comment
inserting text into text file using java application
inserting text into text file using java application Hi,
I want to insert a text or string into a text file using java application
Reading a text file in java
reading text file in Java see the tutorial Read File in Java.
Thanks...Reading a text file... | http://www.roseindia.net/discussion/22142-Rotate-Text-in-Java.html | CC-MAIN-2016-07 | refinedweb | 909 | 67.99 |
Introduction to Pandas Index
Pandas Index is a permanent array executing an orchestrated, sliceable set. It is the fundamental thing that stores the center names for all pandas objects. The syntax is index.values. It returns an array which substitutes the index object of the array.
Example:
import pandas as pd
idx = pd... | https://www.educba.com/pandas-index/?source=leftnav | CC-MAIN-2021-21 | refinedweb | 954 | 63.19 |
Related
Tutorial
Understanding the GOPATH
Introduction
This article will walk you through understanding what the
GOPATH is, how it works, and how to set it up. This is a crucial step for setting up a Go development environment, as well as understanding how Go finds, installs, and builds source files. In this article we... | https://www.digitalocean.com/community/tutorials/understanding-the-gopath | CC-MAIN-2020-24 | refinedweb | 714 | 64 |
Brute-force attack is an activity which involves repetitive attempts of trying many password combinations to break into a system that requires authentication. In this tutorial, you will learn how you can make a brute-force script in Python for SSH connection.
Read Also: How to Make a Subdomain Scanner in Python.
We'll ... | https://www.thepythoncode.com/article/brute-force-ssh-servers-using-paramiko-in-python | CC-MAIN-2020-16 | refinedweb | 633 | 58.58 |
Yep, sounds good. My interest for it dropped once iOS7 made
"keyboard-shrinks-view" the default (much better for apps).
On Mon, Jun 23, 2014 at 5:31 PM, Shazron <shazron@gmail.com> wrote:
> This plugin has been moved to the org.apache.cordova.labs namespace so
> it doesn't affect our plugin releases.
>
> I feel that th... | http://mail-archives.apache.org/mod_mbox/cordova-dev/201406.mbox/%3CCABiQX1WBCmDStcj189r=g8PRQR7eg0MvN6_MTf-L7LWm1j7EPg@mail.gmail.com%3E | CC-MAIN-2018-30 | refinedweb | 118 | 64.3 |
16 replies on
2 pages.
Most recent reply:
Dec 19, 2007 1:21 AM
by
Howard Lovatt
First up a quick critique of the proposals.
The idea is that if you use a static import then you can call an imported static method using the dot notation used currently for instance methods, e.g.:
import static java.util.Collections.*;
...... | http://www.artima.com/forums/flat.jsp?forum=106&thread=220783 | CC-MAIN-2013-20 | refinedweb | 695 | 57.37 |
Some classes like
Integer
Integer(1) #=> 1
initialize
Integer is a
Kernel method. In fact, it is defined as
Kernel.Integer.
You can simply create a new method that acts as initializer for your custom class:
class Foo def initialize(arg) @arg = arg end end def Foo(arg) Foo.new(arg) end Foo("hello") # => #<Foo:0x007fa714... | https://codedump.io/share/XXGADLkNiSow/1/how-to-define-class-name-method-like-integer-and-when-should-i-use-it | CC-MAIN-2017-26 | refinedweb | 156 | 55.64 |
Adding commands to Paster¶
Paster command¶
The command line will be
paster my-command arg1 arg2 if the current directory is the application egg, or
paster --plugin=MyPylonsApp my-command arg1 arg2 otherwise. In the latter case,
MyPylonsApp must have been installed via
easy_install or
python setup.py develop.
Make a pac... | http://docs.pylonsproject.org/projects/pylons-webframework/en/latest/advanced_pylons/paster_commands.html | CC-MAIN-2015-40 | refinedweb | 885 | 50.23 |
[SOLVED] LoPy LoRa general consumption/effiency (code and scope printscreen)
Hello, please sit down because I have a long post about LoRa:
-my main objective is to send some sensor data via LoRa from one LoPy to onother, then deepsleep.
-the code is simple and practical, but there where some strange details:
from netwo... | https://forum.pycom.io/topic/2760/solved-lopy-lora-general-consumption-effiency-code-and-scope-printscreen/?lang | CC-MAIN-2019-22 | refinedweb | 1,769 | 62.58 |
On 05/04/2012 12:51 PM, Laine Stump wrote: > This value will be needed to set the src_pid when sending netlink > messages to lldpad. It is part of the solution to: > > > > Note that libnl's port generation algorithm guarantees that the > nl_socket_get_local_port() will always be > 0, so it is okay to cast > the uint32_... | https://www.redhat.com/archives/libvir-list/2012-May/msg00350.html | CC-MAIN-2014-10 | refinedweb | 286 | 52.83 |
Normally, if you have a private method, you can’t call it with an explicit receiver, even if that receiver is
self. So you can’t say
def foo self.bar # explicit receiver end private def bar 123 end
Instead,
foo needs to call simply
bar, leaving the
self implicit:
def foo bar # implicit receiver end
However, when you ca... | http://pivotallabs.com/private-setters-in-ruby-what-to-do/ | CC-MAIN-2014-35 | refinedweb | 218 | 71.04 |
IRC log of tagmem on 2006-04-04
Timestamps are in UTC.
17:09:42 [RRSAgent]
RRSAgent has joined #tagmem
17:09:42 [RRSAgent]
logging to
17:09:44 [Zakim]
+TimBL
17:09:59 [ht]
scribe: raman
17:10:08 [ht]
chair: Vincent Quint
17:10:14 [ht]
meeting: TAG telcon
17:10:24 [ht]
scribenick: raman
17:10:25 [timbl]
timbl has joined... | http://www.w3.org/2006/04/04-tagmem-irc | CC-MAIN-2014-42 | refinedweb | 2,033 | 58.35 |
I have an assignment (so please don't give me code just an explanation/helpful hints). Basically I divide two integers that are input by the user (e.g. 8 & 13) and store the result in a double. So if I were to do 8/13 I would get 0.615384615384615384615384...
The user also enters another number n. This is the number th... | http://www.dreamincode.net/forums/topic/267039-getting-the-nth-integer-from-a-double/ | CC-MAIN-2016-30 | refinedweb | 248 | 71.75 |
27 April 2010 12:47 [Source: ICIS news]
LONDON (ICIS news)--Celanese plans to close its ?xml:namespace>
The consolidation would strengthen its competitive position, reduce fixed costs and align future production capacities with anticipated demand, the chemical company said.
Initially, the proposed closure would lead to... | http://www.icis.com/Articles/2010/04/27/9354282/celanese-to-close-uk-acetate-plant-in-consolidation-strategy.html | CC-MAIN-2015-06 | refinedweb | 145 | 53.92 |
reg tutorial
reg tutorial I'm using netbeans 7.2.1. I followed the steps of the tutorial as given in
webservices can any one tell me how to develop and execute ---------- j2ee webservices example in weblogic server with (netbeans or eclipse
webservice in Netbeans
provided() im getting problem at 17 th step while right ... | http://www.roseindia.net/tutorialhelp/comment/98180 | CC-MAIN-2014-52 | refinedweb | 1,575 | 60.45 |
David,
I don't know struts so I can't evaluate Eddie's argument. It's
frustrating that the limitations of JavaBeans are having such far-reaching
effects. It seems everything that has anything to do with data these days
has to be a JavaBean. I wonder if JSR 175 is going to change that?
I do think I understand the JavaBe... | http://mail-archives.apache.org/mod_mbox/xml-xmlbeans-dev/200401.mbox/%3C20040119231911.H45581@hydra.nfcnet%3E | CC-MAIN-2016-26 | refinedweb | 729 | 63.19 |
computer science
> Preview
The flashcards below were created by user
zeina1074
on
FreezingBlue Flashcards
.
Get the free mobile app
Take the Quiz
Learn more
What is software?
A term that refers to computer programs
What is a program?
A set of instructions given to the computer to carry out a task
What are the two types... | https://www.freezingblue.com/flashcards/print_preview.cgi?cardsetID=237654 | CC-MAIN-2017-22 | refinedweb | 638 | 52.9 |
React Native for Web is an open source project that enables you to use React Native core components in React web applications. React Native for Web uses React DOM to render JavaScript code that is compatible with React Native in a web browser, making code sharing possible.
In this tutorial, we’ll set up a React web app... | https://blog.logrocket.com/sharing-code-react-native-web/ | CC-MAIN-2022-05 | refinedweb | 1,153 | 57.37 |
As part of the WinFX review team, I regularly review APIs for usability issues. One thing that we as a team have been highlighting as a potential issue is the use of virtual properties. Consider the following code snippet:
public class Class1
{
private string theString;
public virtual string MyString
{
get{return theSt... | https://blogs.msdn.microsoft.com/stevencl/2004/07/30/virtual-properties-anyone/ | CC-MAIN-2017-22 | refinedweb | 1,461 | 63.8 |
TensorFlow computation graphs are powerful but complicated. The graph visualization can help you understand and debug them. Here's an example of the visualization at work.
Visualization of a TensorFlow graph.
To see your own graph, run TensorBoard pointing it to the log directory of the job, click on the graph tab on t... | https://tensorflow.google.cn/guide/graph_viz | CC-MAIN-2019-39 | refinedweb | 1,066 | 57.27 |
3.1.1 Abstract Data Model
This section describes a conceptual model of possible data organization that an implementation maintains to participate in this protocol. The organization is provided to explain how the protocol behaves. This document does not mandate that implementations adhere to this model as long as their ... | https://msdn.microsoft.com/en-us/library/cc227024(v=prot.20) | CC-MAIN-2015-22 | refinedweb | 668 | 51.89 |
I have updated the first page with improvements.
You can now set a sound to loop automatically by setting the 2nd parameter in _SoundPlay to 1
This is cool.
Awesome
Thanks
Dwalf
Edited by dwalf, 11 August 2006 - 10:13 AM.
Posted 11 August 2006 - 02:18 AM
I have updated the first page with improvements.
You can now set ... | http://www.autoitscript.com/forum/topic/30123-sound-udf/page-2?p=585991 | CC-MAIN-2014-35 | refinedweb | 1,203 | 62.58 |
git-archimport - Import an Arch repository into git
Imports a project from one or more Arch repositories. It will follow branches and repositories within the namespaces defined by the <archive/branch> parameters supplied. If it cannot find the remote branch a merge comes from it will just import it as a regular commit.... | https://www.kernel.org/pub/software/scm/git/docs/v1.7.2.1/git-archimport.html | CC-MAIN-2016-40 | refinedweb | 437 | 61.87 |
Last.
Last.
Remember that MPI groups and communicators provide a mechanism for parallel code modularity and offer communication contexts for groups of processes. The default communicator, MPI_COMM_WORLD, refers to all processes involved in the MPI computation and defines the default global context for message passing. ... | http://www.linux-mag.com/id/1412 | crawl-002 | refinedweb | 2,901 | 50.67 |
Net Present Value & Rate of Return for a winning Powerball lottery ticket
Please see attached file for further detail.
Question 2 - Net Present Value
You have just paid $20 million in the secondary market for the winning Powerball lottery ticket. The prize is $2 million at the end of each year for the next 25 years. If... | https://brainmass.com/business/capital-budgeting/263920 | CC-MAIN-2017-39 | refinedweb | 194 | 69.01 |
Red Hat Bugzilla – Bug 1469467
[abrt] relval: login(): client.py:496:login:mwclient.errors.LoginError: (<Site object '('https', 'fedoraproject.org')/w/'>, {'result': 'WrongPass'})
Last modified: 2017-07-24 02:56:54 EDT
Created attachment 1296168 [details]
File: backtrace
Created attachment 1296169 [details]
File: cgrou... | https://bugzilla.redhat.com/show_bug.cgi?id=1469467 | CC-MAIN-2018-30 | refinedweb | 246 | 54.86 |
You can import data profiling items including analyses, database connections, patterns and indicators, etc. into you current studio from various projects or different versions of the studio.
You can not import an item without all its dependencies. When you try to import an analysis for example, all its dependencies suc... | https://help.talend.com/reader/UiLqXAv52hAS8fVDfvtn8w/oQgWna9Ft30F_Qq8cD5x4g | CC-MAIN-2020-10 | refinedweb | 1,021 | 52.7 |
Eclipse Community Forums - RDF feed Eclipse Community Forums how to debug like the tool "decoda"? <![CDATA[I write some function in x.lua file, and I call the lua function from my C program. I want to debug the lua function called by the C program using Koneki/ldt just like the tool "decoda", how to do that? ]]> Guangc... | http://www.eclipse.org/forums/feed.php?mode=m&th=432743&basic=1 | CC-MAIN-2013-20 | refinedweb | 650 | 75.71 |
Created on 2016-11-14 12:56 by vstinner, last changed 2016-11-22 08:47 by vstinner. This issue is now closed.
The issue #23839 modified the test runner to always clear caches before running tests. As a side effect, test_warnings started to complain with:
Warning -- warnings.filters was modified by test_warnings
The iss... | https://bugs.python.org/issue28688 | CC-MAIN-2021-49 | refinedweb | 1,151 | 68.97 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.