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 |
|---|---|---|---|---|---|
In the previous tutorial, we discussed the basics of the I2C protocol. In most of the embedded devices, either UART otherwise I2C is used for console messages. In this tutorial, we will discuss serial communication in Raspberry Pi using the I2C protocol.
I2C in Raspberry Pi
For serial communication over the I2C protoco... | https://www.engineersgarage.com/articles-raspberry-pi-i2c-bus-pins-smbus-smbus2-python/ | CC-MAIN-2021-39 | refinedweb | 1,309 | 54.52 |
The received data is not complete
When programming with uart.readline(), there is a problem that the received data is not complete.
How do I solve the problem?
- neil jepsen last edited by
@Andy-Smith that line reads a GPS response which are coming in at 10 lines or more each second (depending on the gps) and the funct... | https://forum.pycom.io/topic/7216/the-received-data-is-not-complete | CC-MAIN-2022-05 | refinedweb | 550 | 64.81 |
No sorry there is no way to change the default edit view. One of the main reasons for on-page being the default edit view is that it's much more user friendly if a user can see the page that they've selected before they start editing.
You can make properties required if it's something important that might be missed. Th... | https://world.episerver.com/forum/legacy-forums/Episerver-7-CMS/Thread-Container/2013/2/Set-Form-mode-as-default-editing-interface/ | CC-MAIN-2020-16 | refinedweb | 290 | 63.9 |
Segment makes it easy to send your data to GoSquared (and lots of other destinations). Once you've tracked your data through our open source libraries we'll translate and route your data to GoSquared in the format they understand. Learn more about how to use GoSquared with Segment.
Getting Started
When you toggle on Go... | https://segment.com/docs/destinations/gosquared/ | CC-MAIN-2018-22 | refinedweb | 634 | 64.41 |
This blog is part 2 of a series that covers relevant Azure fundamentals - concepts/terminology you need to know, in the context of Hadoop. Some of the content is a copy of Azure documentation (full credit to the Azure documentation team). I have compiled relevant information into a single post, along with my commentary... | https://blogs.msdn.microsoft.com/cloud_solution_architect/2017/10/31/just-enough-azure-for-hadoop-part-2/ | CC-MAIN-2018-47 | refinedweb | 2,957 | 50.06 |
PhpStorm 2020.3 EAP #4: Custom PHP 8 Attributes
PhpStorm 2020.3 will come with several PHP 8 attributes available out-of-the-box:
#[ArrayShape],
#[ExpectedValues],
#[NoReturn],
#[Pure],
#[Deprecated],
#[Immutable]. Read on to learn more about the attributes, and please share your feedback about the design.
Download Php... | https://blog.jetbrains.com/phpstorm/2020/10/phpstorm-2020-3-eap-4/ | CC-MAIN-2020-50 | refinedweb | 1,407 | 57.57 |
I cant figure out how to fix the "public class Triangle implements Measurable"
i dont know what i am doing wrong to get this error.. i am not fluent in java but i never had this error before. i tried changing the name but in the process i get more errors. if any one can help Thank you very much.
public class Triangle {... | https://www.daniweb.com/programming/software-development/threads/390941/triangle-implement-measurable-error | CC-MAIN-2017-26 | refinedweb | 171 | 55.88 |
Definition
An instance parser of the data type gml_graph is a parser for graph
in GML format [46]. It is possible to extend the parser by
user defined rules. This parser is used by the
read
gml of class
graph. The following is a small example graph (a triangle) in GML format.
# This ']'.
An input in GML format is a lis... | http://www.algorithmic-solutions.info/leda_manual/gml_graph.html | CC-MAIN-2017-13 | refinedweb | 725 | 67.55 |
----Arjun
Window typesFM's Driver prg and Passing Data 5 Examples on displaying text, variables from driver prog, logo, Address, StandardText
1.define2.address 3.top..endtop 4.bottom...endbottom 5.protect...endprotect 6.standard text/pageno 7.NEW-PAGE 8.IF...ENDIF.. 9.CASE...ENDCASE SAP AG 2001, Smart Forms - the Form... | https://ru.scribd.com/presentation/175027515/SCRIPT-PP | CC-MAIN-2020-29 | refinedweb | 943 | 54.52 |
Techniques to make a web app load fast, even on a feature phone
How we used code splitting, code inlining, and server-side rendering in PROXX.
At Google I/O 2019 Mariko, Jake, and I shipped PROXX, a modern Minesweeper-clone for the web. Something that sets PROXX apart is the focus on accessibility (you can play it with... | https://web.dev/load-faster-like-proxx/ | CC-MAIN-2020-29 | refinedweb | 2,871 | 64.51 |
I have a Coin class that compares weight and value and I need help developing a hashcode and Junit tests to test them, here is my class:
public class Coin implements Comparable<Coin>{ public static final int CENT=1, NICKEL=5, DIME=10, QUARTER=25; private int value; private double weight; public double getWeight(){ retu... | https://www.daniweb.com/programming/software-development/threads/355189/equals-hashcode-help | CC-MAIN-2018-34 | refinedweb | 218 | 58.28 |
include standalone ObjC function
I'm trying to implement volume level metering using
AVAudioEngineas described here:. However, I'm not sure how to access the standalone function
vDSP_meamgv()(as opposed to a class/instance method).
I assume I would first need to call
load_framework('Accelerate'), but after that I'm try... | https://forum.omz-software.com/topic/5514/include-standalone-objc-function | CC-MAIN-2019-35 | refinedweb | 1,083 | 64.71 |
PhoneGap 2.x Mobile Application Development Hotshot — Save 50%
Create exciting apps for mobile devices using PhoneGap with this book and ebook.
In this article by Kerri Shotts, author of PhoneGap 2.x Mobile Application Development Hotshot, we'll be creating two JavaScript files in the www/models directory named quizQue... | http://www.packtpub.com/article/implementing-data-model | CC-MAIN-2014-10 | refinedweb | 2,732 | 57.16 |
Consistently, one of the more popular stocks people enter into their stock options watchlist at Stock Options Channel is CenturyLink, Inc. (Symbol: CTL). So this week we highlight one interesting put contract, and one interesting call contract, from the August expiration for CTL. The put contract our YieldBoost algorit... | https://www.nasdaq.com/articles/interesting-august-stock-options-ctl-2016-06-20 | CC-MAIN-2021-21 | refinedweb | 495 | 63.8 |
Laughing Blog Tutorial Part 1-The Project Structurepublished on: | by In categories: Tutorial Series , Django
My journey as a programmer has taught me one valuable lesson: To effectively learn how to write and understand programming concepts, never underestimate the value of building real-life applications. I remember ... | https://achiengcindy.com/blog/2018/04/01/laughing-blog-tutorial-part-1-project-structure/ | CC-MAIN-2019-30 | refinedweb | 1,415 | 56.25 |
I've had the exact same issues. Tryed every possible fix but dint work out for me. I really liked the interface of MyNodes.NET but the lack of support just forced me to choose another controller. Will check regularly for updates but wont expect much. Hope it will be updated once again
Wodian
@Wodian
Best posts made by ... | https://forum.mysensors.org/user/wodian | CC-MAIN-2022-21 | refinedweb | 401 | 59.09 |
EJB 3.1 Proposed Final Draft Now Available
By Ken Saks on Mar 11, 2009
I'm pleased to announce that the EJB 3.1 Proposed Final Draft is now available. We're well on our way towards finalizing what I'm sure will be a vastly improved version of Enterprise JavaBeans. The spec includes many clarifications to the requiremen... | https://blogs.oracle.com/kensaks/entry/ejb_3_1_proposed_final | CC-MAIN-2016-22 | refinedweb | 695 | 64.2 |
> match-v3.3.src.rar > block.h
/* block.h */ /* Copyright 2001 Vladimir Kolmogorov (vnk@cs.cornell.edu), Yuri Boykov (yuri@csd.uwo */ /* Template classes Block and DBlock Implement adding and deleting items of the same type in blocks. If there there are many items then using Block or DBlock is more efficient than usin... | http://read.pudn.com/downloads78/sourcecode/graph/texture_mapping/297638/match-v3.3.src/maxflow/adjacency_list/block.h__.htm | crawl-002 | refinedweb | 828 | 58.92 |
Linker Tools Warning LNK4248
unresolved typeref token (token) for 'type'; image may not run
A type doesn’t have a definition in MSIL metadata.
LNK4248 can occur when there is only a forward declaration for a type in an MSIL module (compiled with /clr), where the type is referenced in the MSIL module, and where the MSIL... | https://docs.microsoft.com/en-us/cpp/error-messages/tool-errors/linker-tools-warning-lnk4248?redirectedfrom=MSDN&view=msvc-170 | CC-MAIN-2022-27 | refinedweb | 245 | 58.62 |
A snippet:
package com.deitel.jhtp7.ch14;
public class AccountRecord
{
.....
Doubt:
1. What does the above package statement imply. As in how(path) this AccountRecord.java will be stored? As in what folder hierarchy should I create?
2. In Command prompt I have set my Current Directory as :
E:\RDL\Dropbox\Coding\Core Ja... | https://www.daniweb.com/programming/software-development/threads/407065/package-basic-understanding | CC-MAIN-2017-26 | refinedweb | 145 | 71.1 |
July 2017
Jul 2017-SP4 bugfix release (11.27.13)
Build Environment
- Added the .lib and .h files needed for building extensions to the Windows installer.
Bug Fixes
- 3470: Support setClob without length restrictions
- 6468: JDBC 2.27 fails with year < 1000
- 6482: Query failures on order by on union
- 6483: Monetdb cra... | https://monetdb.org/OldReleaseNotes/Jul2017 | CC-MAIN-2021-17 | refinedweb | 1,801 | 52.8 |
Files
The most common way to persist data to storage is to use a file. Files allow you to write text or binary content to them and then easily read said content. To manipulate files, you can use the File class, which provides static methods for dealing with files. The File class is defined within the System.IO namespac... | http://www.devx.com/wireless/Article/38433 | crawl-002 | refinedweb | 354 | 65.83 |
Hi Roger,
There are a couple of ways that you can integrate the two (or Axis and
any XML serializing mechanism for that matter).
One way is discussed in this article by IBM... They are using Castor,
but the underlying theme is the same.
Alternatively, you may use a "message" style service... This is from
an earlier pos... | http://mail-archives.apache.org/mod_mbox/axis-java-user/200501.mbox/%3Cb80c68f105011405434ad57e28@mail.gmail.com%3E | CC-MAIN-2018-09 | refinedweb | 429 | 56.35 |
Writing a simple Sublime Text plugin.
by Slavko Pesic, Web Progammer.
One of the neat Sublime Text features is that it provides you with a list of commands which you can extend (or write your own) and assign them to different key binds.
In this blog post I will go over configuring key binds and use
insert_snippet comma... | http://www.metaltoad.com/blog/writing-simple-sublime-text-plugin | CC-MAIN-2014-15 | refinedweb | 1,027 | 50.53 |
January 2017
Volume 32 Number 1
[HoloLens]
Introduction to the HoloLens, Part 2: Spatial Mapping
By Adam Tuliper | January 2017
In my last article, I talked about the three pillars of input for the HoloLens—gaze, gesture and voice (msdn.com/magazine/mt788624). These constructs allow you to physically interact with the ... | https://docs.microsoft.com/en-us/archive/msdn-magazine/2017/january/hololens-introduction-to-the-hololens-part-2-spatial-mapping | CC-MAIN-2020-05 | refinedweb | 3,600 | 54.02 |
- Advertisement
toucelMember
Content Count117
Joined
Last visited
Community Reputation188 Neutral
About toucel
- RankMember
- or a little more simply: unsigned int getMaxNumberOfDrops(unsigned int floorsCount) { return (unsigned int)ceil( (sqrt( 1.0 + 8.0*floorsCount ) - 1.0) / 2.0 ); } this is simply solving the quadr... | https://www.gamedev.net/profile/42147-toucel/ | CC-MAIN-2018-47 | refinedweb | 2,780 | 63.93 |
OK so I actually have a couple basic problem but the most important problem is the array. I am making a hangman game. I have a driver that was supplied but it is actually confusing me more.
1. Does the driver get the information from the file for me, or do I need to have the code that I put in main to get the informati... | http://www.javaprogrammingforums.com/collections-generics/19817-string-array.html | CC-MAIN-2014-42 | refinedweb | 669 | 56.05 |
. These lecture notes borrow. Someday you may be named among the elite Pythonistas of the world..), which is.
When we describe a language, we should pay particular attention to the means that the language provides for combining simple ideas to form more complex ideas. Every powerful language has three such mechanisms:
... | http://inst.eecs.berkeley.edu/~cs61a/book/chapters/functions.html | CC-MAIN-2017-09 | refinedweb | 7,178 | 53.61 |
merged into python2-xynehttpserver
Search Criteria
Package Details: python2-xynehttpserver 2012.12.24.2-4
Dependencies (1)
Sources (2)
Latest Comments
Xyne commented on 2013-05-10 20:16
Xyne commented on 2012-11-28 00:20
alkino commented on 2012-10-30 14:40
Should be rename python2-xynehttpserver.
olebowle commented on... | https://aur.archlinux.org/packages/python2-xynehttpserver/?comments=all | CC-MAIN-2018-22 | refinedweb | 341 | 63.09 |
I don't see any new developments started with xbean, but there are still projects under active
development which rely on it. ActiveMQ 5.x might be last one, not sure about others, and it
does suffer because no investments in xbean. JAXB is fine, but I doubt if any custom type
mapping will be ever able to provide such e... | http://mail-archives.apache.org/mod_mbox/geronimo-dev/201808.mbox/%3CA019FDB3-5FE8-4445-9AA8-81357BDA8AAC@code-house.org%3E | CC-MAIN-2019-18 | refinedweb | 532 | 64.61 |
Using
Read Excel(.xlsx) document using Apache POI
,
boolean as well as text cells.
In the below example, i have used Apache POI...Read Excel(.xlsx) document using Apache POI
In this section, you will learn how to read Excel file having .xlsx
extension using Apache POI library
Create Simple Excel(.xls) document using Ap... | http://www.roseindia.net/tutorialhelp/comment/91063 | CC-MAIN-2014-49 | refinedweb | 963 | 65.22 |
Software and scripts we have written in the past.
few a view viewer program with interactive
regular expression filtering. It is similar to a combination of grep
and less.
c++int a wrapper to execute C++ source code
files without explictely compiling them.
Sony RM-X2S XMMS plugin. Use a Sony Joystick
from car radios wi... | http://llg.cubic.org/tools/index.html | CC-MAIN-2017-39 | refinedweb | 1,702 | 67.15 |
This blog post is about using python to execute code locally on the server in response to http GET requests.
So far you are thinking so what? You are already crafting your comment and it is saying something like, "Google mod_python" or "Google mod_perl". You are right, the best way to do CGI is via mod_perl, mod_php or... | http://david-latham.blogspot.com/2010/10/ | CC-MAIN-2019-51 | refinedweb | 452 | 69.18 |
#include <getquotajob.h>
Detailed Description
Gets resource limits for a quota root.ajob.h.
Member Function Documentation
The quota root that resource limit information will be fetched for.
Definition at line 73 of file getquotajob.cpp.
Set the quota root to get the resource limits for.
- Parameters
-
- See also
- GetQ... | https://api.kde.org/kdepim/kimap2/html/classKIMAP2_1_1GetQuotaJob.html | CC-MAIN-2019-26 | refinedweb | 104 | 51.34 |
This is a basic guide for deploying a LoopBack 4 (LB4) app to IBM Cloud. In the setup explained below, your app will use a provisioned Cloudant service when running on the IBM Cloud.
NOTE: Production deployment to IBM Cloud is a much bigger topic with many possible options, refer to “IBM Cloud Continuous Delivery: Buil... | https://loopback.io/doc/en/lb4/Deploying-to-IBM-Cloud.html | CC-MAIN-2021-31 | refinedweb | 768 | 59.09 |
We've covered how a container gets selected, but how does Arquillian know how to locate or communicate with the container? That's where configuration comes in.
You can come a long way with default values, but at some point you may need to customize some of the container settings to fit your environment. Let's see how t... | https://docs.jboss.org/author/display/ARQ/Container+configuration | CC-MAIN-2018-22 | refinedweb | 501 | 67.45 |
I am working my way through a c programming book and I am a little confused with the const modifier. It says in my book that after you declare a variable with the const modifier, the content of a variable cannot be changed. But if i run this program:
#include <stdio.h>
int main(int argc, char *argv[])
{
int const x = 1... | http://cboard.cprogramming.com/c-programming/57240-const-modifier-printable-thread.html | CC-MAIN-2014-41 | refinedweb | 129 | 67.38 |
As defined by Amazon Web Services (AWS), Amplify is a set of products and tools with which mobile and front-end web developers can build and deploy AWS-powered, secure, and scalable full-stack apps. Also, you can efficiently configure their back ends, connect them to your app with just a few lines of code, and deploy s... | https://cloudinary.com/blog/amplify_your_jamstack_with_video | CC-MAIN-2022-21 | refinedweb | 2,690 | 50.63 |
You can call a JavaScript function from Go and call a Go function from WebAssembly:
package main // This calls a JS function from Go. func main() { println("adding two numbers:", add(2, 3)) // expecting 5 } // This function is imported from JavaScript, as it doesn't define a body. // You should define a function named ... | https://tinygo.org/webassembly/webassembly/ | CC-MAIN-2019-30 | refinedweb | 587 | 52.46 |
Before we proceed, we need to add a second forest. You will need yet another Windows Server 2003 computer to proceed. Give this new server an IP address of 192.168.1.75 and a name of DCA . Be sure to set the computer's DNS server address to the same value as its IP address. After installing Server 2003, promote the ser... | https://flylib.com/books/en/1.239.1.51/1/ | CC-MAIN-2019-13 | refinedweb | 517 | 77.03 |
You want to write a server that handles multiple clients from within the one process, without using Perl 5.8's threads or the complexity of non-blocking I/O.
Use the cooperative multitasking framework POE (available from CPAN) and the accompanying POE::Component::Server::TCP module to create the server for you:
#!/usr/... | http://etutorials.org/Programming/Perl+tutorial/Chapter+17.+Sockets/Recipe+17.15+Writing+a+Multitasking+Server+with+POE/ | CC-MAIN-2017-30 | refinedweb | 895 | 51.78 |
- Virtual Function Basics
- Pointers and Virtual Functions
- Summary
I did it my way.
Frank Sinatra
Polymorphism refers to the ability to associate many meanings to one function name by means of a special mechanism known as virtual functions or late binding. Polymorphism is one of the fundamental mechanisms of a popula... | http://www.informit.com/articles/article.aspx?p=26063&seqNum=3 | CC-MAIN-2017-09 | refinedweb | 2,791 | 52.19 |
Perforce Defect Tracking Integration Project
defect_trackerclass
defect_tracker_issueclass
defect_tracker_fixclass
defect_tracker_filespecclass
translatorclass
This is the Perforce Defect Tracking Integration (P4DTI) Integrator's Guide. It explains how to extend the P4DTI to work with defect tracking systems that aren'... | http://www.ravenbrook.com/project/p4dti/release/1.5.1/ig/ | crawl-003 | refinedweb | 10,143 | 55.13 |
Feedback
Getting Started
Discussions
Site operation discussions
Recent Posts
(new topic)
Departments
Courses
Research Papers
Design Docs
Quotations
Genealogical Diagrams
Archives
Like math puzzles and physics puzzles, there are many different kinds of programming puzzles. One way to classify programming puzzles is by t... | http://lambda-the-ultimate.org/node/1872 | CC-MAIN-2017-22 | refinedweb | 4,340 | 70.33 |
- Advertisement
destluckMember
Content Count11
Joined
Last visited
Community Reputation114 Neutral
About destluck
- RankMember
Functions
destluck replied to destluck's topic in For Beginners's ForumPerfect tyvm for the fast response :)
Functions
destluck posted a topic in For Beginners's ForumAlright im not to sure if ... | https://www.gamedev.net/profile/221915-destluck/ | CC-MAIN-2019-47 | refinedweb | 679 | 73.58 |
On Mon, 04 Jan 2010 21:27:12 -0800, Nav wrote: > @ Steven.... > "No, you're confused -- the problem isn't with using the global > namespace. > The problem is that you don't know what names you want to use ahead of > time. " > > Actually I know what the names would be and how I want to use them. You said earlier: "I hav... | https://mail.python.org/pipermail/python-list/2010-January/563277.html | CC-MAIN-2016-36 | refinedweb | 266 | 80.01 |
Continuing the ongoing saga…
Using the
--silence hackery from Jacob Berkman I found a way to finally STFU at least libtool. In your
configure.ac add:
changequote(,)dnl LIBTOOL="\\$(QUIET_LT)${LIBTOOL}" changequote([,])dnl
Add a
Makefile.decls file to the root of your project, containing:
QUIET_LT = @echo ' ' LIBTOOL $@... | http://blogs.gnome.org/ebassi/2008/01/25/paint-the-silence2/ | CC-MAIN-2014-52 | refinedweb | 704 | 53.75 |
namespace problem on IE8
[Solved]
Hi
I was happy to try Ext: 4.2 when I found a strange thing in Internet Explorer 8 :
I was unable to use the namespace.
For Example, this tiny sample send a pop-up on fire-fox.
But the Javascript crash on the assignation line.
What have I done wrong ?
Thank for any advice.
HTML Code:
<... | https://www.sencha.com/forum/showthread.php?260402-namespace-problem-on-IE8 | CC-MAIN-2015-27 | refinedweb | 143 | 69.89 |
Setting autodoc_tree_index_modules makes documentation builds fail
Bug Description
The arguments originally being passed into sphinx.apidoc specified '.' as the path to index. Unfortunately this includes the setup.py module. Sphinx dies while trying to process the setup.rst likely because the setup.py module calls setu... | https://bugs.launchpad.net/python-keystoneclient/+bug/1260495 | CC-MAIN-2019-22 | refinedweb | 834 | 67.55 |
Control.LVish.DeepFrz
Description
The
DeepFrz module provides a way to return arbitrarily complex data
structures containing LVars from
Par computations.
The important thing to know is that to use
runParThenFreeze to run a
Par computation, you must make sure that all types you return from
the
Par computation have
DeepF... | http://hackage.haskell.org/package/lvish-1.0.0.6/docs/Control-LVish-DeepFrz.html | CC-MAIN-2016-44 | refinedweb | 448 | 53.81 |
Contrary to what most developers think, tree shaking isn’t very complicated. The discussion around the nomenclature (dead code elimination vs. tree shaking) can introduce some confusion, but this issue, along with some others, is clarified throughout the article. As JavaScript library authors, we want to achieve the mo... | https://dev.to/livechat/tree-shaking-for-javascript-library-authors-4lb0 | CC-MAIN-2021-21 | refinedweb | 2,919 | 52.6 |
17 June 2013 18:00 [Source: ICIS news]
HOUSTON (ICIS)--Here is Monday’s midday ?xml:namespace>
CRUDE: Jul WTI: $98.12/bbl, up 27 cents; Aug Brent: $106.22/bbl, up 29 cents
NYMEX WTI crude futures worked modestly higher, tracking a rally in the stock market and receiving underlying support from geopolitical concerns tha... | http://www.icis.com/Articles/2013/06/17/9679296/noon-snapshot---americas-markets-summary.html | CC-MAIN-2015-14 | refinedweb | 278 | 67.65 |
I am working on desktop game so that want to move focus using arrow keys.
Default initial button focus, I have already setup. As well by pressing arrow keys controls is also moving from one button to other but I want to set up scale up and down animation.
When button got focus, I want to do scale up for that button. Wh... | https://answers.unity.com/questions/1182238/ui-element-got-focus.html | CC-MAIN-2022-40 | refinedweb | 956 | 66.94 |
Tuple in list has less items than the function needs Python 3
I'm kinda new to Programming and Python and I'm self learning before going to uni so please be gentle, I'm a newbie. I hope my english won't have too many grammatical errors.
Basically I had this exercise in a book I'm currently reading to take a list of tup... | http://thetopsites.net/article/50709759.shtml | CC-MAIN-2020-40 | refinedweb | 1,461 | 61.09 |
This section demonstrates you the use of close() method.
Description of code:Streams represent resources which is to be clean up explicitly. You can done this using the method close(). This method automatically flush out the stream. It is necessary to close the stream after performing any file operation before exiting ... | http://www.roseindia.net/tutorial/java/core/files/fileclose.html | CC-MAIN-2014-41 | refinedweb | 179 | 76.32 |
Pádraig Brady wrote: > On 09/04/10 14:41, jeff.liu wrote: >> Hello All, >> >> Please ignore the previous patchsets, there is an issue I just fixed. >> >> The revised version were shown as following: >> >> From: Jie Liu <address@hidden> >> Date: Fri, 9 Apr 2010 21:31:27 +0800 >> Subject: [PATCH 1/2] Add fiemap.h for fie... | https://lists.gnu.org/archive/html/coreutils/2010-04/msg00011.html | CC-MAIN-2019-13 | refinedweb | 282 | 75.91 |
Aug 01, 2011 11:58 AM|drazic19|LINK
Hi,
I have a typical scenario where I have a parent entity that can map to multiple child entities. On the parent edit form I have a ListBoxFor that shows all the possible child entities. The user can select more than one option and post the form. At the moment i've got it so the ret... | http://forums.asp.net/t/1706029.aspx | CC-MAIN-2014-35 | refinedweb | 417 | 57.57 |
As we learned in the previous lesson, dealing with Exceptions properly is a big part of keeping our applications stable, user friendly, and performant. In this lesson, we'll learn how to create custom exceptions we can use to tailor our applications even more to our user's needs.
As we don't have a frontend for our app... | https://www.learnhowtoprogram.com/java/api-development-extended-topics/defining-and-using-custom-exceptions | CC-MAIN-2019-04 | refinedweb | 806 | 55.44 |
Easy ways to make your python code more Concise and efficient!
I just wanted to share some tricks to make code more concise and more efficient that are really simple to implement
F-Strings
F-Strings come in really handy when you need a clean way to use strings with variables, and to format them!
If you want to make you... | https://replit.com/talk/learn/Easy-ways-to-make-your-python-code-more-Concise-and-efficient/133554 | CC-MAIN-2022-33 | refinedweb | 1,945 | 50.74 |
protocol-buffers: Parse Google Protocol Buffer specifications
[ bsd3, library, text ] [ Propose Tags ]
Parse proto files and generate Haskell code.
Modules
- Text
- Text.ProtocolBuffers
Downloads
- protocol-buffers-1.4.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintaine... | http://hackage.haskell.org/package/protocol-buffers-1.4.0 | CC-MAIN-2019-51 | refinedweb | 1,600 | 60.61 |
Janet Daly and Benjamin stopped by to say hi.
RESOLVED: to close XMLProfile-29, withdrawing the request on XML Core WG
The following agenda were not discussed
The meeting is in two facilities at the MIT Stata Center: room 262 Monday all day and Tuesday morning, and room 346 Tuesday afternoon.
Telephone access is throug... | http://www.w3.org/2001/tag/2004/11/29-30-tag | CC-MAIN-2013-48 | refinedweb | 11,757 | 63.22 |
Download presentation
Presentation is loading. Please wait.
Published byBraydon Tease Modified about 1 year ago
1
XML: Extensible Markup Language
2
Slide Chapter Outline Introduction Structured, Semi structured, and Unstructured Data. XML Hierarchical (Tree) Data Model. XML Documents, DTD, and XML Schema. XML Documents... | http://slideplayer.com/slide/4219221/ | CC-MAIN-2016-50 | refinedweb | 3,064 | 54.73 |
Assignment:
Average Rainfall
Write a program. After all iterations, the program should display the number of months, the total inches of rainfall, and the average rainfall per month for the entire period.
Input validation: Do not accept a number less than 1 for the number of years. Do not accept negative numbers for th... | http://www.javaprogrammingforums.com/whats-wrong-my-code/5708-help-nested-loops.html | CC-MAIN-2016-07 | refinedweb | 254 | 50.63 |
My question was unclear... Of course the A* algorythme will be only implement in C++... The problem is : 1) we have (will have) 100 functions available for the scripts (ex: castOf(who), isPlayer(who)) 2) we have 10 or 20 incoming type of message (ex: on_hitBy(who), on_near(who),) Some NPC must be able to be pre-program... | http://lua-users.org/lists/lua-l/2000-03/msg00095.html | crawl-001 | refinedweb | 559 | 69.52 |
By Randal L. Schwartz, Tom Phoenix
Cover | Table of Contents | Colophon find one near you. Most of the time, you can also simply visit http://
COUNTRYCODE.cpan.org/ where
COUNTRYCODEis your two-letter official country code (like on the end of your national domain names). Or,.)
#!/usr/bin/perl @lines = `perldoc -u -f at... | http://www.oreilly.com/catalog/9780596001322/toc.html | crawl-001 | refinedweb | 2,942 | 70.94 |
Public Interface TestBench Function Test(ByVal log As List(Of String)) As TestResult End Interface Public Enum TestResult Fail = 0 Fail_Data_Error Fail_Exception Fail_Timeout Pass = 20 Pass_No_Test_Needed End EnumTheAs you can see, all I have done is add the interface and hit enter, which automatically puts the functio... | http://www.codeproject.com/KB/vb/ReflectionTesting.aspx | crawl-002 | refinedweb | 289 | 56.96 |
Nov 09, 2009 04:22 AM|imarash|LINK
If we create certain pages dynamically by reading from some database rows, how do those pages (which do not exist as a file in our web directory) get indexed by search engines?
For example I have a ViewProfile page which is empty in design mode and all its controls and values get gene... | http://forums.asp.net/t/1490362.aspx | CC-MAIN-2014-52 | refinedweb | 643 | 72.46 |
04 April 2007 08:39 [Source: ICIS news]
SINGAPORE (ICIS news)--Formosa Petrochemical has targeted a 45% rise in ethylene production this year to reach 2.758m tonnes after posting higher 2006 olefins operating profit, a company official said on Wednesday.
?xml:namespace>
Operating profit at its olefins segment rose 4% t... | http://www.icis.com/Articles/2007/04/04/9018427/formosa-petchem-2007-ethylene-output-to-rise-45.html | CC-MAIN-2015-22 | refinedweb | 229 | 66.23 |
Please confirm that you want to add Complete Guide for Custom Inspectors & Windows in Unity! to your Wishlist.
Exposing properties to the editor is useful, but it can't be used to create complex things.
By creating custom inspectors and editors, you'll have full control over how Unity looks and exposes itself to Game D... | https://www.udemy.com/unity-custom-inspectors-guide/ | CC-MAIN-2017-39 | refinedweb | 847 | 72.36 |
>> JSON field in Django models
Beyond Basic Programming - Intermediate Python
36 Lectures 3 hours
Practical Machine Learning using Python
91 Lectures 23.5 hours
Practical Data Science using Python
22 Lectures 6 hours
In this article, we will see how to add JSON fields to our Django models. JSON is a simple format to st... | https://www.tutorialspoint.com/adding-json-field-in-django-models | CC-MAIN-2022-40 | refinedweb | 399 | 58.08 |
How to use speech.say() in different voice?
- uncompleted
If you check the setting in iOS you will find that voice can be spoken in different people:
For example:
en-US: the default is Samantha(female), there is Fred(male), and you also can download Allison, Ava, Nick... as well as Siri
How can we use them in
speech.sa... | https://forum.omz-software.com/topic/4706/how-to-use-speech-say-in-different-voice | CC-MAIN-2019-04 | refinedweb | 390 | 59.4 |
1.1 anton 1: \ Etags support for GNU Forth. 2: 1.9 anton 3: \ Copyright (C) 1995,1998: 21: 1.1 anton: 1.11 ! dvdkhlng: 1.8 pazsan 45: require search.fs 46: require extend.fs 1.7 pazsan 47: 1.1 anton 1.4 anton 79: sourcefilename last-loadfilename 2@ d<> 1.1 anton 80: if 81: #ff r@ emit-file throw 82: #lf r@ emit-file th... | http://www.complang.tuwien.ac.at/cvsweb/cgi-bin/cvsweb/gforth/etags.fs?annotate=1.11;sortby=log;f=h;only_with_tag=MAIN | CC-MAIN-2019-39 | refinedweb | 247 | 79.26 |
(For more resources related to this topic, see here.)
Understanding DQL
DQL is the acronym of Doctrine Query Language. It's a domain-specific language that is very similar to SQL, but is not SQL. Instead of querying the database tables and rows, DQL is designed to query the object model's entities and mapped properties... | https://www.packtpub.com/books/content/building-queries | CC-MAIN-2017-09 | refinedweb | 2,901 | 54.52 |
Create be placed in your command or view directly but in a more reusable place. In a plugin we can create services, this is the place where we have to add our reusable logic. These service can be consumed from view and commands. You could see it as the core (or brain) of the feature.
Example
As an example, in my featur... | https://blogs.sap.com/2017/07/17/create-a-service-in-you-sap-web-ide-feature/ | CC-MAIN-2021-25 | refinedweb | 560 | 69.31 |
class Solution(object): def canWinNim(self, n): if n % 4 is not 0: return True else: return False
Or in one line:
def canWinNim(self, n): return n % 4 != 0
Also your use of "is" is probably not intended. You aren't checking for identity between the integer objects 0 and n % 4, but the equality of their values. This wil... | https://discuss.leetcode.com/topic/27374/python-four-line-solution | CC-MAIN-2017-47 | refinedweb | 145 | 68.4 |
Forum – Code of Conduct
# frozen_string_literal: true # This file is used by Rack-based servers to start the application. require_relative 'config/environment' require 'rack/common_logger' console = ActiveSupport::Logger.new($stdout) console.formatter = Rails.logger.formatter console.level = Rails.logger.level #Hanami:... | https://gitter.im/hanami/chat?at=5de3fbc01659720ca8de464e | CC-MAIN-2021-25 | refinedweb | 647 | 67.15 |
This is "string concatenation," and it is a bad practice:
// bad practice, don't reuse! String text = "Hello, " + name + "!";
Why? Some may say that it is slow, mostly because parts of the resulting string are copied multiple times. Indeed, on every
+ operator,
String class allocates a new block in memory and copies ev... | http://www.yegor256.com/2014/06/19/avoid-string-concatenation.html | CC-MAIN-2017-51 | refinedweb | 696 | 57.57 |
This action might not be possible to undo. Are you sure you want to continue?
Design Pattern Types of Design Patterns Creational Patterns Structural Patterns Behavioral Patterns Benefit
“Design pattern is a general repeatable solution to a commonlyoccurring problem in software design.” “Design patterns are recurring so... | https://www.scribd.com/document/53070104/dp | CC-MAIN-2016-50 | refinedweb | 2,376 | 53.58 |
Swift Package Manager just went through a massive refactoring and adds support for testing using XCTest on OSX and Linux. It is not yet available on the latest snapshot but we can always try it out by building swiftpm.
Get the latest swift pm
Install the latest snapshot and run the commands below to build swiftpm, shou... | http://ankit.im/swift/2016/02/17/swift-package-manager-testing-preview/ | CC-MAIN-2016-26 | refinedweb | 687 | 57.16 |
> > (c) does not require devfs. most distros ship without it afaik, and> > switching to it is not an overnight process, and requires devfsd to be> > useful in the real world.> > > > It does, however, not manage permissions, nor does it provide for a sane> namespace (it exposes too many internal implementation details i... | http://lkml.org/lkml/2001/5/14/114 | CC-MAIN-2014-41 | refinedweb | 144 | 62.58 |
I been asked to spec an ‘Advanced Java’ training course. The list (below) contains a couple of ideas of what should be on such a course but ‘Advanced Java’ means different things to different people. Over the many years you’ve spent with Java, you’ve specialised - partly out of what interests you, and partly out of the... | http://www.oreillynet.com/onjava/blog/2007/03/advanced_java_whats_your_opini.html | crawl-002 | refinedweb | 2,098 | 63.29 |
#include <BcpsSubTree.h>
Inheritance diagram for BcpsSubTree:
The biggest addition to the fields that already exist withink ALPS is the storage for the global list of objects that are active within that subtree. Initally, this will be implemeted as a std::set, but later on should be changed to something more efficient ... | http://www.coin-or.org/Doxygen/CoinAll/class_bcps_sub_tree.html | crawl-003 | refinedweb | 146 | 60.82 |
!
My favorite is the ability to extend the Java proxy classes with Ruby specific behaviors. For example:
# Extend a proxied class implementing the given java interface name
# by including the given Ruby module
def self.extend_proxy_with(java_interface, mod)
JavaUtilities.extend_proxy java_interface do |c|
c.include mod... | http://www.oreillynet.com/ruby/blog/2006/11/jrubys_killer_feature.html | crawl-002 | refinedweb | 384 | 65.83 |
442A - Borya and Hanabi
Solution:
Not an easy problem for me.. The first and easiest thing to say is there are 10 type of hints and hence we can do a complete search on each \(2^{10}\) combination of them. Now the hardest part is that, given a combination of hints, check whether they will allow us to differentiate amon... | https://abitofcs.blogspot.com/2015/01/codeforces-442a-borya-and-hanabi.html | CC-MAIN-2018-13 | refinedweb | 442 | 76.56 |
If.
Recently I also saw this on Twitter:
In #React-land: is it legit to have a component that only *does* stuff, but isn't visible? i.e. for setting cookie from a dispatched redux action, or kick off a background task, etc.— @rem (@rem) November 30, 2017
The idea is interesting so I decided to experiment and see the pr... | http://outset.ws/blog/article/react-markup-as-function | CC-MAIN-2019-04 | refinedweb | 648 | 56.96 |
import itertools def overlap(a, b, min_length=3): """ Return length of longest suffix of 'a' matching a prefix of 'b' that is at least 'min_length' characters long. If no such overlap exists, return 0. """ start = 0 # start all the way at the left while True: start = a.find(b[:min_length], start) # look for b's suffx i... | http://nbviewer.jupyter.org/github/BenLangmead/comp-genomics-class/blob/master/notebooks/CG_SCS.ipynb | CC-MAIN-2018-51 | refinedweb | 195 | 52.33 |
SpreadJS Hotfix 11.2.3 is now available for download in the DevChannel and on the download page.
Bugs fixed in 11.2.3
- 261277: Fixed a bug where pressing the backspace key with a floating object selected makes the active cell editable.
- 261743: Fixed an issue where importing picture borders is different from Excel.
-... | https://www.grapecity.com/blogs/spreadjs-hotfix-11-2-3 | CC-MAIN-2020-10 | refinedweb | 147 | 75.3 |
Royal & Sun Alliance Savings Related Name of scheme: Share Option Scheme (now including the 2009 RSA Sharesave Plan) Period of From: 1 July To: 31 December return: 2013 2013 Balance of unallotted securities under scheme(s) from previous 12,559,829 shares of 27.5p each return: Plus: The amount by which the block scheme... | http://www.bloomberg.com/article/2014-01-02/aFVJPy.zbHyE.html | CC-MAIN-2015-35 | refinedweb | 117 | 54.56 |
2014-04-25 13:31:47 8 Comments
I am writing a program that accepts an input from the user.
#note: Python 2.7 users should use `raw_input`, the equivalent of 3.X's `input` age = int(input("Please enter your age: ")) if age >= 18: print("You are able to vote in the United States!") else: print("You are not able to vote i... | https://tutel.me/c/programming/questions/23294658/asking+the+user+for+input+until+they+give+a+valid+response | CC-MAIN-2020-16 | refinedweb | 2,623 | 59.33 |
A set of Tkinter widgets to display readonly text and code.
Project Description
A set of Tkinter widgets for displaying readonly text and code.
Getting Started
tkReadOnly can be installed from PyPI:
pip install tkreadonly
ReadOnlyText
An extension of the ttk.Text widget that disables all user editing.
The builtin ttk.T... | https://pypi.org/project/tkreadonly/ | CC-MAIN-2018-17 | refinedweb | 538 | 59.6 |
When I enter 1 vowel the ans. is 1 vowel and 2 consonants. When I enter 1 vowel and 1 consonant the ans. is 1 v & 2 cons. When I enter 1 consonant the ans. is 0 v & 1 cons. If I enter the sentence: Welcome to Foothill. the ans. is 7 vowels & 8 consonants. The vowels are correct, but the consonants should be 10. I have ... | http://www.javaprogrammingforums.com/%20loops-control-statements/15034-java-loops-count-vowels-consonants-usinf-logic-main-printingthethread.html | CC-MAIN-2015-32 | refinedweb | 260 | 80.48 |
Most of the widgets are organized in a big main window which is divided into
four parts: the MainArea and three panels (which are organized by the
PanelManager) containing one or more smaller widgets:
MainArea
PanelManager
The panels primarily contain widgets interacting with the 3D window.
The user interface of OpenSt... | https://openstructure.org/docs/2.1/gui/layout/ | CC-MAIN-2021-10 | refinedweb | 1,189 | 65.83 |
Developers tend to divide along language boundaries. Once we know a programming language, we identify ourselves by it -- we're "a C++ programmer," "a Delphi developer," etc. One explanation for this tendency to affiliate is that old barrier to change that naturally exists between programming languages: familiarity. Peo... | http://www.itworld.com/AppDev/705/ITW1917/ | crawl-001 | refinedweb | 1,195 | 57.57 |
Code. Collaborate. Organize.
No Limits. Try it Today.
etc) -->
I want to address two topics in this article, one educational and the other
practical. My educational reason is to show you how to do something
non-trivial utilizing the XML and
XSL .NET Framework classes. In doing this I'm going to show
you one approach to... | http://www.codeproject.com/Articles/3090/Version-Resource-Tool-Using-XML-XSLT-and-NET?PageFlow=FixedWidth | CC-MAIN-2014-15 | refinedweb | 1,572 | 55.44 |
Improved filtfilt() for R
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
The
filtfilt function in R is supposedly based on the Matlab one, but it does quite badly on endpoints. My goal here is to explore alternatives, with a focus on the Octave method.
NOTE: I may also tr... | https://www.r-bloggers.com/2014/02/improved-filtfilt-for-r/ | CC-MAIN-2021-21 | refinedweb | 823 | 66.44 |
With.
Application development in XAML needs efforts from both UI Designer and Developer. In the development process, the UI Designer uses Blend to manage XAML design using design templates, styles, animations etc. Similarly the UI Developer uses Visual Studio to add functionality to the design. Many-a-times it is possi... | http://www.dotnetcurry.com/visualstudio/1182/new-xaml-tools-visual-studio-2015 | CC-MAIN-2017-26 | refinedweb | 1,584 | 53.71 |
13 min read
Ruby on Rails (“Rails”) is a popular open source framework, based on the Ruby programming language that strives to simplify and streamline the web application development process.
Rails is built on the principle of convention over configuration. Simply put, this means that, by default, Rails assumes that it... | https://www.toptal.com/ruby-on-rails/top-10-mistakes-that-rails-programmers-make | CC-MAIN-2018-47 | refinedweb | 2,767 | 52.39 |
Archive for the ‘sage interactions’ Category.
Regular readers of Walking Randomly will know that I am a big fan of the Manipulate function in Mathematica. Manipulate allows you to easily create interactive mathematical demonstrations for teaching, research or just plain fun and is the basis of the incredibly popular Wo... | http://www.walkingrandomly.com/?cat=24 | CC-MAIN-2013-20 | refinedweb | 2,001 | 61.97 |
CHAPTER 8
Class declarations define new reference types and describe how they are implemented (§8.1).
The name of a class has as its scope all type declarations in the package in which the class is declared (§8.1.1). A class may be declared
abstract (§8.1.2.1) and must be declared
abstract if it is incompletely impleme... | http://spec-zone.ru/Java/JLS/1/8.doc.html | CC-MAIN-2018-13 | refinedweb | 11,910 | 52.7 |
Hi,
I have a question regarding Solution Accelelator - Correspondence Management.
I would like to know if there exists a way to “promote” from one environment to another one all the works done into Adobe Solution Accelerators Content Creator?
Situation: Business users work into a "Test" environment and they must promot... | https://forums.adobe.com/thread/450772 | CC-MAIN-2018-22 | refinedweb | 345 | 61.26 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.