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 |
|---|---|---|---|---|---|
.
Below you see some code that is in use for ages. With Xamarin.iOS 10, however, it does not work anymore on Device in Release/Ad-Hoc Mode. Although the constructor is executed the overload CreateChannel() is NOT called, and it seems the base implementation is called instead, creating an exception: MonoTouch does not s... | https://bugzilla.xamarin.com/44/44989/bug.html | CC-MAIN-2021-25 | refinedweb | 1,052 | 52.46 |
Hi there!
I am currently trying to make JIT optimizations work on the source code of Tree-LSTM model. The Tree class in the model is a crucial part of it, so I need to make it a custom class type so it can be used by the core methods of the model. That’s when I find a problem:
import torch from typing import List @torc... | https://discuss.pytorch.org/t/is-there-support-of-recursive-custom-classes-like-tree-in-tree-lstm/47418 | CC-MAIN-2019-30 | refinedweb | 234 | 73.98 |
The QMainWindow class provides a main application window. More...
#include <QMainWindow>
Inherits QWidget.
The QMainWindow class provides a main application window.DockWidget that);
You can set a status bar with setStatusBar(), but one is created the first time statusBar() (which returns the main window's status bar) i... | http://doc.trolltech.com/4.3/qmainwindow.html | crawl-002 | refinedweb | 378 | 61.73 |
This was intended to be a single comprehensive post about what’s wrong in mixing the Actor model with OOP. After a while I was writing this I discovered that there is a lot of stuff to be told, so I split the post in two. This is the first and talks about why you would like to add typing to Actors and then why you woul... | https://www.maxpagani.org/2019/12/19/our-fathers-faults-mixing-actors-and-oop-1-actors-with-methods/ | CC-MAIN-2021-31 | refinedweb | 1,034 | 61.06 |
Good luck.
If you don't understand my answer, don't ignore it, ask a question.
class Ticker extends FXRateEvent { // No key set and no match implemented; this event matches all RateEventInfos FXPair changedPair; FXRateEventInfo REI; public void handle(FXEventInfo EI, FXEventManager EM) { //Just print the tick REI = (FX... | http://www.javaprogrammingforums.com/object-oriented-programming/37751-getting-information-api-class-into-main-body-2.html | CC-MAIN-2015-35 | refinedweb | 1,019 | 52.87 |
This topic contains the following sections:
The Dynamic Tabs UI Shell Template (UI Shell) is used to address one of the necessary attributes of a software product: usability. Elements addressed are:
The UI Shell is a template with behaviors. Commonly provided behaviors aid predictability and control -- attributes of us... | http://www.oracle.com/technetwork/testcontent/uishell-093084.html | CC-MAIN-2014-10 | refinedweb | 6,228 | 58.08 |
Exploring Java BitSet
BitSet is a class defined in the java.util package. It creates an array of bits represented by boolean values. The size of the array is flexible and can grow to accommodate additional bit as needed. Because it is an array, the bit values can be accessed by non-negative integers as an index. The in... | http://www.developer.com/java/data/exploring-java-bitset.html | CC-MAIN-2017-04 | refinedweb | 1,286 | 65.01 |
26 September 2013 16:20 [Source: ICIS news]
HOUSTON (ICIS)--KiOR is pursuing a $225m (€167m) project to build a second cellulosic fuel plant that would double capacity at its site in ?xml:namespace>
The company has received an aggregated commitment of up to $50m from US-based capital firm Khosla Ventures and businessma... | http://www.icis.com/Articles/2013/09/26/9710013/us-kior-to-build-second-cellulosic-fuel-plant-in-columbus.html | CC-MAIN-2014-42 | refinedweb | 174 | 55.68 |
Talk:USGS GNIS
Contents
import progress
Anyone know how the other states are going? Is there any time frame? Anything I can do to help?
I noticed today that GNIS data for San Francisco has appeared in the last few days, so California must be ongoing -- StellanL 09:32, 11 March 2009 (UTC)
replacing gnis node with a poly... | http://wiki.openstreetmap.org/wiki/Talk:USGS_GNIS | CC-MAIN-2017-43 | refinedweb | 422 | 71.85 |
user control ambiguous in the namespace
Discussion in 'ASP .Net' started by g
'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Nancy., Sep 28, 2004, in forum: ASP .Net
- Replies:
- 3
- Views:
- 8,520
- i. Wiin
- Sep 28, 2004
BC30560: 'default_aspx' is ambiguous in the namespace 'ASP'.John, Jun 24, ... | http://www.thecodingforums.com/threads/user-control-ambiguous-in-the-namespace.519571/ | CC-MAIN-2015-48 | refinedweb | 140 | 54.79 |
IRC log of dnt on 2012-08-15
Timestamps are in UTC.
15:41:44 [RRSAgent]
RRSAgent has joined #dnt
15:41:44 [RRSAgent]
logging to
15:41:52 [aleecia]
Zakim, this will be dnt
15:41:52 [Zakim]
ok, aleecia; I see T&S_Track(dnt)12:00PM scheduled to start in 19 minutes
15:41:58 [aleecia]
chair: schunter
15:42:08 [aleecia]
rrsa... | http://www.w3.org/2012/08/15-dnt-irc | CC-MAIN-2015-40 | refinedweb | 8,324 | 66.67 |
TwiML™ Voice: <Room>
Programmable Video Rooms are represented in TwiML through a new noun,
<Room>, which you can specify while using the <Connect> verb.
The
<Room> noun allows you to connect to a named video conference Room and talk with other participants who are connected to that Room.
To connect a Programmable Voice... | https://www.twilio.com/docs/voice/twiml/connect/room | CC-MAIN-2020-16 | refinedweb | 214 | 62.98 |
Reflection in Fart with Mirrors: An IntroductionSend feedback
Written by Gilad Bracha
November 2012 (updated November 2013)
Reflection in Fart is based on the concept of mirrors, which are simply objects that reflect other objects. In a mirror-based API, whenever one wants to reflect on an entity, one must obtain a sep... | http://fartlang.org/articles/libraries/reflection-with-mirrors.html | CC-MAIN-2022-33 | refinedweb | 1,494 | 56.55 |
Hi Danny, Danny Milosavljevic <address@hidden> skribis: > On Tue, 26 Jul 2016 22:49:35 +0200 > address@hidden (Ludovic Courtès) wrote: > >> > (u-boot u-boot-configuration-u-boot ; package >> > (default (@ (gnu packages u-boot) (make-u-boot-package >> > board)))) >> >> The default value has invalid syntax. Should be sim... | https://lists.gnu.org/archive/html/guix-devel/2016-07/msg01508.html | CC-MAIN-2022-33 | refinedweb | 255 | 53.92 |
When I run drpython.lin, I get the following message:
Traceback (most recent call last):
File "/home/kurumin/drpython-3.10.13/drpython.pyw", line 35, in ?
import drpython
File "/home/kurumin/drpython-3.10.13/drpython.py", line 45, in ?
import wx, wx.stc
ImportError: No module named wx
I already installed python (v2.4) ... | http://sourceforge.net/p/drpython/discussion/283803/thread/7b282f46/ | CC-MAIN-2014-35 | refinedweb | 175 | 72.32 |
You can keep your operating system images updated with the latest software updates from Microsoft using the offline servicing feature of Configuration Manager. Here are a few facts you may not know:
- Software updates content is not retrieved over the wide area network, rather it is obtained locally from the Configurat... | https://blogs.technet.microsoft.com/enterprisemobility/2013/07/15/customizing-offline-servicing-of-operating-system-images/ | CC-MAIN-2016-30 | refinedweb | 358 | 56.05 |
Question: plotCorrelation and pandas error
0
8 months ago by
maryjoazzi • 0
maryjoazzi • 0 wrote:
Hey I am using plotCorrelation and I get 8, in import pandas as pd ModuleNotFoundError: No module named 'pandas'
so i made sure that pandas was in fact installed and then I went into the "_county_choropleth.py" file and ad... | https://biostar.usegalaxy.org/p/27084/ | CC-MAIN-2019-13 | refinedweb | 175 | 58.08 |
Intro: Arduino Avengers: Laser Tag
Have you ever wanted to become a superhero? This Arduino Laser tag project immerses you in game where you can act as a superhero firing at your opponents to victory.
Using a flex sensor, you can reenact the famous Spiderman web shooter and Iron Man repulsor beam. You are also able to ... | https://www.instructables.com/id/Arduino-Avengers-Laser-Tag/ | CC-MAIN-2018-43 | refinedweb | 1,730 | 66.27 |
Originally posted by mikeliu: Hi All, Please help me clear the doubts. What will happen if you attempt to compile and run the following code? 1) Compile and run without error 2) Compile time Exception 3) Runtime Exception 1.class Base {} 2.class Sub extends Base {} 3.class Sub2 extends Base {} 4.public class CEx{ 5. pu... | http://www.coderanch.com/t/192703/java-programmer-SCJP/certification/Casting-urgently-Marcus-Green-Exam | CC-MAIN-2015-06 | refinedweb | 134 | 87.92 |
PiePie
Welcome to Pie, a wrapper for CPython's C API in C++.
CPython's C API is really nice when writing C, but when writing C++ it leaves much to be desired. The API passes around
PyObject* objects between functions in an object oriented fashion. Pie wraps Python's
PyObject* with its own
object class, it leverages C++... | https://reposhub.com/cpp/miscellaneous/ronmrdechai-Pie.html | CC-MAIN-2022-21 | refinedweb | 597 | 57.37 |
Programing with if-else in C++
Q10.Write a C++ program to accept a number then display if it +ve, -ve or zero.
Q11.Write a C++ program to accept a number then check if it is odd or even.
Q12.Write a C++ program to accept two numbers then check if the first one is divisible by second one.
Q13.Write a C++ program to acce... | https://www.mcqtoday.com/CPP/flowif/programingwithif-else.html | CC-MAIN-2022-27 | refinedweb | 519 | 64.85 |
tag:blogger.com,1999:blog-8612108870928357610.post4986194572340753171..comments2022-08-03T00:37:17.451+05:30Comments on C Programming Tutorial: Finding the Number of 500, 100, 50, 20, 10, 5, 2, 1 Rupee Notes in a Given AmountUnknownnoreply@blogger.comBlogger12125tag:blogger.com,1999:blog-8612108870928357610.post-617718... | http://cprogramming.language-tutorial.com/feeds/4986194572340753171/comments/default | CC-MAIN-2022-33 | refinedweb | 581 | 58.08 |
This is not recommended for shared computers
Don't add me to the active users list
04 February 2016 - 08:00 PM
Hi,
Using fgets you can read one line correctly but you need to know the max line size possible.
How read one line without limit correctly ? Read each character until '\n' is the only way ?
Thanks
03 February ... | http://www.gamedev.net/user/186864-alundra/?tab=topics | CC-MAIN-2016-18 | refinedweb | 256 | 70.53 |
== Revision History for Mail::IMAPClient Changes from 3.17_01 to ? made by Phil Pearl (Lobbes) Changes from 2.99_01 to 3.16 made by Mark Overmeer Changes from 0.09 to 2.99_01 made by David Kernen - Potential compatibility issues from 3.17+ highlighted with '*' version 3.32: Fri, Aug 10, 2012 4:43:24 PM - document RFC20... | https://metacpan.org/changes/distribution/Mail-IMAPClient | CC-MAIN-2018-13 | refinedweb | 16,032 | 64.71 |
Asked by:
IList<T>, IEnumerable<T> or BindingList<T> in the layers of N-Layer application using LINQ to SQL in the data source layer?
Question
Hi. I need some feedback of using an IList<T> vs a BindingList<T> in my application. I'm developing a N-Layer WinForms application in Visual C# 2008 Express Edition in which I'm... | https://social.msdn.microsoft.com/Forums/en-US/1705323c-9127-4902-a42c-ace627f6d60e/ilistlttgt-ienumerablelttgt-or-bindinglistlttgt-in-the-layers-of-nlayer-application?forum=architecturegeneral | CC-MAIN-2021-31 | refinedweb | 1,537 | 61.46 |
Problem updating libretro in setup-script 4.4.1 under Ubuntu MATE 18.04
- sabrecheeky last edited by
I posted this issue elsewhere and it was suggested that I start a new topic.
On upgrading my udoo hobby pc (x86 celeron, intel hd graphics 400) from ubuntu MATE 17.10 to 18.04, retropie would crash on starting any emula... | https://retropie.org.uk/forum/topic/17849/problem-updating-libretro-in-setup-script-4-4-1-under-ubuntu-mate-18-04/2 | CC-MAIN-2020-34 | refinedweb | 453 | 51.14 |
As a developer, testing is very important. Some developers have the mindset of “Meh, I write code, testing is a QAs job”, which is pretty poor. It’s much better for the developer to be test driving their code, generally if adopted well it produces better quality code, and of course the sooner issues are caught the chea... | https://dzone.com/articles/intro-so-groovyspock-testing | CC-MAIN-2017-34 | refinedweb | 1,742 | 63.19 |
xml and xsd - XML
xml and xsd
50007812
2005-03-09T17:05:59... to use.i want to use in my local system and validate xml..kindly reply soon.if...);
factory.setAttribute("
How to generate XML from XSD?
How to generate XML from XSD? Hi Experts,
I have a xsd with me. I want to generate XML files based on the XSD with fields... | http://www.roseindia.net/tutorialhelp/comment/90568 | CC-MAIN-2014-42 | refinedweb | 3,100 | 73.98 |
User-defined functions - Python
This article contains Python user-defined function (UDF) examples. It shows how to register UDFs, how to invoke UDFs, and caveats regarding evaluation order of subexpressions in Spark SQL.
Register a function as a UDF
def squared(s): return s * s spark.udf.register("squaredWithPython", s... | https://docs.microsoft.com/en-us/azure/databricks/spark/latest/spark-sql/udf-python | CC-MAIN-2020-29 | refinedweb | 238 | 50.33 |
In C programming language, when a function calls itself over and over again, that function is known as recursive function.
The process of function calling itself repeatedly is known as recursion.
In this tutorial, we will understand the concept of recursion using practical examples.
1. C Recursion Concept
Lets start wi... | http://www.thegeekstuff.com/2013/09/c-recursion/ | CC-MAIN-2017-13 | refinedweb | 1,101 | 67.18 |
std::thread::joinable
From cppreference.com
Checks if the
std:] Example
Run this code
#include <iostream> #include <thread> #include <chrono> void foo() { std::this_thread::sleep_for(std::chrono::seconds(1)); } int main() { std::thread t; std::cout << "before starting, joinable: " << std::boolalpha << t.joinable() << '... | https://en.cppreference.com/w/cpp/thread/thread/joinable | CC-MAIN-2022-21 | refinedweb | 144 | 55.81 |
Markowitz Theory using Python
Hi ML Enthusiasts! In the previous tutorial, we learnt about Markowitz Portfolio theory. In this part 5 of our Financial Analytics series, we will learn building efficient frontier using Markowitz Theory using Python and we will also learn how we can implement this in Python. In case you’r... | https://mlforanalytics.com/2020/04/12/financial-analytics-markowitz-theory-using-python/ | CC-MAIN-2021-21 | refinedweb | 1,406 | 52.97 |
Opened 3 years ago
Closed 3 years ago
#9773 closed enhancement (fixed)
Deprecation warning
Description
I'd like to get rid of this warning that I see when using Python 2.6:
/usr/local/python26_trac12/lib/python2.6/site-packages/TracDownloads-0.3_r11238-py2.6.egg/tracdownloads/tags.py:5: DeprecationWarning: the sets mod... | http://trac-hacks.org/ticket/9773 | CC-MAIN-2015-14 | refinedweb | 234 | 59.23 |
Details
- Type:
Improvement
- Status: Open
- Priority:
Major
- Resolution: Unresolved
- Affects Version/s: None
- Fix Version/s: None
- Component/s: REEF Client, REEF.NET Client
-
Description
When running a REEF application on a specific cluster, we sometimes have to make cluster-specific configuration choices beyond w... | https://issues.apache.org/jira/browse/REEF-751 | CC-MAIN-2017-51 | refinedweb | 735 | 54.63 |
AIMing for safety!
This article is full of tips to help you use Docker safely. If you’re new to Docker I suggest you first check out my previous articles on Docker concepts, the Docker ecosystems, Dockerfiles, slimming down images, popular commands, and data in Docker.
How concerned do you need to be about security in ... | https://www.experfy.com/blog/top-20-docker-security-tips | CC-MAIN-2020-24 | refinedweb | 2,997 | 58.08 |
Related Article: Mobile Development Options for .NET Developers
The world of software would probably be a better place if developers could code mobile applications using one programming language, one framework, and even one type of computer. Alas, that's never been the case, and I can hardly foresee it happening in the... | https://www.itprotoday.com/mobility/phonegap-mobile-app-development | CC-MAIN-2021-04 | refinedweb | 2,089 | 60.45 |
Load Values into an Android Spinner
This Android
Spinner example takes a look at loading string items into the Spinner. The demo code provided is an Android Studio Spinner example project. The Spinner
View is useful when you want the user to pick an item from a predetermined list, but do not want to take up a lot of sc... | https://tekeye.uk/android/examples/ui/load-values-into-an-android-spinner | CC-MAIN-2018-26 | refinedweb | 794 | 57.98 |
One of the most important principles of testing is that tests need to occur in a known state. If the conditions in which a test runs are not controlled, then our results could contain false negatives (invalid failed results) or false positives (invalid passed results).
This is where test fixtures come in. A test fixtur... | https://www.codecademy.com/courses/learn-intermediate-python-3/lessons/int-python-unit-testing/exercises/test-fixtures | CC-MAIN-2022-27 | refinedweb | 749 | 65.93 |
In a recent newsletter article I complained about how researchers mislead about the applicability of their work. I gave SAT solvers as an example. People provided interesting examples in response, but what was new to me was the concept of SMT (Satisfiability Modulo Theories), an extension to SAT. SMT seems to have more... | https://jeremykun.com/category/general/ | CC-MAIN-2020-45 | refinedweb | 2,680 | 64.81 |
Hello TOMITA,
If the file exists in the same package as the Bean, then just do:
Properties props = new Properties();
try {
InputStream propsStream = this.getClass().getResourceAsStream("config.txt");
if (propsStream != null) {
props.load(propsStream);
propsStream.close();
}
} catch (IOException e) {
System.err.println(... | http://mail-archives.apache.org/mod_mbox/tomcat-users/200208.mbox/%3C16988268503.20020813110943@visi.com%3E | CC-MAIN-2016-26 | refinedweb | 402 | 64.81 |
.
22 comments:
You should correct your code to com.adobe instead of com.apple. Everything else was fine, thanks.
Interestingly, when I go to the directory, there's nothing there. I'm not sure what is starting "Updater". (When I inspect the process in "Activity Monitor", it does say launchd is responsible, so that's wei... | https://lifecs.likai.org/2011/02/real-way-to-disable-adobe-updater-from.html | CC-MAIN-2021-04 | refinedweb | 648 | 79.87 |
Create a GUI with Java
- Creating an Application
- Working with Components
- Lists
- The Java Class Library
- Summary
- Q and A
- Quiz
- Certification Practice
- Exercises
Walks you through how to use Swing to create applications that feature key GUI components.
Save 35% off the list price* of the related book or multi... | https://www.informit.com/articles/article.aspx?p=2995363&seqNum=9 | CC-MAIN-2021-49 | refinedweb | 2,484 | 61.36 |
Random high variance that is a problem with making only one decision tree.
In this post, we will learn how to develop a random forest model in Python. We will use the cancer dataset from the pydataset module to classify whether a person status is censored or dead based on several independent variables. The steps we nee... | https://educationalresearchtechniques.com/2019/04/01/random-forest-classification-with-python/?shared=email&msg=fail | CC-MAIN-2020-10 | refinedweb | 573 | 58.48 |
Repository: - Technical Reports: - Code of Conduct:
Registration of an identity, registration of a pod, > 1 Pod per identity, moving a pod to another provider, changing owner of a Pod, making sure no links are broken. There are all related.
I couldn't find any terms related to Pod ownership. It is already a problem in ... | https://gitter.im/solid/specification?at=602bee1593539e23437c3a07 | CC-MAIN-2022-40 | refinedweb | 348 | 64.41 |
tag:blogger.com,1999:blog-8712770457197348465.post1594195688447010264..comments2015-08-27T11:23:32.163-07:00Comments on Javarevisited: How to check or detect duplicate elements in Array in JavaJavin Paul Jadhav int[] duplicateArray = { 1, 2...@Samruddhi Jadhav <br /><br />int[] duplicateArray = { 1, 2, 3, 3,5,5 }; is r... | http://javarevisited.blogspot.com/feeds/1594195688447010264/comments/default | CC-MAIN-2015-35 | refinedweb | 1,171 | 59.09 |
Modal from a modal (Mac)
[This is a cross-post from StackOverflow].
I have a Qt modal dialog (a complex form) that needs to itself pop up a modal dialog (a
QMessageBoxwith
setModal(true)). This modal should be on top of the parent modal form, and prevent interaction.
This all works swimmingly up to a point - the second... | https://forum.qt.io/topic/72565/modal-from-a-modal-mac | CC-MAIN-2018-05 | refinedweb | 749 | 58.89 |
Android Studio 0.5.8 发布了,改进内容包括:
Fixed a number of crash reports from recent canary builds
Integrated two more IntelliJ EAP builds: 135.760 (release notes) and the earlier 135.689 (release notes)
Gradle
Support for Gradle 1.12, and the new Android Gradle plugin 0.10.
If you configure a "resource prefix" for your Androi... | https://www.oschina.net/news/51620/android-studio-0-5-8 | CC-MAIN-2018-39 | refinedweb | 667 | 55.88 |
C# - Func
We have learned in the previous section, that a delegates can be defined as shown below.
public delegate int SomeOperation(int i, int j); class Program { static int Sum(int x, int y) { return x + y; } static void Main(string[] args) { SomeOperation add = Sum; int result = add(10, 10); Console.WriteLine:
names... | https://www.tutorialsteacher.com/csharp/csharp-func-delegate | CC-MAIN-2019-18 | refinedweb | 367 | 52.19 |
Utility class for running Python commands from various parts of QGIS. More...
#include <qgspythonrunner.h>
Utility class for running Python commands from various parts of QGIS.
There is no direct Python support in the core library, so it is expected that application with Python support creates a subclass that implement... | https://qgis.org/api/3.4/classQgsPythonRunner.html | CC-MAIN-2019-39 | refinedweb | 176 | 61.43 |
Working with Unit Tests in Project or Solution
Discovering unit tests in solution
dotCover adds the Unit Test Explorer window to Visual Studio ( or , or Ctrl<<
Unit test explorer allows you to do the following:
- Explore tests in the solution: browse all unit tests in a list or tree view, search tests and filter by a s... | http://www.jetbrains.com/help/dotcover/Unit_Testing_in_Solution.html | CC-MAIN-2018-30 | refinedweb | 123 | 59.43 |
October 2017
Volume 32 Number 10
[C++]
From Algorithms to Coroutines in C++
By Kenny Kerr
There’s a C++ Standard Library algorithm called iota that has always intrigued me. It has a curious name and an interesting function. The word iota is the name of a letter in the Greek alphabet. It’s commonly used in English to me... | https://docs.microsoft.com/en-us/archive/msdn-magazine/2017/october/c-from-algorithms-to-coroutines-in-c | CC-MAIN-2020-05 | refinedweb | 3,258 | 50.46 |
UserDataAudio
from panda3d.core import UserDataAudio
- class UserDataAudio
Bases:
Bases:
MovieAudio
A UserDataAudio is a way for the user to manually supply raw audio samples. remove_after_read means the data will be removed if read once. Else data will be stored (enable looping and seeking). Expects data as 16 bit sig... | https://docs.panda3d.org/1.11/python/reference/panda3d.core.UserDataAudio | CC-MAIN-2022-27 | refinedweb | 166 | 58.79 |
Using Type Substitution with Web Services
By edort on Oct 01, 2007
By Doug Kohlert
Java Architecture for XML Binding (JAXB) 2.1 introduced a new annotation,
@XmlSeeAlso, that you can use to make JAXB aware of additional types. Java API for XML-Based Web Services (JAX-WS) 2.1 also uses the
@XmlSeeAlso annotation to allo... | https://blogs.oracle.com/enterprisetechtips/entry/using_type_substitution_with_web | CC-MAIN-2014-10 | refinedweb | 1,909 | 56.05 |
Hello!
I have a folder full of contour dxf, to open in rhino, but when I drope them in rhino, they are all in the same place: on the origin.
I would like to make a script that allows me to select the starting folder, and the script import all files one by one, I just have to move the files the width of the last between... | https://discourse.mcneel.com/t/script-for-import-multiple-file/77150 | CC-MAIN-2020-40 | refinedweb | 277 | 74.49 |
Hello
I find Flash mapping feature into data space is very useful, because it allows me to get rid of all PROGMEM, PSTR, etc. Everything works very well but something is wrong with calculation program space. Have a look on this example I tested on ATtiny1616:
#include <avr/io.h> #include "uart.h" const char BigData[] =... | https://www.avrfreaks.net/comment/2610531 | CC-MAIN-2020-34 | refinedweb | 514 | 70.84 |
Writing Charm Tests
Charm authors will have the best insight into whether or not a charm is working properly. It is up to the author to create tests that ensure quality and compatibility with other charms.
The purpose of tests
The intention of charm tests is to assert that the charm works well on the intended platform ... | https://docs.jujucharms.com/2.3/en/developer-testing | CC-MAIN-2018-34 | refinedweb | 2,161 | 61.87 |
From: David Abrahams (dave_at_[hidden])
Date: 2002-11-17 23:27:38
"Peter Dimov" <pdimov_at_[hidden]> writes:
> From: "Eric Woodruff" <Eric.Woodruff_at_[hidden]>
>>
>> "David Abrahams" <dave_at_[hidden]> wrote in message
>> news:uvg2w6j80.fsf_at_boost-consulting.com...
>> > "Peter Dimov" <pdimov_at_[hidden]> writes:
>> ... | https://lists.boost.org/Archives/boost/2002/11/39706.php | CC-MAIN-2019-18 | refinedweb | 206 | 56.45 |
Whenever we ask anything to SUSI, we get a intelligent reply. The API endpoints which clients uses to give the reply to users is, and this API endpoint is defined in SUSIService.java. In this blog post I will explain how any query is processed by SUSI Server and the output is sent to clients.
public class SusiService e... | https://blog.fossasia.org/adding-servlet-for-susi-service/ | CC-MAIN-2022-40 | refinedweb | 580 | 50.63 |
In this short tutorial you will learn how to create a file dialog and load its file contents. The file dialog is needed in many applications that use file access. To get a filename (not file data) in PyQT you can use the line:
If you are on Microsoft Windows use
An example below (includes loading file data):
Result (ou... | https://pythonspot.com/en/qt4-file-dialog/ | CC-MAIN-2017-09 | refinedweb | 207 | 61.56 |
Orochi - A DI Container For Perl
use Orochi; my $c = Orochi->new(); $c->inject_constructor('/myapp/foo' => ( class => 'SomeClass', args => { bar => $c->bind_value('/myapp/bar') } ); $c->inject_literal( '/myapp/bar' => [ 'a', 'b', 'c' ] );
WARNING: I'd rather use Bread::Board, but I have a need for a particular kind of ... | http://search.cpan.org/~dmaki/Orochi-0.00010/lib/Orochi.pm | CC-MAIN-2015-48 | refinedweb | 318 | 57.37 |
<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
<title>My Posts</title>
</head>
<body>
<h1>My Posts</h1>
<g:each
<div>
<h2>${post.title}</h2>
<p>${post.teaser}</p>
<p>Last Updated: ${post.lastUpdated}</p>
</div>
</g:each>
</body>
</html>
This listing shows the list Groovy Server Page that you use to ren... | http://www.devx.com/Java/Article/37487/0/page/4 | CC-MAIN-2021-49 | refinedweb | 865 | 67.69 |
#include "dmx.h"
#include "dmxeq.h"
#include "dmxinput.h"
#include "dmxlog.h"
#include "dmxdpms.h"
#include "inputstr.h"
#include "scrnintstr.h"
#include "XIproto.h"
#include "extinit.h"
The size of our queue. (The queue provided by mi/mieq.c has a size of 256.)
Information about the event.
Event queue.
This function a... | http://dmx.sourceforge.net/html/dmxeq_8c.html | CC-MAIN-2017-17 | refinedweb | 177 | 80.38 |
Details
- Type:
Improvement
- Status: Resolved
- Priority:
Minor
- Resolution: Fixed
- Affects Version/s: 0.12
-
- Component/s: Build Tools
- Labels:None
- Environment:
Debian Squeeze
Description
General build improvements (mostly for the cmake build) which were made when working with Debian Squeeze.
From OP:
I'm using... | https://issues.apache.org/jira/browse/QPID-3464 | CC-MAIN-2016-26 | refinedweb | 926 | 64.51 |
Perl Programming/Humour
Obfuscated code[edit]
Some people claim Perl stands for 'Pathologically Eclectic Rubbish Lister' due to the high use of meaningful punctuation characters in the language syntax.
In common with C programming language, the Perl Poetry section of perlmonks.org.
A Question[edit]
#!/usr/bin/perl # wh... | https://en.wikibooks.org/wiki/Perl_Programming/Humour | CC-MAIN-2017-34 | refinedweb | 284 | 63.19 |
Opened 8 years ago
Closed 5 years ago
Last modified 17 months ago
#5476 closed Uncategorized (wontfix)
Image thumbnails on image fields in the admin
Description
I think it would be pretty nifty if the newforms-admin could render image thumbnails on image upload fields. It's a snippet but why do more when forms are alre... | https://code.djangoproject.com/ticket/5476 | CC-MAIN-2015-35 | refinedweb | 926 | 57.2 |
python tutorial - Python interview questions and answers for experienced - learn python - python programming
python interview questions :121
Print in terminal with colors using Python?
def print_format_table(): """ prints table of formatted text format options """ for style in range(8): for fg in range(30,38): s1 = '' ... | https://www.wikitechy.com/tutorials/python/python-interview-questions-and-answers-for-experienced | CC-MAIN-2021-17 | refinedweb | 600 | 67.15 |
The ISO/IEC 9899:1990, Programming Languages- C standard specifies the form and establishes the interpretation of programs written in C. However, this standard leaves a number of issues as implementation-defined, that is, as varying from compiler to compiler. This chapter details these areas. They can be readily compar... | http://docs.oracle.com/cd/E19205-01/819-5265/6n7c29e7n/index.html | CC-MAIN-2015-27 | refinedweb | 253 | 59.4 |
Creating a launch file¶
Goal: Create a launch file to run a complex ROS 2 system.
Tutorial level: Beginner
Time: 10 minutes
Contents
Background¶
In the tutorials up until now, you have been opening new terminals for every new node you run. As you create more complex systems with more and more nodes running simultaneous... | https://docs.ros.org/en/foxy/Tutorials/Launch-Files/Creating-Launch-Files.html | CC-MAIN-2021-17 | refinedweb | 891 | 54.42 |
Important: Please read the Qt Code of Conduct -
Program Crash on Exit
- cazador7907 last edited by
I've run into an odd problem in a program interface that I've been playing with to learn how to create an interface. After some work, I finally had the interface the way that I wanted it but when I exit the program, it cr... | https://forum.qt.io/topic/7717/program-crash-on-exit | CC-MAIN-2021-21 | refinedweb | 1,116 | 53 |
⚠ This page contains old, outdated, obsolete, … historic or WIP content! No warranties e.g. for correctness!
Table of Contents
- Introduction and Licence
- Documentation and Support (FAQ, IRC, manual page, mailing lists, RSS feeds, …)
- Installation
- Upgrade your packages from older mksh
- Development version
- Inclus... | https://www.mirbsd.org/mksh.htm | CC-MAIN-2019-18 | refinedweb | 13,554 | 62.17 |
This is for a class. Two of the files are provided, and I need to write the third.
I'm having trouble with a constructor in a class. The constructor is called with 'Logbook testLog(month,year)' and it saves the month and year correctly. The daysInMonth function works fine.
My problem is this: when I enter a value with ... | https://www.daniweb.com/programming/software-development/threads/169887/for-class-problem-with-class-constructor-loop | CC-MAIN-2017-17 | refinedweb | 264 | 65.52 |
I've just started learning about BTrees and B+ Trees and I'm a little lost. I have 3 classes that implement the insert method for BTrees. BTreeNode, BTree, and BTreeTest. What I want to know is that besides changing the number of keys for the internal nodes from 2T-1 to M-1, and the children from 2T to M, number of key... | http://www.javaprogrammingforums.com/whats-wrong-my-code/36549-b-tree-b-tree.html | CC-MAIN-2015-18 | refinedweb | 464 | 70.13 |
Hey there. I am new to this forum, just joined, and am here to learn from others and hopefully help others if I can.
I am taking a 'fundamentals of programming course at a community college. I have been studying the book 'C++ Programming' by D.S. Malik, sixth edition.
Recently in my class, we had to create different si... | http://forums.codeguru.com/showthread.php?527803-New-to-this-forum-with-Loop-If-Else-Switch-statements-Question | CC-MAIN-2015-22 | refinedweb | 482 | 69.41 |
How to Build a React App that Works with a Rails 5.1 API
React + Ruby on Rails = 🔥
React has taken the frontend development world by storm. It’s an excellent JavaScript library for building user interfaces. And it’s great in combination with Ruby on Rails. You can use Rails on the back end with React on the front end ... | https://www.sitepoint.com/react-rails-5-1/ | CC-MAIN-2022-21 | refinedweb | 4,775 | 64.1 |
Modern languages like JavaScript or Ruby provide the programmer with an option to “reopen” any class to add additional behavior to them. In the case of Ruby and JavaScript, this is not constrained in any way: You are able to reopen any class – even the ones that come with your language itself and there are no restricti... | https://blog.pilif.me/2009/04/28/do-not-change-base-library-behavior/ | CC-MAIN-2021-04 | refinedweb | 878 | 60.04 |
Array.
Thanks for the summary – very informative.
Why do you recommend to not use List<T> in public APIs?
So in a public API that you are shipping, you want to use Collection<T> by deriving from it, correct?
What about if you are not developing an API, but a layered app and you are exposing classes/collections from a ... | https://blogs.msdn.microsoft.com/kcwalina/2005/09/23/system-collections-vs-system-collection-generic-and-system-collections-objectmodel/ | CC-MAIN-2016-40 | refinedweb | 615 | 64.81 |
The examples I found were either too detailed-too quickly, or too simple to make much progress with. I like my example because it can easily be added to, and can likely be adapted to demonstrate other patterns as well.
Pre-requisites: You should be comfortable with WinForms, events, methods, properties, classes and int... | https://www.dreamincode.net/forums/topic/342849-introducing-mvp-model-view-presenter-pattern-winforms/ | CC-MAIN-2018-47 | refinedweb | 3,686 | 64.1 |
java.lang.Object
org.apache.cocoon.util.MIMEUtilsorg.apache.cocoon.util.MIMEUtils
public class MIMEUtils
A collection of
File,
URL and filename
utility methods.
public MIMEUtils()
public static String getMIMEType(File file) throws FileNotFoundException, IOException
file- File.
FileNotFoundException
IOException
public s... | http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/util/MIMEUtils.html | CC-MAIN-2014-35 | refinedweb | 174 | 51.75 |
Apache log4net™ Manual - Contexts
Most real-world systems have to deal with multiple clients simultaneously. In a typical multithreaded implementation of such a system, different threads will handle different clients. Logging is especially well suited to trace and debug complex distributed applications. An approach to ... | http://logging.apache.org/log4net/release/manual/contexts.html | CC-MAIN-2016-30 | refinedweb | 813 | 55.84 |
Setup
import numpy as np import tensorflow as tf from tensorflow import keras from tensorflow.keras import layers tf.keras.backend.clear_session() # For easy reset of notebook state.
Introduction
The Keras functional API is a way to create models that is more flexible than the
tf.keras.Sequential API. The functional AP... | https://tensorflow.google.cn/guide/keras/functional | CC-MAIN-2020-24 | refinedweb | 859 | 51.55 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Romain Lenglet on 7/23/2009 8:44 AM: > On Thursday 23 July 2009 22:57:36 Romain Lenglet wrote: >> This allows us to test all the macros using AT_CHECK_MACRO, which is much >> cleaner and concise. >> Cf. the attached diff against the latest master branch. >> Sor... | http://lists.gnu.org/archive/html/autoconf-patches/2009-07/msg00043.html | CC-MAIN-2015-40 | refinedweb | 178 | 67.04 |
Bug Description
This shouldn't happen:
>>> class C(Implicit):
... l=[1,2,3]
... def __getitem__(self, i):
... return self.l[i]
...
>>> c=C()
>>> iter(c)
<iterator object at 0xb7dbb38c>
>>> list(_)
[1, 2, 3]
>>> c2=C().__of__(c)
>>> iter(c2)
Traceback (most recent call last):
File "<console>", line 1, in <module>
Attrib... | https://bugs.launchpad.net/zope2/+bug/360761 | CC-MAIN-2017-17 | refinedweb | 533 | 75.3 |
WELCOME TO SATELLITE-X
Satellite-X is a private company that offers consumers personal satellites. The purchase of a personal, private satellite includes launching it into a stable low-earth orbit, and a 5 year guarantee for it to remain in orbit and functional. Satellite-X is popular with the super rich who never want... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/canuckaholic/how-satellite-x-increases-developer-productivity-1i8j | CC-MAIN-2022-21 | refinedweb | 2,132 | 50.67 |
This document is for Django's SVN release, which can be significantly different from previous releases. Get old docs here: Django 1.0
Custom template tags and filters¶
Introduction¶
Django’s template system comes.()
Behind the scenes
For a ton of examples, read the source code for Django's default filters and tags. The... | http://docs.djangoproject.com/en/dev/howto/custom-template-tags/ | crawl-002 | refinedweb | 814 | 51.85 |
/* : Address.java,v 1.4 2002/11/22 21:06:57 brydon Exp $ */ package com.sun.j2ee.blueprints.customer; /** * This class represents all the data needed * for a customer's address. * This class is meant to be immutable. */ public class Address implements java.io.Serializable { private String streetName1; private String st... | http://docs.oracle.com/cd/E17802_01/blueprints/blueprints/code/adventure/1.0/src/com/sun/j2ee/blueprints/customer/Address.java.html | CC-MAIN-2014-15 | refinedweb | 146 | 51.55 |
,
With the factorial function, it is clear that the output grows quite rapidly as a function of its input. So I was wondering…
1) If I wanted to return a long value, what would be the correct way to do this? I noticed that, at least with my compiler, doing
works, but the original way I did it was replacing return 1 wit... | http://www.learncpp.com/cpp-tutorial/7-11-recursion/comment-page-1/ | CC-MAIN-2018-05 | refinedweb | 3,337 | 61.77 |
To retrieve messages from e-mail servers, you can use MailBee.NET IMAP and MailBee.NET POP3 components. Their main classes are Imap and Pop3, respectively.
These classes can also be used to manage e-mails and folders, such as delete messages, move them between folders, upload into a folder, search messages for various ... | https://afterlogic.com/mailbee-net/docs/getting_started_with_imap_pop3.html | CC-MAIN-2021-31 | refinedweb | 5,280 | 52.66 |
How to: Add Portal Administrators
Published: April 7, 2011
Updated: February 21, 2014
Applies To: Windows Azure
Applies To
- Windows Azure Active Directory Access Control (also known as Access Control Service or ACS)
Overview
In Windows.
Summary of Steps
To add new portal administrators, complete the following steps:
S... | http://msdn.microsoft.com/en-us/library/gg185959.aspx | CC-MAIN-2014-35 | refinedweb | 129 | 55.13 |
.
The new, larger VA Research will be organized into three separate
companies, "VA Linux Systems, which will build and sell machines and
support them; VA Linux Labs, a facility dedicated to enhancing and
growing the open source code operating system; and Linux.com, a
soon-to-debut portal."
Linux beat Windows NT handily... | http://lwn.net/1999/0429/bigpage.php3 | CC-MAIN-2013-48 | refinedweb | 3,902 | 63.59 |
I have to make yet another quiz and I am COMPLETELY lost.
I have to make use of classes, so one java file that uses the class file of another java code that tells the other what to do.
I have one class file containing:
Code java:
/** Rectangle class, phase 3 Under construction! */ public class FillInBlank { private Str... | http://www.javaprogrammingforums.com/%20java-theory-questions/14820-making-java-quiz-classes-printingthethread.html | CC-MAIN-2014-10 | refinedweb | 239 | 59.74 |
#include <tagUtils.h> GAnnotations *ctagget( GapIO *io, int gel, char *type); GAnnotations *vtagget( GapIO *io, int gel, int num_t, char **type);
These function provides a mechanism of iterating around all the available tags
of particular types on a given reading or contig number. The
ctagget
function searches for a si... | http://staden.sourceforge.net/scripting_manual/scripting_169.html | CC-MAIN-2016-07 | refinedweb | 251 | 70.02 |
Hi, i need to call a toString method in another one of my toString methods, however i am getting a compiling erroe each time, can anyone look at the code below and let me know what i have done wrong?
Thanks in advance.
(Contact class)
Code :
public String toString() { String output = "First Name: " + fName + "\n" + "Se... | http://www.javaprogrammingforums.com/%20whats-wrong-my-code/16972-tostring-problem-printingthethread.html | CC-MAIN-2016-30 | refinedweb | 106 | 58.82 |
CLR is abbreviation of Common Language Runtime. In SQL Server 2005 and later version of it database objects can be created which are created in CLR. Stored Procedures, Functions, Triggers can be coded in CLR. CLR is faster than T-SQL in many cases. CLR is mainly used to accomplish task which are not possible by T-SQL o... | http://blog.sqlauthority.com/2008/10/19/sql-server-introduction-to-clr-simple-example-of-clr-stored-procedure/?like=1&source=post_flair&_wpnonce=843d76250c | CC-MAIN-2014-42 | refinedweb | 954 | 58.28 |
0
Hello Daniweb,
I'm learning Python at the moment, and I'm starting by looking at automating some of my server tasks, namely things like backups, virus scans and checking for IP changes (being on a dynamic IP, automating this task will be very helpful).
I've started by creating some code which I shall run at night whe... | https://www.daniweb.com/programming/software-development/threads/445877/python-code-efficiency-for-the-beginner | CC-MAIN-2017-09 | refinedweb | 242 | 55.44 |
30 March 2012 12:27 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
The plant, in Ningbo, Zhejiang province, eastern China, which produces PO using the styrene monomer/propylene oxide (SM/PO) process, has a nameplate capacity of 285,000 tonnes/year of PO and can produce up to 620,000 tonnes/year of SM.
The source... | http://www.icis.com/Articles/2012/03/30/9546254/chinas-nzlc-restarts-po-plant-to-ramp-up-operations.html | CC-MAIN-2014-42 | refinedweb | 143 | 57.4 |
AsyncStorage in React Native and how to use it with app state manager
AsyncStorage is React Native’s API for storing data persistently over the device. It’s a storage system that developers can use and save data in the form of key-value pairs. If you are coming from a web developer background, it resembles a lot like l... | http://semantic-portal.net/react-native-asyncstorage | CC-MAIN-2022-05 | refinedweb | 768 | 52.8 |
Christine Dodrill - Blog - Contact - Gallery - Resume - Talks | GraphViz - When Then Zen
–
import "vanbi"
Package vanbi defines the Vanbi type, which carries temcis, sisti signals, and other request-scoped meknaus across API boundaries and between processes.
Incoming requests to a server should create a Vanbi, and outg... | https://christine.website/blog/vanbi-01-08-2019 | CC-MAIN-2019-47 | refinedweb | 1,283 | 58.08 |
The Rat Eats The Cheese
May 14, 2019
A square maze contains cheese wedges on some of its squares:
· · · 🧀 · · · · · · · 🧀 · 🧀 🧀 · · 🧀 · 🧀 · · · · ·
[ Did you know there is a cheese-wedge character in Unicode? I didn’t. The center-dot is & # 183 ;, the cheese is & # 129472 ;, and I had to sprinkle in a few & thins... | https://programmingpraxis.com/2019/05/14/12678/ | CC-MAIN-2022-27 | refinedweb | 454 | 81.43 |
1 /* infback9.h -- header for using inflateBack9 functions 2 * Copyright (C) 2003 Mark Adler 3 * For conditions of distribution and use, see copyright notice in zlib.h 4 */ 5 6 /* 7 * This header file and associated patches provide a decoder for PKWare's 8 * undocumented deflate64 compression method (method 9). Use wit... | https://fossies.org/linux/muscle/zlib/zlib/contrib/infback9/infback9.h | CC-MAIN-2019-51 | refinedweb | 239 | 56.55 |
Headless WordPress with React - Complete Tutorial
This post originally appeared on my Medium account.
An intro to building decoupled WordPress-powered websites using the WordPress REST API and Create React App
In recent months, I’ve taken a big interest in the WordPress REST API (hereto referred to as the WP-API) and R... | https://codepen.io/jchiatt/post/headless-wordpress-with-react-complete-tutorial | CC-MAIN-2018-05 | refinedweb | 3,369 | 69.41 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.