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 |
|---|---|---|---|---|---|
> Ashlesha Shintre wrote:
>
> Hi,
>
> I m using the 2.6.14.6 tree and trying to get the kernel
> running on the
> Encore M3 board.
>
> The kernel crashes during the boot process at the
> early_initcall.
What is the exact output from the crash?
> This function doesnt seem to be defined anywhere.
It's not a function, but... | http://www.linux-mips.org/archives/linux-mips/2006-09/msg00009.html | CC-MAIN-2015-35 | refinedweb | 189 | 64.91 |
Kaboose Queue (kabqueue)
The Kaboose Queue system is designed to handle asynchronous generic tasks (or messages). The main function of this system is to take the load off the request cycle. We use this system to send out e-mail, perform intensive image or video tasks, asynchronous network operations, etc.
We had a few ... | http://code.google.com/p/kabqueue/ | crawl-002 | refinedweb | 415 | 57.98 |
Exercise 6 has us working with more structs. This time we create a dynamically allocated array of structures. This sounds interesting but is not too difficult after you start putting code to compiler. Essentially, you create your array, declare variables that were mentioned int the text, use the “new” keyword to allow ... | https://rundata.wordpress.com/2012/12/11/c-primer-chapter-6-exercise-6/ | CC-MAIN-2017-26 | refinedweb | 319 | 62.38 |
SANSA RDFSANSA RDF
DescriptionDescription
SANSA RDF is a library to read RDF files into Spark or Flink. It allows files to reside in HDFS as well as in a local file system and distributes them across Spark RDDs/Datasets or Flink DataSets./DataSets of triples. We name such an RDD/DataSets a main dataset. The main datase... | https://index.scala-lang.org/sansa-stack/sansa-rdf/sansa-rdf-common/0.6.0?target=_2.11 | CC-MAIN-2019-30 | refinedweb | 555 | 56.55 |
Hey there,
I am trying to plot multiple Indicators on a heatmap, and result a table similar to the following:
I tried to plot a single Indicator on a heatmap, but couldn’t place it to the desired place on the plot. How can I plot them to the middle of boxes?
Placing on “Morning” and “Monday” box for instance here:
impo... | https://community.plotly.com/t/plotting-indicators-on-a-heatmap/58830 | CC-MAIN-2022-05 | refinedweb | 156 | 56.05 |
Angular Master Class in Málaga
Join our upcoming public training!Get a ticket →
In our article on styling Angular components we learned how styles are applied to our component when defining them in different ways. We mentioned that all our component styles are appended to the document head, but usually would end up in ... | https://blog.thoughtram.io/angular/2015/06/29/shadow-dom-strategies-in-angular2.html | CC-MAIN-2019-35 | refinedweb | 1,770 | 65.22 |
For some work that I am doing recently, I need the following operation to be done.
def myfunc(a, b):
return a*b # some operation here
a = [1,2,3]
b = [2,4,6,8]
print [[myfunc(i, j) for i in a] for j in b]
numpy
a
b
You can use numpy broadcasting:
a = np.array([1,2,3]) b = np.array([2,4,6,8]) a = a[:, None] b = b[None, ... | https://codedump.io/share/eI9VK5wqECHm/1/equivalent-using-numpy | CC-MAIN-2016-50 | refinedweb | 210 | 79.8 |
Sortable Drag and Drop Discussion
Just a heads up, in your Gemfile, bootstrap 4 beta no longer uses tether for tooltips, now uses popper.js which is now a dependency of the bootstrap 4 gem
Yeah! Popper is nice to have instead. Screencast was using an old version of my Rails template which has been updated already, just... | https://gorails.com/forum/sortable-drag-and-drop-example-gorails | CC-MAIN-2021-31 | refinedweb | 1,037 | 52.56 |
Multifiles
A multifile is a file that contains a set of files, similar to a .zip or .rar archive file. They are meant for containing multiple resources such as models, textures, sounds, shaders, and so on, and Panda can load them directly from the multifiles without having to unpack them first. Many games employ a simi... | https://docs.panda3d.org/1.10/python/programming/advanced-loading/multifiles | CC-MAIN-2022-33 | refinedweb | 1,465 | 50.12 |
Emgu Integration with .NET: Integrating Images
OpenCV is a very popular library written in the native C and C++ programming languages for processing images. Programmers familiar with the C# and Visual Basic.NET languages often face challenges in using OpenCV. Luckily for C# developers, a cross platform .NET wrapper to ... | https://www.codeguru.com/csharp/emgu-integration-with-.net-integrating-images.html | CC-MAIN-2019-26 | refinedweb | 837 | 59.4 |
I’ve read the AngularJS documentation on the topic carefully, and then fiddled around with a directive. Here’s the fiddle.
And here are some relevant snippets:
From the HTML:
<pane bi-{{text}}</pane>
From the pane directive:
scope: { biTitle: '=', title: '@', bar: '=' },
There are several things I don’t get:
- Why do I... | https://exceptionshub.com/what-is-the-difference-between-and-in-directive-scope-in-angularjs.html | CC-MAIN-2022-05 | refinedweb | 2,164 | 62.68 |
Sample size required for no failures¶
The function sample_size_no_failures is used to determine the minimum sample size required for a test in which no failures are expected, and the desired outcome is the lower bound on the reliability based on the sample size and desired confidence interval.
API Reference
For inputs ... | https://reliability.readthedocs.io/en/stable/Sample%20size%20required%20for%20no%20failures.html | CC-MAIN-2022-27 | refinedweb | 358 | 50.77 |
18 November 2009 17:51 [Source: ICIS news]
LONDON (ICIS news)--International Petroleum Investment Co (IPIC) is considering a number of initiatives with different chemical companies, a spokesman with the Abu Dhabi-based company said on Wednesday.
IPIC was reacting to earlier press reports that the group was in discussio... | http://www.icis.com/Articles/2009/11/18/9265216/ipic-considers-initiatives-with-chemical-companies.html | CC-MAIN-2015-11 | refinedweb | 298 | 50.97 |
We used Django REST framework for a while now. Nothing spectacular yet. In most cases we’re only returning a bit of JSON. We chose Django REST framework over Piston because that one was effectively unmaintained at the time. We chose it over tastypie because of the great way in which Django REST framework presents your ... | https://reinout.vanrees.org/weblog/2012/12/04/django-rest-framework-2.html | CC-MAIN-2019-04 | refinedweb | 414 | 76.11 |
FPUTWC(3P) POSIX Programmer's Manual FPUTWC(3P)
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
fputwc — put a wide-character co... | https://www.man7.org/linux/man-pages/man3/fputwc.3p.html | CC-MAIN-2022-27 | refinedweb | 146 | 58.99 |
Java | Packages | Question 1
Which of the following is/are true about packages in Java?
1) Every class is part of some package. 2) All classes in a file are part of the same package. 3) If no package is specified, the classes in the file go into a special unnamed package 4) If no package is specified, a new package is ... | https://www.geeksforgeeks.org/java-packages-question-1/ | CC-MAIN-2021-17 | refinedweb | 151 | 71.85 |
Get the highlights in your inbox every week.
A guide to logging in Python
A guide to logging in Python
Logging is a critical way to understand what's going on inside an application.
Subscribe now.The same way we document code for future developers, we should direct new software to generate adequate logs for developers ... | https://opensource.com/article/17/9/python-logging | CC-MAIN-2019-35 | refinedweb | 3,042 | 56.66 |
Use PowerShell to Get the SQL Server Error Log
Summary: Microsoft Scripting Guy, Ed Wilson, talks about different ways to use Windows PowerShell to get the SQL Server error log.
Hey, Scripting Guy! I have recently inherited a Microsoft SQL Server 2008 R2 box, and I am concerned about the thing. I am not a DBA, and to b... | https://devblogs.microsoft.com/scripting/use-powershell-to-get-the-sql-server-error-log/ | CC-MAIN-2020-40 | refinedweb | 1,413 | 64.71 |
import sysimport twython print 'Arguments:',sys.argv[1] nounsstring = open("/Users/ranmo/Desktop/Nouns.txt", "r").read() adjectivesstring = open("/Users/ranmo/Desktop/Adjectives.txt", "r").read() nouns = list() adjectives = list() newNouns = list() number =0 nouns = nounsstring.split("\r\n") adjectives = adjectivesstri... | http://www.ranmoo.com/mrrm-2/288 | CC-MAIN-2017-26 | refinedweb | 388 | 60.41 |
I am currently trying to build a simple web application in Ruby on Rails connecting to the OMBD api. I am new to Ruby and coding in general. I am trying to run a FOR loop to collect all the titles from a search query. Here is my method
def self.findAllTitles(title)
allresponses = []
for page in 1..100 do
url="{title}&p... | https://codedump.io/share/MTVIESi2RjxG/1/simple-api-call-to-parse-json | CC-MAIN-2016-50 | refinedweb | 141 | 61.93 |
« Gecko Plugin API Reference « Plug-in Side Plug-in API
Summary
Provides a local file name for the data from a stream.
Syntax
#include <npapi.h> void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname);
Parameters
The function has the following parameters:
- instance
- Pointer to current plug-in instanc... | https://developer.mozilla.org/en-US/Add-ons/Plugins/Reference/NPP_StreamAsFile | CC-MAIN-2016-40 | refinedweb | 150 | 65.22 |
You can purchase the STA013 and CS4334 directly from PJRC:
Aries makes adaptors that are ideal for connecting the STA013
in a prototype, which DIP pins are easier to use. The adaptor
shown in Figure 2 is available at
DigiKey (P/N: A323-ND).
This is actually a 32 pin adaptor, so 4 pins are unused with
the 28 pin STA013.... | http://www.pjrc.com/tech/mp3/sta013.html | crawl-001 | refinedweb | 4,340 | 70.02 |
Title: Hurd Debian-Installer (draft)
Student: Jeremie Koenig <jk@jk.fr.eu.org>, jkoenig@{freenode,oftc}
Mentor: Samuel Thibault (youpi) <sthibault@debian.org>
Abstract: Debian GNU/Hurd is currently installed either using outdated CD images, or from an existing Debian GNU/Linux system using the 'crosshurd' package. The ... | https://wiki.debian.org/SummerOfCode2010/HurdDebianInstaller/JeremieKoenig | CC-MAIN-2020-29 | refinedweb | 1,739 | 59.33 |
CPANPLUS - Command-line access to the CPAN interface
cpanp cpanp -i Some::Module perl -MCPANPLUS -eshell perl -MCPANPLUS -e'fetch Some::Module' ### for programmatic interfacing, see below ###
The
CPANPLUS library is an API to the
CPAN mirrors and a collection of interactive shells, commandline programs, daemons, etc, t... | http://search.cpan.org/~kane/CPANPLUS-0.059_01/lib/CPANPLUS.pm | CC-MAIN-2017-30 | refinedweb | 756 | 64.71 |
Build startup_cortexA15MPcore using GNU toolchain. URGENT.Mazen Ezzeddine Jul 3, 2014 5:33 PM
Dear all,
I am trying to build the example startup_cortexA15MPcore (provided with DS-5) using GNU toolchain. The example is originally designed for build using ARM standard tools, and the following variables are hence defined ... | https://community.arm.com/thread/6201 | CC-MAIN-2016-30 | refinedweb | 533 | 66.64 |
This site uses strictly necessary cookies. More Information
Is there a way to get the list of axes, or enumerate them somehow, defined in the InputManager? I know I can get them if I know there name. I want to get all the defined ones, to find their names and such.
What would be the point? Axes can't be dynamically add... | https://answers.unity.com/questions/566736/get-list-of-axes.html | CC-MAIN-2021-49 | refinedweb | 669 | 55.74 |
py.setup_int_pin_wake_up() has no effect when a button is pushed
I have installed a simple push button on my board connected to GND and P9(G16) of the external IO header.
My little test code looks like this:
def goSleep(): print("Do not wake up by accelerometer") py.setup_int_wake_up(False, False) print("Setting P9 to ... | https://forum.pycom.io/topic/2951/py-setup_int_pin_wake_up-has-no-effect-when-a-button-is-pushed/ | CC-MAIN-2019-39 | refinedweb | 566 | 64.61 |
On Mar 18, 11:11 am, "R. David Murray" <rdmur... at bitdance.com> wrote: > I don't have any wisdom on the metaclass/decorator stuff, but what > about slightly reformulating the interface? Instead of having the > programmer type, eg: > > @GET > def foo(self): pass > > @POST > def foo(self): pass > > have them type: > > ... | https://mail.python.org/pipermail/python-list/2009-March/529347.html | CC-MAIN-2016-36 | refinedweb | 385 | 67.79 |
This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
I attempted to send this to both java and gcc lists yesterday, but there seems to have been a mailer glitch ... -----Original Message----- From: Boehm, Hans To: 'gcc@gcc.gnu.org'; 'java@gcc.gnu.org' Sent: 5/17/02 7:30 PM On Linux/IA64, an... | https://gcc.gnu.org/legacy-ml/gcc/2002-05/msg01752.html | CC-MAIN-2020-40 | refinedweb | 296 | 74.79 |
Results 1 to 2 of 2
Hi, I am trying to start writing a basic VFS module for linux that can be imported directly into the kernel using insmod but I get the following error when ...
- Join Date
- Feb 2014
- 1
File System module not compiling?
Code:
#include <linux/kernel.h> #include <linux/init.h> #include <linux/module.... | http://www.linuxforums.org/forum/kernel/200151-file-system-module-not-compiling.html | CC-MAIN-2014-42 | refinedweb | 268 | 58.89 |
The Q3ListView class implements a list/tree view. More...
#include <Q3ListView>
This class is part of the Qt 3 support library. It is provided to keep old source code working. We strongly advise against using it in new code. See Porting to Qt 4 for more information.
Inherits: Q3ScrollView.
The Q3ListView class implemen... | http://doc.trolltech.com/main-snapshot/q3listview.html | crawl-003 | refinedweb | 4,266 | 67.86 |
Network Working Group A. Valencia
Request for Comments: 2341 M. Littlewood
Category: Historic T. Kolar
Cisco Systems
May 1998
Cisco Layer Two Forwarding (Protocol) "L2F"
Status of Memo
This memo describes a historic protocol for the Internet community.
It does not specify an Internet standard of any kind. Distribution
... | http://www.faqs.org/rfcs/rfc2341.html | CC-MAIN-2015-48 | refinedweb | 7,348 | 53.61 |
GetTokenByPosition(string, string, int)
Return the i'th token in the string, by delimiter.
string GetTokenByPosition( string sString, string sDelimiter int nPos );
Parameters
sString
The string to be split up into parts (tokens).
sDelimiter
The delimiter used to split up the string.
nPos
The position (=number) of the t... | http://palmergames.com/Lexicon/Lexicon_1_69/function.GetTokenByPosition.html | CC-MAIN-2015-14 | refinedweb | 196 | 56.76 |
27 August 2010 16:29 [Source: ICIS news]
SAO PAULO (ICIS)--?xml:namespace>
Chemical output rose in July to the highest level since January 2000, according to the association.
This year has seen greater domestic demand than in 2009, Abiquim said.
When compared with June, July output increased 9.05%, Abiquim said.
July d... | http://www.icis.com/Articles/2010/08/27/9389036/brazil-july-chemical-output-rises-3.39-year-on-year.html | CC-MAIN-2014-42 | refinedweb | 102 | 71.21 |
calagrid not working
Datagrid not working The code here is working fine, apart from the fact that that I'm using netbeans 6.5 and the servlet v2.5 and struts 1.1.... working. please help me out
Struts
Struts When Submit a Form and while submit is working ,press the Refresh , what will happen in Struts...:
calender in s... | http://roseindia.net/tutorialhelp/comment/17143 | CC-MAIN-2015-22 | refinedweb | 511 | 60.41 |
Hello, I am an absolute beginner that just started, and i need help with online course homework.
Instruction
Using Pseudocode:
Pseudocode with Input and Output
The goal is to write a program that asks the user to answer a joke and then print the response to the screen.
The pseudocode for this program could look like: I... | https://www.freecodecamp.org/forum/t/i-need-help-for-my-online-course-homework/228639 | CC-MAIN-2018-43 | refinedweb | 119 | 76.72 |
pci.ids(5) The PCI Utilities pci.ids(5)
pci.ids - list of known identifiers related to PCI devices
Devices on the PCI bus are identified by a combination of a vendor ID (assigned by the PCI SIG) and device ID (assigned by the vendor). Both IDs are 16-bit integers and the device itself provides no translation to a human... | https://www.man7.org/linux/man-pages/man5/pci.ids.5.html | CC-MAIN-2020-29 | refinedweb | 606 | 52.09 |
The.
See also
Most of the time, tkinter, tkinter.constants being one of the most important. Importing tkinter will automatically import tkinter.constants, so, usually, to use Tkinter all you need is a simple import statement:
import tkinter
Or, more often:
from tkinter import *()
The")
Options)
For more extensive infor... | https://docs.python.org/3.2/library/tkinter.html | CC-MAIN-2018-05 | refinedweb | 180 | 54.02 |
The UPC Specification does not address language interoperability issues, and so the interfaces described here should be considered Berkeley UPC extensions.
NOTE: if -pthreads is used to generate UPC executables, differences emerge between C and UPC global variables, and function calls become the only interface from oth... | http://upc.lbl.gov/download/berkeley_upc-2.4.0/docs/html/user/interoperability.html | crawl-001 | refinedweb | 1,410 | 64 |
How to use C# if else statements
The conditional statement if.. else in C# is using for check the conditions that we provided in the head of if statement and making decision based on that condition. The conditional statement examining the data using comparison operators as well as logical operators. The else statement ... | http://csharp.net-informations.com/statements/csharp-if-else.htm | CC-MAIN-2016-26 | refinedweb | 475 | 67.49 |
Hi all!
I'm trying to build Beast, a sound composer/synth. I have no problems with the building process, except it needs OSS devices to build. So, someone will have SND_PCM_OSS statically compiled, maybe others (like me) have a module, someone won't have the support at all! ALSA support is a separate add-on which has t... | https://bbs.archlinux.org/viewtopic.php?id=9644 | CC-MAIN-2018-17 | refinedweb | 674 | 73.27 |
> > This is not my point. Wether you have an order by or not,
> lucene will
> > compute the score of all hits anyway. So, no order by, does
> not mean
> > that lucene does not order: it orders on score (but ofcourse you
> > already know that :-) ) So, my thing holds with and without
> order by.
> Marcel Reutegger wrote... | http://mail-archives.apache.org/mod_mbox/jackrabbit-dev/200711.mbox/%3CF8E386B54CE3E6408F3A32ABB9A7908A57599D@hai02.hippointern.lan%3E | CC-MAIN-2015-11 | refinedweb | 409 | 66.33 |
hello...
u might think this question is too basic...but i really want a good explanation on 'this' object reference in java. although i read about it in so many books but up till now i still couldnt really understand about 'this'. can someone please help me???
tx!
No question is stupid, essentially! The "this" keyword ... | http://forums.devx.com/showthread.php?138151-this-object-reference&p=408302 | CC-MAIN-2015-18 | refinedweb | 338 | 77.13 |
The structure is simple, still a few interesting points are touched.
Client
Given io, the app ASIO io_context, and the server hostname as a string, the client tries this block, and eventually just output to console an exception.
namespace ba = boost::asio; using ba::ip::tcp; // ... tcp::socket socket{ io }; // 1 tcp::r... | http://thisthread.blogspot.com/2018/03/boost-asio-echo-tcp-synchronous-client.html | CC-MAIN-2018-43 | refinedweb | 588 | 62.58 |
Solution
Arithmetic Slices II - Subsequence
Dynamic Programming Solution
- sub_problem[i,d] = Number of arthimetic sequences of length 2 or more which end at index i and have difference as d. Note we said length 2 or more and not 3.
- Say we have an array called cache where every element of cache is a dictionary. The k... | https://discuss.leetcode.com/topic/74727/python-solution-with-detailed-explanation | CC-MAIN-2017-34 | refinedweb | 384 | 62.17 |
27 November 2012 13:29 [Source: ICIS news]
HOUSTON (ICIS)--Jacobs has won a contract for work on a sulphur recovery unit (SRU) by ?xml:namespace>
Jacobs said that the unit will be part of VKG’s investment to upgrade a shale oil refinery complex in
Under the deal, Jacobs will license its technology and will provide the ... | http://www.icis.com/Articles/2012/11/27/9618686/us-jacobs-wins-contract-for-sulphur-recovery-unit-in.html | CC-MAIN-2014-10 | refinedweb | 110 | 50.16 |
Today I'll show how to build Windows Service in C# using Visual Studio 2010.
First, open Visual Studio and create Windows Service project.
Visual Studio will create a WindowsService.cs file, let's add some code to it:
public WindowsService() { this.ServiceName = "My Windows Service"; this.EventLog.Source = "My Windows ... | http://www.codearsenal.net/2012/07/windows-service-in-c-sharp-with-setup.html?showComment=1400224927160 | CC-MAIN-2020-24 | refinedweb | 505 | 60.11 |
Java Technology Fundamentals Learn about the Java programming language and platform, and how to create applications. 2008-05-09T04:03:44-07:00 Apache Roller Weblogger The 2008 JavaOne Conference: For New Developers dananourie 2008-04-24T11:25:30-07:00 2008-04-24T11:25:30-07:00 Read how new developers and students can b... | http://blogs.sun.com/JavaFundamentals/feed/entries/atom | crawl-001 | refinedweb | 13,149 | 50.77 |
Re: Windows Services GUI
From: Iain Mcleod (mcleodia_at_dcs.gla.ac.uk)
Date: 10/07/04
- ]
Date: Thu, 7 Oct 2004 22:08:17 +0100
See the thread entitled:
Open a form from a Windows Service
It's very recent and discusses exactly what you are talking about.
I shall paste the reply below:
Regards
Iain
Rob,
SQL Server has a ... | http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.languages.vb/2004-10/1726.html | crawl-002 | refinedweb | 636 | 58.28 |
This section describes some of the basics about working with applets that use the JDBC Thin driver. It begins with a simple example of coding a JDBC applet, it then describes what you must do to allow the applet to connect to a database. This includes how to use the Oracle8 Connection Manager or signed applets if you a... | http://www.csee.umbc.edu/help/oracle8/java.815/a64685/advanc2.htm | crawl-002 | refinedweb | 1,641 | 59.09 |
Django recipe: Remove newlines from a text block
I like to keep a Django app called "toolbox" or "utils" in my projects where I store odds and ends. One recent addition is this quickie function for removing any newlines characters found in a block of text.
One place I find it useful is when I'm looking to dump scraped ... | http://palewi.re/posts/2009/09/01/django-recipe-remove-newlines-text-block/ | CC-MAIN-2019-09 | refinedweb | 209 | 51.65 |
Today I published a new Ruby on Rails sample, the Office 365 VCF Import/Export Sample. It's basically a simple tool that allows a user to export contacts from her Office 365 mailbox to vCard files, or import vCard files into her contacts.
But wait, there's more! Instead of implementing the Contacts API in the sample, I... | https://blogs.msdn.microsoft.com/exchangedev/2015/03/24/ruby-gem-for-mail-calendar-and-contacts-apis/ | CC-MAIN-2017-34 | refinedweb | 944 | 65.62 |
Handling False Positives in PVS-Studio and CppCat
It occurred to me recently to reanalyze the Newton Game Dynamics physics engine. The project's code is very high-quality, so there were almost no genuine bugs detected, but I did get a few dozens of false positives. Seems like there's nothing to write about, doesn't it?... | http://www.viva64.com/en/b/0263/ | CC-MAIN-2016-26 | refinedweb | 4,819 | 58.18 |
lp:~matsubara/maas/fix-maas-cc-sed-precise-sru
- Get this branch:
- bzr branch lp:~matsubara/maas/fix-maas-cc-sed-precise-sru
Branch merges
- Raphaël Badin (community): Approve on 2013-04-11
- Diff: 12 lines (+1/-1)1 file modifieddebian/maas-cluster-controller.postinst (+1/-1)
Related bugs
Related blueprints
Branch inf... | https://code.launchpad.net/~matsubara/maas/fix-maas-cc-sed-precise-sru | CC-MAIN-2019-39 | refinedweb | 389 | 51.24 |
One of the advantages of interpreted languages, like Python, is that when your vendor ships a tool that uses Python… you can see how the Python bits actually work. Or maybe seeing how the sausage is made is a disadvantage?
Delana's vendor tool needs to determine the IP address of the computer in a platform independent ... | https://thedailywtf.com/articles/a-proper-mode-of-address | CC-MAIN-2021-43 | refinedweb | 797 | 73.68 |
It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
Hi,
I have not able to find this info anywhere.
Is there a way that we can have the Summary and Description fields pre-populated with a text template when an end-user clicks on the "+ Create Is... | https://community.atlassian.com/t5/Jira-questions/Pre-filled-fields-upon-quot-Create-issue-quot/qaq-p/310954 | CC-MAIN-2018-34 | refinedweb | 413 | 64.41 |
[
]
Harald Wellmann edited comment on OPENJPA-1784 at 9/8/10 9:37 AM:
------------------------------------------------------------------
The attachment MapUpdate.patch contains a unit test exhibiting the problem. A test which updates
a map key passes. Another test which only update the map value fails.
was (Author: hwe... | http://mail-archives.apache.org/mod_mbox/openjpa-dev/201009.mbox/%3C19645419.75391283953057793.JavaMail.jira@thor%3E | CC-MAIN-2017-13 | refinedweb | 166 | 51.95 |
By this time you know the routine. Put the answers in a directory named "assignment6". Include a README file and any other files (Python, data files, etc.) needed to do the assignment. Email me a gzip'ed or bzip'ed tar file of the directory, or a zip file.
When will I grade the previous homework? I like grading even le... | http://www.dalkescientific.com/writings/NBN/assignment_6.html | CC-MAIN-2018-34 | refinedweb | 2,241 | 63.9 |
This got back-burnered for awhile, but here's the fixed up copy from thelast round of feedback. Thanks to everyone that's given input. It's allbeen helpful and I think this copy reflects everything that wasdiscussed last time.If there's no major changes requested, the next time will be in diffformat for Documentation/ ... | http://lkml.org/lkml/2006/6/2/302 | CC-MAIN-2015-18 | refinedweb | 1,740 | 56.05 |
We have a public class C network that our company owns, we're moving from T-1 lines to cable, most of my public servers will be moving to a data center, but I still need the public class C network working, can this be done with a home type router in a Comcast connection?
Routing an IP network needs to be done through B... | http://serverfault.com/questions/181329/how-do-i-route-a-public-class-c-network-through-comcast-router | CC-MAIN-2014-49 | refinedweb | 565 | 77.67 |
When .NET 3.5 was released a lot of people wondered why ASP.NET 3.5 wouldn’t show up in IIS.
Well with .NET 4.5 you might be a bit more confused…
So first .NET 4.5 will not show up in IIS
But now if you check the Microsoft.NET framework folder you will see that you will not have a .NET 4.5 folder as well
Well Why ?
If ... | http://blogs.msdn.com/b/vijaysk/archive/2012/10/12/where-is-asp-net-4-5-wait-where-is-net-4-5.aspx?Redirected=true | CC-MAIN-2015-48 | refinedweb | 683 | 80.68 |
Game geeks will love it
By octav on Apr 09, 2007
import f3.ui.\*;
import f3.ui.canvas.\*;
import java.lang.System;
import java.lang.Math;
...
operation Lines.moveBallTo (to:LinesCell) {
var path:LinesCell\* = [to];
while(to.marker <> 0) {
to = getMinimumAround(to);
insert to as first into path;
} //OK. We have Path
act... | https://blogs.oracle.com/octav/entry/game_geeks_will_love_it | CC-MAIN-2015-48 | refinedweb | 223 | 69.99 |
Image
The Image component is used to display images.
Image composes
CBox so you can use all the style props and add responsive
styles as well.
import { CImage } from "@chakra-ui/vue";
<c-box <c-image </c-box>
The size of the image can be adjusted using the
size prop.
<c-stack is-inline> <c-image <c-image <c-image </c-s... | https://vue.chakra-ui.com/image | CC-MAIN-2020-40 | refinedweb | 217 | 56.66 |
With the InkCanvas element in WPF you can create stunning inking experiences for TabletPC users (mouse users can play along, too!). Several very cool scenarios can be enabled just by writing markup - without any additional code behind.
Here is a first example: an ink input field (takes input from either stylus or mouse... | http://blogs.msdn.com/swick/archive/2007/10/31/fun-with-ink-xaml-part1-ink-reflections.aspx | crawl-002 | refinedweb | 827 | 64.1 |
I've seen the following code in a couple Python projects, in
__main__.py
__main__.py
sys.path
__package__ is None and not hasattr(sys, 'frozen')
sys.path.insert
os.path.dirname
import sys
if __package__ is None and not hasattr(sys, 'frozen'):
# direct call of __main__.py
import os.path
path = os.path.realpath(os.path.a... | https://codedump.io/share/XHkSPo6Yuwui/1/purpose-of-some-boilerplate-code-in-mainpy | CC-MAIN-2017-09 | refinedweb | 219 | 77.84 |
this is my first Arduino project it is quite simple to make .
it will take about half an hour to make it it's quite simple as you think
you can also make it by following steps given below and make have fun it's give me create joy when I finally made it .
now it's your turn to make it.
just follow the steps given under ... | https://www.instructables.com/id/Bluetooth-Control-Car-With-Arduino/ | CC-MAIN-2019-22 | refinedweb | 669 | 53.31 |
Hello everyone,
I was playing around with Java Swing since i wanted to learn more about it. I have 2 .java files as follows:
import java.awt.*; import javax.swing.*; import java.awt.event.*; public class Easy extends JFrame{ JTextArea text=new JTextArea(); JPanel panel=new JPanel(new GridLayout(2,2)); JButton button1 =... | http://www.javaprogrammingforums.com/awt-java-swing/33543-make-jtextarea-act-console.html | CC-MAIN-2014-10 | refinedweb | 202 | 63.9 |
qtextistream.3qt man page
QTextIStream — Convenience class for input streams
Synopsis
All the functions in this class are reentrant when Qt is built with thread support.</p>
#include <qtextstream.h>
Inherits QTextStream.
Public Members
QTextIStream ( const QString * s )
QTextIStream ( QByteArray ba )
QTextIStream ( FIL... | https://www.mankier.com/3/qtextistream.3qt | CC-MAIN-2018-05 | refinedweb | 122 | 68.97 |
The CPAN is one of the most prolific collections of open source software on the Internet. At the time of noding this, there are nearly 3,000 authors and over 10,000 distributions1. CPAN is often cited as a reason for why Perl is the language of choice, as for every programming task, someone has nearly always already wr... | https://everything2.com/title/Comprehensive+Perl+Archive+Network | CC-MAIN-2017-47 | refinedweb | 1,067 | 63.8 |
Hello, I'm using NetBeans 6.9 on GNU/Linux (Ubuntu 10.10)
When I run this,
..all I get is....all I get is..Code:#include <iostream>; using namespace std; void showname(); void showage(); int main(){ showname(); showage(); return 0; } void showname(){ int name; cout << "What is your name?" << endl; cin >> name; cout << ... | http://cboard.cprogramming.com/cplusplus-programming/138507-void-returning-functions.html | CC-MAIN-2016-07 | refinedweb | 109 | 96.79 |
It’s been a week since we announced first public EAP build for the AppCode and now we can say it’s adoption has beaten our highest hopes. We’ve received a lot of constructive feedback and that’s what we like most – working hard if we have interesting stuff to do.
So we’ve got a new build for you to try. The most notice... | https://blog.jetbrains.com/objc/2011/04/a-week-later-new-stuff-to-try/ | CC-MAIN-2018-09 | refinedweb | 378 | 73.98 |
However, if you take a look at the code for that method, you will notice there is no code to create any Task and that the return statement returns the result of a sum of two decimal variables. The code just returns a decimal but the async modifier will wrap and unwrap the decimal variable under the hoods. We don't need... | http://www.drdobbs.com/tools/using-asynchronous-methods-in-aspnet-45/240008768?pgno=3 | CC-MAIN-2015-40 | refinedweb | 608 | 56.15 |
this was used in 1.4. libguile-1.6 .c source uses it as #ifndef, however both snarf.h and guile-snarf have been in the meantime changed to not define this. 1.6 snarfing differs from 1.4 primarily in that there are now two kinds: init and doc, as opposed to merely init. in defining the names of the specialization-trigge... | http://lists.gnu.org/archive/html/guile-devel/2002-03/msg00136.html | CC-MAIN-2017-30 | refinedweb | 190 | 73.37 |
Last night I presented VB Whidbey at the .NET Developer Association General Meeting here in Redmond. I was on after Dave Winer and Robert Scoble spoke on blogs and RSS, etc. It is no coincidence that my blog debuts the very next day. Thanks to Dave and Robert for inspiring me.
My hour was all demos. I showed several ID... | http://blogs.msdn.com/rgreen_msft/archive/2004/02/10/71037.aspx | crawl-002 | refinedweb | 480 | 75.5 |
Divide N segments into two non-empty groups such that given condition is satisfied
Given N segments (or ranges) represented by two non-negative integers L and R. Divide these segments into two non-empty groups such that there are no two segments from different groups that share a common point. If if it is possible to d... | https://www.geeksforgeeks.org/divide-n-segments-into-two-non-empty-groups-such-that-given-condition-is-satisfied/ | CC-MAIN-2019-18 | refinedweb | 740 | 53.75 |
Serving Static Files
It’s often useful to load static files like images and videos when creating components and stories.
Storybook provides two ways to do that.
1. Via Imports1. Via Imports
You can import any media assets by simply importing (or requiring) them as shown below.
import React from 'react'; import { storie... | https://storybook.js.org/docs/configurations/serving-static-files/ | CC-MAIN-2019-26 | refinedweb | 377 | 51.24 |
Authorization¶
Once a project is set up, you will still have to follow a few steps before you can actually use Pyrogram to make API calls. This section provides all the information you need in order to authorize yourself as user or bot.
Contents
User Authorization¶
In order to use the API, Telegram requires that users ... | https://docs.pyrogram.org/start/auth | CC-MAIN-2021-49 | refinedweb | 361 | 60.35 |
C#: Functional warts
Introduction notoc
Some features of C# make functional programming difficult. Let’s call them warts.
Warts make it difficult to reason about code and thus to write correct code.
Wart 1: null
Tony Hoare invented the null pointer and later apologised for doing.
Null breaks parametricity. In the prese... | http://jedahu.github.io/blog/2014-05-16-csharp-functional-warts.html | CC-MAIN-2017-22 | refinedweb | 825 | 56.15 |
> Uche Ogbuji writes: > > I should note that I quite hope that leading-underscore-means-private > > is indeed not normative, and never will be so. The leading underscore > > is the most readable way to escape symbol names that would clash with > > an applicable naming convention. > > The use of a single "_" at the fron... | https://mail.python.org/pipermail/xml-sig/2000-June/002685.html | CC-MAIN-2014-10 | refinedweb | 346 | 74.39 |
Editorial
Why Red Hat will go bust because of Ubuntu
Download the whole article as PDF
Short URL:
Write a full post in response to this!
I don’t like writing controversial editorials. Controversy is an effective means to get a lot of accesses: most people seem to enjoy reading controversial articles, maybe because they... | http://www.freesoftwaremagazine.com/articles/editorial_13/ | crawl-002 | refinedweb | 9,014 | 72.26 |
Geertjan's Blog Random NetBeans Stuff 2014-03-07T08:41:10+00:00 Apache Roller "NetBeans Platform for Beginners" is Leanpub Poster Child Geertjan 2014-03-07T08:00:19+00:00 2014-03-07T08:00:51+00:00 <p>If you've gone to the <a href="">Leanpub.com</a> site over the past few days, you'll have noticed that "<a href="">NetBe... | http://blogs.oracle.com/geertjan/feed/entries/atom | CC-MAIN-2014-10 | refinedweb | 5,156 | 54.22 |
Created on 2017-02-09 00:17 by vstinner, last changed 2017-03-14 21:38 by vstinner. This issue is now closed.
Subset of the (almost) rejected issue #29259 (tp_fastcall), attached patch adds _PyMethod_FastCall() and uses it in call_method() of typeobject.c. The change avoids the creation of a temporary tuple for Python ... | https://bugs.python.org/issue29507 | CC-MAIN-2020-16 | refinedweb | 2,330 | 70.39 |
Converting a Xen Linux virtual machine to KVM
The virt-v2v tool converts virtual machines, including their disk images and metadata, from foreign hypervisors for use with Red Hat Enterprise Linux with KVM managed by libvirt, Red Hat Virtualization, and Red Hat OpenStack Platform.
This article provides instructions for ... | https://access.redhat.com/articles/1353783 | CC-MAIN-2020-50 | refinedweb | 942 | 54.73 |
To those who have programmed before, simple C programs shouldn't be too hard to read. Suppose you call this program basics.c
#include <stdio.h> #include <stdlib.h> int mean(int a,int b) { return (a + b)/2; } int main() { int i, j; int answer; /* comments are done like this */ i = 7; j = 9; answer = mean(i,j); printf("T... | http://www-h.eng.cam.ac.uk/help/tpl/languages/C/teaching_C_old/node3.html | CC-MAIN-2018-09 | refinedweb | 380 | 73.07 |
Deploy a Kubernetes Cluster using Kubespray
Kubernetes is the next big thing. If you are here I am assuming you already know of Kubernetes. If you don’t you better get started soon.
Kubernetes also called K8s, is a system for automating deployment, scaling and management of containerized applications — basically a cont... | https://medium.com/@iamalokpatra/deploy-a-kubernetes-cluster-using-kubespray-9b1287c740ab | CC-MAIN-2018-22 | refinedweb | 1,153 | 56.76 |
10 days ago
Joachim Topf commited the new
flex backend into
osm2pgsql.
This new backend gives you full control on what data goes where, and the
opportunity to massage it a little bit before committing to the db. This is
useful not only because we could move processing from the rendering time to the
import time (which, ... | https://www.grulic.org.ar/~mdione/glob/posts/bus-routes-with-osm2pgsql-flex-backend/ | CC-MAIN-2020-29 | refinedweb | 1,577 | 62.78 |
Base class for popup widgets. More...
#include <Wt/WPopupWidget>
Base class for popup widgets.
A popup widget anchors to another widget, for which it usually provides additional information or assists in editing, etc...
The popup widget will position itself relative to the anchor widget by taking into account available... | http://www.webtoolkit.eu/wt/wt-3.3.8/doc/reference/html/classWt_1_1WPopupWidget.html | CC-MAIN-2017-51 | refinedweb | 266 | 50.63 |
On 10/9/06, Clinton Begin <clinton.begin@gmail.com> wrote:
> >> I haven't, but I think the JavaBeans standard is actually much more
> >> pervasive than most folks realize
>
> Which is a very good thing. I'm quite familiar with the full spec, and I'm
> very happy that 99% of Java developers only know (or at least use) 1... | http://mail-archives.apache.org/mod_mbox/ibatis-user-java/200610.mbox/%3C3d242a3d0610091947t3157921cy94b63f7e8fcf64a8@mail.gmail.com%3E | CC-MAIN-2017-39 | refinedweb | 651 | 50.53 |
Hi, I want to dynamically instanciate new mbeans from a sar-deployed "service-mbean". What is the best way for the service-mbean to get a reference to its mbeanserver...
I could do like this:
private MBeanServer getMBeanServer() {
List srvrList = MBeanServerFactory.findMBeanServer(null);
return (MBeanServer)srvrList.it... | https://developer.jboss.org/thread/50629 | CC-MAIN-2018-30 | refinedweb | 131 | 59.6 |
A boilerplate module setup using Browserify, Babel, Mocha, and Chai
Over the past few months I’ve been taking a look at a few of the ES2015 features that have landed in JavaScript language. There some excellent additions that will help JS developers write more succinct code. My personal favorites at the moment are Temp... | https://nooshu.github.io/blog/2016/12/16/browserify-boilerplate-module/ | CC-MAIN-2019-04 | refinedweb | 1,307 | 69.31 |
Hello,
I have an arduino UNO and a Seeed bluetooth shield. I am using the same sample code that everybody has been using downloaded from the website, and correctly set up the jumpers (so that in the code where I have RxD 6, I connect BT_TX 6 and Digital, and for TxD 7, I connect BT_RX 7 and Digital). I also tried movin... | https://forum.arduino.cc/t/seeed-bluetooth-shield-cannot-get-into-pairing-mode-alternating-red-green-blink/173886 | CC-MAIN-2021-49 | refinedweb | 161 | 60.24 |
Hello! A couple of days I wrote about tiny personal programs, and I mentioned that it can be fun to use “secret” undocumented APIs where you need to copy your cookies out of the browser to get access to them.
A couple of people asked how to do this, so I wanted to explain how because it’s pretty straightforward. We’ll ... | https://jvns.ca/blog/2022/03/10/how-to-use-undocumented-web-apis/?utm_campaign=Weekly%20Vue.js%20News&utm_medium=email&utm_source=Revue%20newsletter | CC-MAIN-2022-21 | refinedweb | 1,638 | 59.53 |
Hello!
So I got this Ethernet shield and came home all sparkly-eyed, bursting with anticipation of what I can do with this thing. And apparently the answer is “not much” or I’m doing something wrong.
Basically, whenever the Arduino (Duemilanove) encounters the instruction to read from a client it hangs. That is, no mor... | https://forum.arduino.cc/t/ethernet-shield-hangs-on-client-read/27741 | CC-MAIN-2022-05 | refinedweb | 322 | 66.23 |
Hello, I am very new to writing C++ and have started tryign to write a very basic calculator, capable of timesing, dividing, plussing or minusing two whole numbers.
I could be way off with this effort, but this is the code so far. And the only errors I get are when in the 'if' sections and the error is:'ISO C++ forbids... | http://cboard.cprogramming.com/cplusplus-programming/77992-help-simple-calculator-beginner.html | CC-MAIN-2014-52 | refinedweb | 188 | 71.44 |
> >>the reason why i ask is because it's not standard practice i see > >>people doing this with Python, > > Why? i've been programming in Python continously/full-time for the past 11 yrs at 4+ companies, and i'll stand by my statement... i just don't see it in the code, nor do i do this myself. i cannot tell you . > Do... | https://mail.python.org/pipermail/tutor/2008-June/062693.html | CC-MAIN-2014-10 | refinedweb | 308 | 83.46 |
Expressions
Expression -- from my dictionary:
expression: Mathematics a collection of symbols that jointly express a quantity : the expression for the circumference of a circle is 2πr.
In gross general terms: Expressions produce at least one value.
In Python, expressions are covered extensively in the Python Language R... | https://pythonpedia.com/en/knowledge-base/4728073/what-is-the-difference-between-an-expression-and-a-statement-in-python- | CC-MAIN-2020-34 | refinedweb | 347 | 51.58 |
gethostbyname, gethostbyaddr, gethostent, sethostent, end-
hostent, herror - get network host entry
#include <netdb.h>
extern int h_errno;
struct hostent *gethostbyname(name)
char *name;
struct hostent *gethostbyname2(name, af)
char *name; int af;
struct hostent *gethostbyaddr(addr, len, type)
char *addr; int len, type... | http://www.linuxonlinehelp.com/man/gethostbyaddr.html | crawl-001 | refinedweb | 256 | 55.95 |
Facebook has become one of the most used methods to get users to sign-in to your application, in today’s post we’ll set up the Facebook native plugin through Ionic Native.
That way we can use the Facebook app to sign-in our users, instead of having them log in through a browser.
To make things easier, we’re going to br... | https://blog.ionicframework.com/ionic-firebase-facebook-login/ | CC-MAIN-2019-51 | refinedweb | 1,175 | 54.46 |
A relaxed chat room about all things Scala (2 & 3 both). Beginner questions welcome. applies
"yo"(as manually specifying that type makes it work). But I do mean to recall there has been such a problem mentioned somewhere (some issue on the tracker?) where one had to store things in a
valand pass that
valto the method f... | https://gitter.im/scala/scala?at=60abb9d8850bfa2d3bdef7ea | CC-MAIN-2021-49 | refinedweb | 401 | 77.94 |
typecheck-decorator 1.3
flexible explicit run-time at run time. Class types, collection types, fixed-length collections and type predicates can be annotated as well.
As of Python 3.5, PEP 484 specifies that annotations should be types and their normal use will be type checking. Many advanced types (such as Sequence[int... | https://pypi.python.org/pypi/typecheck-decorator | CC-MAIN-2017-04 | refinedweb | 369 | 51.75 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.