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
Hi Sinisa, This problem was there earlier but I already fixed this a week back, can you try pulling the latest code and check again. -Harikrishna On 05-Mar-2013, at 1:05 AM, Sinisa Denic <sdenic@peacebellservers.com> wrote: > There is no return of random set password at start of password enabled virtual machine, > so u...
http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201303.mbox/%3C39CFDD79-F05A-4F98-89E9-B6BCFB80BD6C@citrix.com%3E
CC-MAIN-2018-43
refinedweb
489
61.22
In Robot Framework user guide there is a section that describes how to pass variable files and also some possible variables if needed. Example: pybot --variablefile taking_arguments.py:arg1:arg2 pybot --variablefile taking_arguments.py:arg1:arg2 IP_PREFIX = arg1 NameError: name 'arg1' is not defined The only way to use...
https://codedump.io/share/lClMjYVBTpdc/1/how-to-use-extra-arguments-passed-with-variable-file---robot-framework
CC-MAIN-2016-44
refinedweb
201
55.64
Next article: Friday Q&A 2012-03-02: Key-Value Observing Done Right: Take 2 Previous article: Deadlocks and Lock Ordering: a Vignette Tags: code fridayqna hack memory. Code Just like last time, the code we're going to discuss is available on GitHub: Goals The mirrored memory trick allows exposing pointers to the interi...
https://www.mikeash.com/pyblog/friday-qa-2012-02-17-ring-buffers-and-mirrored-memory-part-ii.html
CC-MAIN-2017-34
refinedweb
3,491
55.37
Visual Studio debugger cannot step into QtWebkit.dll code I'm trying to debug an issue I'm having with launching windows from Javascript in a web view. However, I cannot step into any QtWebkit.dll code from the Visual Studio debugger using Qt 4.8.5. E.g. a simple app: @ #include <QApplication> #include <QWebView> int m...
https://forum.qt.io/topic/34037/visual-studio-debugger-cannot-step-into-qtwebkit-dll-code
CC-MAIN-2018-13
refinedweb
137
53.37
"Abstraction is layering ignorance on top of reality." -- Richard Gabriel Directory structure The Nim project's directory structure is: Bootstrapping the compiler Note: Add . to your PATH so that koch can be used without the ./. Compiling the compiler is a simple matter of running: nim c koch.nim koch boot -d:release F...
https://nim-lang.github.io/Nim/intern.html
CC-MAIN-2021-39
refinedweb
1,302
64.2
save code problem - Hibernate hibernate code problem String SQL_QUERY =" from Insurance...: " + insurance. getInsuranceName()); } in the above code,the hibernate where clause was used and then it was iterate to fetch the values. but my Hibernate save() This tutorial explain how save() works in hibernate Problem in upda...
http://roseindia.net/tutorialhelp/comment/85697
CC-MAIN-2015-48
refinedweb
2,067
56.76
This documentation is archived and is not being maintained. Office Communications Server Securing OCS with ISA Server Alan Maddison At a Glance: - OCS 2007 R2 Edge Server roles and topologies - Configuring ISA Server in a 3-Leg Perimeter network - Understanding OCS certificate requirements - Creating a Web listener and...
https://technet.microsoft.com/en-us/library/2009.03.isa.aspx
CC-MAIN-2018-17
refinedweb
3,143
58.52
15.3. StringCoder - Part A¶ The following is a free response question from 2008. It was question 2 on the exam. You can see all the free response questions from past exams at. Question 2. Consider a method of encoding and decoding words that is based on a master string. This master string will contain all the letters o...
https://runestone.academy/runestone/books/published/csawesome/FreeResponse/StringCoderA.html
CC-MAIN-2020-05
refinedweb
526
58.21
23 December 2009 21:06 [Source: ICIS news] HOUSTON (ICIS news)--US polyvinyl chloride (PVC) producers will reduce vinyl chloride air emissions by 70 tonnes/year as a result of pollution enforcement actions taken since 2003, the Environmental Protection Agency (EPA) said on Wednesday. The EPA said it has addressed pollu...
http://www.icis.com/Articles/2009/12/23/9321799/us-pvc-producers-to-cut-vinyl-chloride-emissions-by-70-tonnesyr.html
CC-MAIN-2013-48
refinedweb
444
51.68
Please explain these answers I say its #1, because the cast is used to fit a super class into its subclass. But the answer he gives is #3. I dont understand why. May the force of the Java be in all of us !!! Sub s = (Sub)b; is OK, even if b is declared to be of type Base, but only if it currently contains an object of ...
http://www.coderanch.com/t/393141/java/java/explain-answers
CC-MAIN-2016-22
refinedweb
2,133
65.86
Hello, I am currently migrating a large codebase that we use for more than a single unity project to assembly definitions and UPM. Before this change, the project's code used to be compiled outside of unity and the compiled dlls were copied in the assets directory of the unity project. This worked well, but with recent...
https://answers.unity.com/questions/1707855/asmdef-and-custom-conditional-compilation-symbols.html
CC-MAIN-2021-17
refinedweb
247
56.25
Check if script is executed within Pythonista Hi! I would like to write multi-platform scripts for Pythonista on iOS, Mac and Windows. Do you know a way how a script which is executed within Pythonista can check that it is executed within Pythonista and not on a Mac? If you're only looking to determine which OS you're ...
https://forum.omz-software.com/topic/6299/check-if-script-is-executed-within-pythonista/5
CC-MAIN-2022-27
refinedweb
152
66.44
Up until this point, the components we've created have been stateless. They have properties (aka props) that are passed in from their parent, but nothing changes about them once the components come alive. Your properties are considered immutable once they have been set. For many interactive scenarios, you don't want th...
https://www.kirupa.com/react/dealing_with_state.htm
CC-MAIN-2020-16
refinedweb
2,108
58.08
How to Optimize Your Code for Interview Questions There are many different ways to solve interview-type algorithm questions. However given different constraints, some methods become unusable as input size grows. In this tutorial, we’ll analyze the time and space complexity for two different versions of the range summar...
https://www.codementor.io/ruby-on-rails/tutorial/optimize-your-code-for-coding-interview
CC-MAIN-2017-43
refinedweb
1,358
64.1
Querying a Database: Connected Approach Querying is the process of retrieving data from a data source such as a database. We can do queries using the SELECT statement of the SQL. You will learn how to use this statement to query a table in a database using ADO.NET classes. We will present the connected approach of quer...
https://compitionpoint.com/connection-string-sql/
CC-MAIN-2021-21
refinedweb
1,132
65.12
Photo by Pavel Nekoranec on Unsplash This is a continuation of the SOLID. In the last post, I covered the O and now we will be continuing with the L. So if you didn't check the last post, feel free to click on the link: Liskov substitution principle Let z be a property provable about objects x of type T. Then z should ...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/sightlessdog/revisiting-the-l-in-solid-116m
CC-MAIN-2021-10
refinedweb
426
63.59
Generic TLDs Threaten Name Collisions and Information Leakage 115 Posted by Unknown Lamer from the turns-out-bad-practices-bite-you dept. from the turns-out-bad-practices-bite-you dept. CowboyRobot writes "As the Internet Corporation for Assigned Names and Numbers (ICANN) continues its march toward the eventual approva...
http://tech.slashdot.org/story/13/07/15/2353206/generic-tlds-threaten-name-collisions-and-information-leakage
CC-MAIN-2014-15
refinedweb
4,776
65.01
Stores context used per node in path planning, stores row and column position. More... #include <GridWorld.h> Stores context used per node in path planning, stores row and column position. Definition at line 25 of file GridWorld.h. List of all members. default constructor, initializes to invalid position for fail-fast ...
http://tekkotsu.org/dox/structGridWorld_1_1State.html
CC-MAIN-2018-47
refinedweb
170
50.94
again - Reload modules when they change use again 'LWP::Simple'; # default import use again 'LWP::Simple', []; # no import use again 'LWP::Simple', [qw(get)]; # import only get use again 'LWP::Simple', (); # default import (!!) use again 'LWP::Simple', qw(get); # import only get use again; require_again 'Foo::Bar'; Whe...
http://search.cpan.org/~juerd/again-0.02/again.pm
CC-MAIN-2016-30
refinedweb
191
63.19
This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project. This patch series is pending review: - Remove Wundef warnings for specification macros - Add _POSIX namespace SYSCONF macros to conf.list - Use PTHREAD_DESTRUCTOR_ITERATIONS - Use conf.list to generate spec array Siddhesh On F...
http://sourceware.org/ml/libc-alpha/2014-11/msg00074.html
CC-MAIN-2019-51
refinedweb
256
58.38
I am having trouble running a script (any script, even a simple test script as shown in user manual). Currently I’ve moved to testing in the script playground until I figure out what I’m doing wrong. My script (run in the plalyground): shared.Microblend.PrintHelloWorld(“Hello World”) My script in the shared library sha...
https://forum.inductiveautomation.com/t/run-script-in-shared-library-gives-object-not-callable/9866
CC-MAIN-2022-40
refinedweb
118
50.53
Speech to ear speaker? Is there away to use the text to speak so that it outputs to the ear speaker and not the speaker phone? @dwildbore , hi I used the example below from the Pythonista docs. I am using apple Airpods on iPad 12.5' 2nd gen. The sound worked fine for me. When the AirPods in, the speech came though them...
https://forum.omz-software.com/topic/4705/speech-to-ear-speaker
CC-MAIN-2022-40
refinedweb
220
53.78
. 29 comments: Hi Jim- I have your book and am using it to get a better understanding of coding using JQuery and Javascript. I have two grids on a time entry page and am trying to align them one below the other exactly column to column and am thinking I need to use something like jquery to achieve this because when PS ...
http://jjmpsj.blogspot.com/2013/04/jquery-plugin-include-protection.html
CC-MAIN-2018-09
refinedweb
2,693
75.5
1 Checking Your Tools Written by Audrey Tam You’re eager to dive into this book and create your first iOS app. If you’ve never used Xcode before, take some time to work through this chapter. You want to be sure your tools are working and learn how to use them efficiently. Getting started To develop iOS apps, you need a...
https://koenig-assets.raywenderlich.com/books/swiftui-apprentice/v1.0/chapters/1-checking-your-tools
CC-MAIN-2021-49
refinedweb
5,131
74.08
Jeremy Shaw <Jeremy.Shaw at linspireinc.com> writes: > I am making a wild guess because I do not have all the information in > front of me right now but would this work ? > > ... do x <- if cond >> then textInputField ... >> else return () ... Let me make another guess, probably an even wilder one, ... You have to retu...
http://www.haskell.org/pipermail/haskell-cafe/2005-February/009262.html
CC-MAIN-2014-42
refinedweb
234
73.27
C++/CLI specifies several keywords as extensions to ISO C++. The way they are handled falls into five major categories, where only the first impacts the meaning of existing ISO C++ programs. 1. Outright reserved words As of this writing (November 22, 2003, the day after we released the candidate base document), C++/CLI...
https://blogs.msdn.microsoft.com/hsutter/2003/11/23/ccli-keywords-under-the-hood/
CC-MAIN-2017-43
refinedweb
2,531
53.75
Frequently asked question about ucampas Can I call ucampas from Windows XP? Ucampas does not yet run under Windows, but you can use PuTTY to call ucampas on a Linux server. You can configure Windows Explorer to make this very convenient: First, if you haven't done so yet, install PuTTY using the Windows installer (we n...
http://www.cl.cam.ac.uk/local/web/ucampas/faq.html
CC-MAIN-2014-42
refinedweb
943
56.35
Currently, I have a 3D Python list in jagged array format. A = [[[0, 0, 0], [0, 0, 0], [0, 0, 0]], [[0], [0], [0]]] A + 4 [[[4, 4, 4], [4, 4, 4], [4, 4, 4]], [[4], [4], [4]]] B = numpy.array(A) B + 4 TypeError: can only concatenate list (not "float") to list The answers by @SonderingNarcissit and @MadPhysicist are alre...
https://codedump.io/share/E2l9WjGpGtps/1/converting-a-3d-list-to-a-3d-numpy-array
CC-MAIN-2018-09
refinedweb
227
65.39
We’re quite eager to get to applications of algebraic topology to things like machine learning (in particular, persistent homology). Even though there’s a massive amount of theory behind it (and we do plan to cover some of the theory), a lot of the actual computations boil down to working with matrices. Of course, this...
http://jeremykun.com/2011/12/30/row-reduction-over-a-field/
CC-MAIN-2015-14
refinedweb
1,870
53.44
Fast conversion to text format with character strings. More... #include <char_strings.hpp> Fast conversion to text format with character strings. Provides a fast conversion to text using character strings. Unlike some of the numeric converters, this uses an internal character buffer as the output is of known lengths (o...
http://docs.ros.org/en/jade/api/ecl_converters/html/classecl_1_1Converter_3_01char_01_5_00_01bool_01_4.html
CC-MAIN-2022-27
refinedweb
136
60.51
How to create Visual Studio extensions using Visual Studio 2017. Introduction This article is regarding creation of Visual Studio extensions, using Visual Studio 2017, so that we can start making custom extensions. Let us start creating the extension with the menu command, which will launch one simple Application. Prer...
https://www.c-sharpcorner.com/article/how-to-create-visual-studio-extensions-using-visual-studio-2017/
CC-MAIN-2020-40
refinedweb
307
57.57
How We Built the Learn IDE in Browser Learn about the engineering process and tech stack behind Learn.co’s IDE in Browser. This post originally appeared on the Flatiron School blog. This week, Flatiron School’s Engineering team rolled out the Learn IDE (Integrated Development Environment) in browser — complete with fil...
https://medium.com/flatiron-labs/how-we-built-the-learn-ide-in-browser-d6db3ff39083?source=---------9------------------
CC-MAIN-2019-35
refinedweb
1,330
50.97
GatsbyJS - Use and Style React Components Information drawn from To build out the basic page structure for your blog site, you’ll need to know about React components and how Gatsby uses them. By the end of this part of the Tutorial, you will be able to: - Create page components to add new pages to your site. - Import a...
https://codersnack.com/gatsbyjs-use-react-components/
CC-MAIN-2022-33
refinedweb
2,085
64.1
Sclasner is a classpath scanner written in Scala. It is intended as a replacement of Annovention and mainly used for standalone JVM applications. If you want a more complex solution, please see Reflections. With Sclasner, you can: - Scan all .class files (including those inside .jar files in classpath), then use Javass...
https://index.scala-lang.org/xitrum-framework/sclasner/sclasner/1.7.0?target=_2.12
CC-MAIN-2019-43
refinedweb
557
59.8
What Is LINQ? LINQ is an acronym for Language Integrated Query, which describes where it’s used and what it does. The Language Integrated part means that LINQ is part of programming language syntax. In particular, both C# and VB are languages that ship with .NET and have LINQ capabilities. How Do I Use LINQ in My C# Co...
https://dzone.com/articles/getting-to-know-linq-1
CC-MAIN-2017-30
refinedweb
456
83.25
Bug Description Binary package hint: gnome-app-install The dialog that comes up when trying to play an unsupported file is untranslated, and the translation is not currently available in Rosetta. I'd hope this can be fixed in Feisty Updates, too by introducing the necessary strings for the translators, and letting lang...
https://bugs.launchpad.net/launchpad/+bug/106756
CC-MAIN-2018-17
refinedweb
1,642
74.29
wholesale goose down comforterin Home & Garden also searched: duvet blankets duvets queen size duvet duck duvet queen covers eiderdown quilt duvet inners duvet donuts duck feather blanket goose feather comforter View More Thickening goose down comforter, 3kg, free shipping to Russia, all sizes, 200*230, 150*200, 180*20...
http://www.aliexpress.com/w/wholesale-goose-down-comforter.html
CC-MAIN-2014-42
refinedweb
1,064
66.23
MING-HSIEN CHEN11,297 Points def squared(num) not identified as good although it seems to work in my test why? Hello, here are my lines of code def squared(num): try: num1 = int(num) except ValueError: print (num * len(num)) else: print (num1 * num1) when I put that into a python fiel and add squared (the examples give...
https://teamtreehouse.com/community/def-squarednum-not-identified-as-good-although-it-seems-to-work-in-my-test-why
CC-MAIN-2020-24
refinedweb
235
73.1
Opened 10 months ago Closed 8 months ago Last modified 8 months ago #33043 closed Bug (fixed) method_decorator() should preserve wrapper assignments Description the function that is passed to the decorator is a partial object and does not have any of the attributes expected from a function i.e. __name__, __module__ etc...
https://code.djangoproject.com/ticket/33043
CC-MAIN-2022-27
refinedweb
205
64.2
paymentservice_event_get_error_id() Retrieves the error ID from an event. Synopsis: #include <bps/paymentservice.h> BPS_API int paymentservice_event_get_error_id(bps_event_t *event) Arguments: - event - The event to retrieve the error ID from. Library:libbps Description: The paymentservice_event_get_error_id() function...
https://developer.blackberry.com/playbook/native/reference/com.qnx.doc.bps.lib_ref/com.qnx.doc.bps.lib_ref/topic/paymentservice_event_get_error_id.html
CC-MAIN-2020-34
refinedweb
171
61.53
assignToSite(emp, site) // procedural // OOP emp.assignToSite(site) // OO variation 1 Or site.assignEmp(emp) // OO variation 2 Or site.employeeList.add(emp) // OO variation 3 assignments.insert(emp, site) // relational{The last line is peculiar. What makes it "relational"? "Relational" isn't any programming paradigm th...
http://c2.com/cgi-bin/wiki?ResponsibilityDrivenDesignConflictsWithYagni
CC-MAIN-2016-40
refinedweb
6,231
66.23
Defining member functions outside the class definition All of the classes that we have written so far have been simple enough that we have been able to implement the member functions directly inside the class definition itself. For example, here’s our ubiquitous Date class: However, as classes get longer and more compl...
https://www.learncpp.com/cpp-tutorial/class-code-and-header-files/
CC-MAIN-2021-17
refinedweb
1,717
65.12
removing commas with sbt-nocomma August, 2016 During the SIP-27 trailing commas discussion, one of the thoughts that came to my mind was unifiying some of the commas with semicolons, and take advantage of the semicolon inference. This doesn't actually work. @Ichoran kindly pointed out an example: Seq( a b c ) This is i...
http://eed3si9n.com/removing-commas-with-sbt-nocomma
CC-MAIN-2018-47
refinedweb
798
60.11
I am wondering if my answer to this most recent assignment is correct. Just want see if anyone has any input before I submit. Any comments would be appreciated! Thanks! Here is the assignment:The card game poker is a game of chance. If you aren't familiar with the game, you can read about it at the following links (amo...
http://www.javaprogrammingforums.com/%20whats-wrong-my-code/26924-poker-hand-program-right-printingthethread.html
CC-MAIN-2014-15
refinedweb
1,193
65.56
Details - Type: Bug - Status: Closed - Priority: P1: Critical - Resolution: Done - Affects Version/s: Qt Creator 4.0.0-beta1 - Fix Version/s: Qt Creator 4.0.0-beta1 - - - Environment:Windows 7 64 bit MSVC2013 32 bit cdb 6.12 Description - Have a simple program: #include <QCoreApplication> #include <QDebug> void func(){...
https://bugreports.qt.io/browse/QTCREATORBUG-15859?attachmentSortBy=dateTime
CC-MAIN-2022-40
refinedweb
158
62.24
Created on 2007-04-02 15:27 by nathanlmiles, last changed 2018-03-15 00:32 by terry.reedy. This issue is now closed. When I try to use r"\w+(?u)" to find words in a unicode Devanagari text bad things happen. Words get chopped into small pieces. I think this is likely because vowel signs such as 093e are not considered ...
https://bugs.python.org/issue1693050
CC-MAIN-2019-30
refinedweb
1,230
64
Arduino on Algorand Blockchain Overview The Internet of Things is growing and getting more and more attention over time. With a community of millions of users, Arduino is the most popular development board on the market. In this solution, you will learn how to connect any Arduino to the Algorand Blockchain. We will see...
https://developer.algorand.org/solutions/arduino-algorand-blockchain/
CC-MAIN-2021-31
refinedweb
1,177
59.6
How to refresh Dropbox access token with the (older) Dropbox library included with Pythonista? Hi all --- Dropbox has started enforcing short-lived OAuth access tokens so it seems that any Pythonista scripts that want to use it will need to know how to either create or refresh access tokens if they've expired. It appea...
https://forum.omz-software.com/topic/7014/how-to-refresh-dropbox-access-token-with-the-older-dropbox-library-included-with-pythonista
CC-MAIN-2021-43
refinedweb
938
51.34
git-describe − Describe a commit using the most recent tag reachable from it git describe [−−all] [−−tags] [−−contains] [−−abbrev=<n>] [<commit−). <commit−ish>... Commit−ish object names to describe. Defaults to HEAD if omitted. −−dirty[=<mark>] Describe the working tree. It means describe HEAD and appends <mark> (−dir...
http://man.sourcentral.org/debian-stretch/1+git-describe
CC-MAIN-2018-43
refinedweb
305
67.35
Glib::GenPod - POD generation utilities for Glib-based modules use Glib::GenPod; # use the defaults: xsdoc2pod ($xsdocparse_output_file, $destination_dir); # or take matters into your own hands require $xsdocparse_output_file; foreach my $package (sort keys %$data) { print "=head1 NAME\n\n$package\n\n"; print "=head1 M...
http://search.cpan.org/~xaoc/Glib-1.303/lib/Glib/GenPod.pm
CC-MAIN-2014-35
refinedweb
1,487
62.68
QEventDispatcherWin32 does not handle WM_INPUT messages properly - BUG? Hi, I need to integrate "3D Connexion Space Navigator ": into my Qt Win32 application. 3D Connexion recommends that developers implement the 3D mouse integration with using Raw Input API. To use the Raw input API, you first need to register the inp...
https://forum.qt.io/topic/495/qeventdispatcherwin32-does-not-handle-wm_input-messages-properly-bug/12
CC-MAIN-2019-09
refinedweb
1,741
61.97
Subject: Re: [boost] gil::io "non-review" (was: [gil] Can not open test.jpg) From: Phil Endecott (spam_from_boost_dev_at_[hidden]) Date: 2010-03-22 19:35:19 Hi Christian, I've just had to remind myself what this was all about. I may have forgotten or mis-remembered something. Christian Henning wrote: >>> - DCT type: Yo...
https://lists.boost.org/Archives/boost/2010/03/163636.php
CC-MAIN-2019-43
refinedweb
755
75.3
On Fri, Oct 24, 2008 at 12:59 AM, Assaf Arkin <arkin@intalio.com> wrote: >> Buildr (rake) interpreted "compile.from('sources')" as a dependency to >> the new 'sources' task instead of the 'sources' subdirectory. > > Short term, rename the task to something that's clearly not a > file/directory name, say artifact:source...
http://mail-archives.us.apache.org/mod_mbox/buildr-dev/200810.mbox/%3Cfbb63c440810250902y725ba168pd8918351301f02df@mail.gmail.com%3E
CC-MAIN-2021-43
refinedweb
314
50.94
Changelog 1.3.1 (Pending)). 1.2.10 (2007-11-26) * Changed: Resources sets permission on copied files to make them read/write-able (Shane Witbeck). * Changed: Artifact download no longer generates destination directory if not downloaded (Antoine). * Fixed: EOL in MANIFEST.MF. * Fixed: Bunch of typos, courtesy of Merlyn ...
http://incubator.apache.org/buildr/changelog.html
crawl-001
refinedweb
5,345
59.09
Python is a powerful programming language with a robust library of functions and other resources for faster development. Its inbuilt functions are a great support to any Python Programmer. Sometimes it is easier to write your own functions. If in-built functions are not sufficient to implement your logic you have to cr...
https://csveda.com/python-user-defined-functions/
CC-MAIN-2022-33
refinedweb
407
63.39
G-API backends available in this OpenCV version. More... G-API backends available in this OpenCV version. G-API backends play a corner stone role in G-API execution stack. Every backend is hardware-oriented and thus can run its kernels efficiently on the target platform. Backends are usually "black boxes" for G-API use...
https://docs.opencv.org/4.5.0/dc/d1c/group__gapi__std__backends.html
CC-MAIN-2022-33
refinedweb
169
50.63
On Tue, 3 Dec 2002 05:13, Noel J. Bergman wrote: > I saw Pete's comments. I, personally, don't agree with him and I didn't > see him veto the approach, hence my summary. If need be I will ;) > By parsable, I mean in accordance with the RFC into the urn:NID:NSS parts. > The NID gets you to the namespace, which should be...
http://mail-archives.apache.org/mod_mbox/avalon-dev/200212.mbox/%3C200212030954.30489.peter@realityforge.org%3E
CC-MAIN-2018-05
refinedweb
229
57.37
Getting to Grips with Blocks II In the last article we had a whistle stop tour of blocks. How they are defined, what purposes they serve and the differences between various Ruby versions. It was all very academic. But practically what benefit do we actually get from blocks. What makes them such a powerful tool for Ruby...
http://www.sitepoint.com/getting-to-grips-with-blocks-pt-2/
CC-MAIN-2014-15
refinedweb
1,246
63.7
itertools.combinations() solution in Clear category for The Rows of Cakes by ddavidse import itertools """ For each 3 points, we use the first 2 points to find the a,b that satisfy the line equation y = a*x + b for both points. Then, we check whether the 3rd point also lies on the line. Because such lines cannot be ver...
https://py.checkio.org/mission/cakes-rows/publications/ddavidse/python-3/itertoolscombinations/share/3f9d7ed05ab05131c922a30c105c8b9b/
CC-MAIN-2022-05
refinedweb
204
69.11
Lazy Class Infrastructure Do you ever feel you should implement equals(), hashCode() and toString, but just can't be bothered to do it for every class? Well, if you aren't bothered by speed, you can use Jakarta Commons Lang to do it for you. Just add this to your class: import org.apache.commons.lang.builder.ToStringBu...
http://www.davidpashley.com/blog/2007/Jan/28
crawl-001
refinedweb
183
59.4
Everything. Somewhere, somebody is going to hate me for saying this, but if I were to try to explain monads to a Java programmer unfamiliar with functional programming, I would say: "Monad is a design pattern that is useful in purely functional languages such as Haskell. Although the concept of a monad has been taken f...
http://www.linuxjournal.com/article/8850?quicktabs_1=0
CC-MAIN-2014-52
refinedweb
8,109
62.27
The array at position 2 (the a) has not a real char value. So you must either: // stepthrough the sentence array, get the first character // of each string @ each index, and store... The array at position 2 (the a) has not a real char value. So you must either: // stepthrough the sentence array, get the first character...
http://www.javaprogrammingforums.com/search.php?s=cbb015d83d802b0760f186afeab72180&searchid=1272761
CC-MAIN-2014-52
refinedweb
788
73.98
#include <LevelGodunov.H> Actual constructor. Inside the routine, we cast away const-ness on the data members for the assignment. The arguments passed in are maintained const (coding standards). Take one timestep for this grid level. Compute the time-centered values of the primitive variables on cell faces. This API is...
http://davis.lbl.gov/Manuals/CHOMBO-RELEASE-3.1/classLevelGodunov.html
CC-MAIN-2018-43
refinedweb
139
58.18
Some. For each test case output whether the permutation is ambiguous or not. Adhere to the format shown in the sample output. 4 1 4 3 2 5 2 3 4 5 1 1 1 0 ambiguous not ambiguous ambiguous when i press submit button its giving the requested page could not be found...... whats wrong??? the submit page is stilll not found...
https://www.codechef.com/problems/PERMUT2/
CC-MAIN-2015-48
refinedweb
2,691
75.91
Ok please help me with this, I have a final due tonight and I've tried to do this **** for like an hour now, but I have no idea how to do any of this **** with arrays and I've looked it up on the internet for like half an hour and nothing I've tried has worked. We have to use this header: public static int threshold (d...
http://forums.codeguru.com/showthread.php?506676-need-help-pressing-a-button-within-an-embeded-web-page.&goto=nextoldest
CC-MAIN-2015-18
refinedweb
489
79.09
#include <TIL_Raster.h> Definition at line 29 of file TIL_Raster.h. Copy over all the information and data from the src. This allocates a new raster (rather than doing a shallow copy). Reimplemented from PXL_Raster. copies only the raster properties (res, type, etc), not the data, nor does this method allocate memory f...
https://www.sidefx.com/docs/hdk/class_t_i_l___raster.html
CC-MAIN-2022-21
refinedweb
129
70.39
A Ruby example of String#[] str = "Oh, this is a pen." p str[/this is a (\w+)\./, 1] The result is "pen". Since String#[] is just an alias of String#slice, (*1) p str.slice(/this is a (\w+)\./, 1) The result is completely same. in Vim script Vim script version needs two separate processes; getting the list of first-mat...
http://ujihisa.blogspot.com/2011/06/stringslice-of-ruby-in-vim-script-and.html
CC-MAIN-2018-22
refinedweb
321
75.71
On Wed, 2005-06-08 at 10:58 -0800, luya jpopmail com wrote: > > It looks like patch is not finding the correct files. Diagnosing this > > would be elped by specifying where you think that file resides instead > > of skipping over it. So on the "File to patch:" line try > > blender/source[...]KX_HashedPtr.cpp > > source...
https://listman.redhat.com/archives/fedora-extras-list/2005-June/msg00275.html
CC-MAIN-2021-21
refinedweb
430
67.45
Getting Started with EZ-BLE™ Module Code Differencesuser_252 Jun 23, 2016 12:04 PM When following this document,, it references the complete main.c file in Appendix E. However downloading the code from the AN96841 page,, the main.c file is different and causes errors when compiling. The PDF document only has #include <...
https://community.cypress.com/message/50789
CC-MAIN-2019-22
refinedweb
416
73.47
Destroy a thread immediately #include <sys/neutrino.h> int ThreadDestroy( int tid, int priority, void* status ); int ThreadDestroy_r( int tid, int priority, void* status ); libc Use the -l c option to qcc to link against this library. This library is usually included automatically. These kernel calls terminate the thre...
http://www.qnx.com/developers/docs/6.6.0.update/com.qnx.doc.neutrino.lib_ref/topic/t/threaddestroy.html
CC-MAIN-2021-10
refinedweb
254
65.22
For that I will publish multiple posts, explaining different functions of the embedding. In the first post I show, how to include iTunes to a C# program in general - therefor even no external software like the iTunes SDK is needed, already the "normal" iTunes installation will install the needed COM object. To add such...
http://csharp-tricks-en.blogspot.com/2011/02/include-itunes.html
CC-MAIN-2017-51
refinedweb
149
61.16
Our infrastructure is on AWS. I want to get a daily report on how much spent on the previous day. What is the best way to do it? AWS has just announced the general availability of the functionality to Monitor Estimated Charges Using Billing Alerts via Amazon CloudWatch (it apparently has been available to AWS premium a...
http://serverfault.com/questions/350971/how-can-i-monitor-daily-spending-on-aws?answertab=active
CC-MAIN-2016-18
refinedweb
1,373
51.11
A server with Docker, part 5.1: Towards a simple web app container The fifth part in a series about the process of creating a flexible, multi-purpose webserver with Docker on a Digital Ocean droplet. Unlike the previous articles, this will be a series of smaller, more focused posts. In this one, we will take a look aro...
https://vsupalov.com/a-server-with-docker-part-5-1-towards-a-simple-webapp-container/
CC-MAIN-2017-39
refinedweb
1,333
56.49
SOLID principles in .NET revisited part 3: the Open-Closed principle April 30, 2015 3 Comments Introduction In the previous post we looked at the letter ‘S’ in SOLID, i.e. the single responsibility principle. We identified the reasons for change in the OnDemandAgentService class and broke out 3 of them into separate cl...
https://dotnetcodr.com/2015/04/30/solid-principles-in-net-revisited-part-3-the-open-closed-principle/
CC-MAIN-2019-04
refinedweb
1,091
55.95
Microsoft Visual C++ Team & the Future of C++ Following Microsoft Egypt. I met with the Developer Evangelist folks. We discussed the Visual C++ team’s participation in the upcoming MDC (Middle-East Developers Conference) in Cairo (nothing is confirmed yet regarding the participation). Last year the VC++ Team delivered ...
http://blogs.msdn.com/aymans/
crawl-002
refinedweb
442
63.59
to be able to do so because such a method could be relying on an external dependency (such as a database) and you don’t really want to worry about it – for example, to ensure that a database is up and running, has consistent data, etc… Setting it up Maven is used for the example setup. In the pom.xml of your project a...
https://knowledgebasement.com/simple-mockito-unit-test/
CC-MAIN-2021-43
refinedweb
459
53.61
> bison.zip > main.c /* Top level entry point of bison, Copyright (C) 1984, 1986, 1989, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include "system.h" #include "machine.h" /* JF for MAXSHORT */ extern int lineno; extern int verboseflag; /* Nonzero means failure has been detected; don't write a parser file. */...
http://read.pudn.com/downloads8/sourcecode/unix_linux/23324/main.c__.htm
crawl-002
refinedweb
400
68.36
Hello, I need some help with my if statement. I want to create a simple text base game. The game begin with the character reaching the top floor of a castle and encounters the final boss. The character can has two choices, fight or kneel before the boss. Right now if i type "fight" it display the following message, "Yo...
http://www.javaprogrammingforums.com/%20java-theory-questions/18994-need-some-help-my-if-statment-printingthethread.html
CC-MAIN-2016-18
refinedweb
272
66.23
Returning ArrayList from Method James Dudley Greenhorn Joined: May 20, 2011 Posts: 17 posted May 28, 2011 13:16:27 0 I have been trying to condense some duplicates of code and hit a barrier I have a class that reads information from a database. I had 4 methods to return an array of 4 different items from database. I g...
http://www.coderanch.com/t/539761/java/java/Returning-ArrayList-Method
CC-MAIN-2014-15
refinedweb
1,041
56.79
Ever had the problem that inheritance just wasn’t enough? For example in this case: package core; public class Main { public static void main(String[] args) { sayHello(); } private static void sayHello() { System.out.println("Hello World!"); } } Say you need to override sayHello(). What are your options? You could edit...
https://blog.pdark.de/2010/09/16/when-inheritance-is-not-enough/
CC-MAIN-2021-43
refinedweb
353
77.84
Settings Types Let’s say you’re writing a webserver. You want the server to take a port to listen on, and an application to run. So you create the following function: run :: Int -> Application -> IO () But suddenly you realize that some people will want to customize their timeout durations. So you modify your API: run ...
http://www.yesodweb.com/book/settings-types
CC-MAIN-2015-35
refinedweb
485
61.26
"The views expressed in this article are the author's own and do not necessarily reflect the views of Oracle." (For more resources on Oracle, see here.) Introduction This article is better understood by people who have some familiarity with Oracle database, SQL, PL/SQL, and of course Java (including JDBC). Beginners ca...
https://www.packtpub.com/books/content/java-oracle-database
CC-MAIN-2015-11
refinedweb
2,286
50.77
- Preventing Unnecessary Duplication - Building a Panel - Where Do We Go from Here? Preventing Unnecessary Duplication Part 9 of this series introduced test code to verify the contents of the Texas Hold ’Em title bar. It’s one simple line in HoldEmTest: assertEquals("Hold ’Em", frame.getTitle()); It’s also one simple l...
http://www.informit.com/articles/article.aspx?p=461088&amp;seqNum=2
CC-MAIN-2019-43
refinedweb
728
50.12
Getting Started with FlexCel Studio for the .NET Framework 0. Before starting: Choosing how to install and reference FlexCel When installing FlexCel, there are 2 options: Download the exe setup. This is the preferred way to install FlexCel in Windows, since it will install the NuGet package, the libraries, the examples...
http://www.tmssoftware.biz/flexcel/doc/net/guides/getting-started.html
CC-MAIN-2019-04
refinedweb
891
51.95
NAME Wait for signals on multiple objects. SYNOPSIS #include <zircon/syscalls.h> zx_status_t zx_object_wait_many(zx_wait_item_t* items, size_t num_items, zx_time_t deadline); DESCRIPTION zx_object_wait_many() is a blocking syscall which causes the caller to wait until either the deadline passes or at least one object r...
https://fuchsia.dev/fuchsia-src/reference/syscalls/object_wait_many
CC-MAIN-2020-29
refinedweb
445
56.15
I want to display google maps on a view that's then added to self.view self.view GMSMapView gmView let mapView = GMSMapView.map(withFrame: CGRect.zero, camera: GMSCameraPosition.camera(withLatitude: 51.050657, longitude: 10.649514, zoom: 5.5)) gmView = mapView mapView self.view self.view.addSubview(mapView) self.view.i...
https://codedump.io/share/vebjnnAEIK10/1/google-maps-gmsmapview-on-custom-uiview
CC-MAIN-2017-39
refinedweb
198
62.44
The ps3game.c program looks pretty simple to exploit: it receives code from the network, executes it, and sends back the response. So… just send your shellcode and you’re done, right? Not quite 🙂 In the program there is this comment: /* GEOWITCH: this is the port protected by codeserv */ .sin_port = 0x2823, (Note that...
https://eindbazen.net/2011/10/rwth-ctf-2011-ps3game/
CC-MAIN-2018-26
refinedweb
3,561
63.32
I don't like the idea to be limited to one paradigm either. I use them as I see fit. However, to these kind of things, classes are best IMHO. All functionality for an object to be grouped inside its object and not broken out. Why is it so difficult to learn C++ and not VB or Java (unsure about this one) or such languag...
http://cboard.cprogramming.com/cplusplus-programming/102944-though-implementation-problem-2.html
CC-MAIN-2015-14
refinedweb
305
68.26
- NAME - SYNOPSIS - DESCRIPTION - METHODS - INTERNAL METHODS - CONFIGURATION - PRIVACY CONCERNS - RECIPES NAME Catalyst::Plugin::Snippets - Make sharing data with clients easy SYNOPSIS package MyApp; # use this plugin, and any Cache plugin use Catalyst qw/ Cache::FastMmap Snippets /; package MyApp::Controller::Foo; sub...
https://metacpan.org/pod/Catalyst::Plugin::Snippets
CC-MAIN-2019-43
refinedweb
610
52.7
As a newbee to PojoCache AND AOP (did many things with TreeCache), I started to make use of PojoCache from an Eclipse-RichClient Apps or Plugin. First of all is it possible at all ?? I tried several things, but I failed. I created an Eclipse-Plugin, containing all .jar's which come with JBossCache-all-2.0.0.GA. I defin...
https://developer.jboss.org/thread/84715
CC-MAIN-2018-13
refinedweb
184
62.54
Are you sure? This action might not be possible to undo. Are you sure you want to continue? An Introduction Course Companion ©2002 Ariadne Training Limited 2 An Introduction to Java and J2EE Contents CONTENTS The Purpose of this Book THE HISTORY OF JAVA Background to Java Java Applets Java Applications Server Side Java...
https://www.scribd.com/doc/6942185/java-j2ee-introCourse-Book-v2
CC-MAIN-2018-17
refinedweb
18,429
55.47
miff man page MIFF — Magick Image File Format Synopsis #include <image.h> Description The keys describing the image in text form. The next section is the binary image data. The header is separated from the image data by a : character immediately followed by a newline. The MIFF header is composed entirely of LATIN key=v...
https://www.mankier.com/4/miff
CC-MAIN-2017-17
refinedweb
680
58.48
CodePlexProject Hosting for Open Source Software Hello, I think this may be a silly question, but I have been unable to find an answer anywhere... What are the steps to compile SharpMap 0.9 from source, specifically the latest Trunk (Change Set 95837) or Tagged version “v0.9\2011-11-13”? I am trying to get to a point w...
http://sharpmap.codeplex.com/discussions/295107
CC-MAIN-2016-40
refinedweb
640
75.4
Currently mailman3 servers are running on EL7 and are 'stuck' with a version of python which is not getting any support. Code updates to mailman3 require newer versions of python so we need to either move to EL8 or latest Fedora. Meh.. Metadata Update from @smooge: - Issue assigned to smooge Metadata Update from @smoog...
https://pagure.io/fedora-infrastructure/issue/8455
CC-MAIN-2020-40
refinedweb
1,662
73.88
Generic classes are classes which take a type as a parameter. They are particularly useful for collection classes. Generic classes take a type as a parameter within square brackets []. One convention is to use the letter A as type parameter identifier, though any parameter name may be used. class Stack[A] { private var...
http://docs.scala-lang.org/tutorials/tour/generic-classes.html
CC-MAIN-2017-22
refinedweb
279
56.15
Get started with Google VR to write immersive apps using Processing. The Google VR platform lets you use your smartphone as a quick entry point to Virtual Reality.. For Daydream, you need the View headset, and a Daydream-compatible phone. If you are using version 4.0-beta3 or newer of the Android mode, all additional p...
https://android.processing.org/tutorials/vr_intro/index.html
CC-MAIN-2018-51
refinedweb
734
58.11
Continuing the series! Feel welcome to dip in and weigh in on a past question. Let's say I've never used C++ before. Can anyone give the run down of what the language does and why you prefer it? Feel free to touch on drawbacks as well. We're a place where coders share, stay up-to-date and grow their careers. Continuing...
https://dev.to/ben/pitch-me-on-c-456j
CC-MAIN-2022-27
refinedweb
1,628
71.65
Although this seems like a trivial question, I am quite sure it is not :) I need to validate names and surnames of people from all over the world. How can I do that with a regular expression? If it were only English ones I think that this would cut it: ^[a-z -']+$ I'll try to give a proper answer myself: The only punct...
https://codedump.io/share/wPw3wbArVuRq/1/regular-expression-for-validating-names-and-surnames
CC-MAIN-2017-34
refinedweb
287
75.91
Unity3D: Non-rectangular GUI buttons – Part 3 Posted by Dimitri | Jan 17th, 2011 | Filed under Featured, Programming This is the last post of this series, which explains how to create non-rectangular GUI buttons for Unity3D games. If you haven’t read any of the other posts yet, it is highly recommended that you take a ...
http://www.41post.com/2561/programming/unity3d-non-rectangular-gui-buttons-part-3
CC-MAIN-2019-47
refinedweb
1,189
67.59
Suppose we have the following dataset in Python that displays the number of sales a certain shop makes during each weekday for five weeks: import numpy as np import pandas as pd import seaborn as sns #create a dataset np.random.seed(0) data = {'day': np.tile(['Mon', 'Tue', 'Wed', 'Thur', 'Fri'], 5), 'week': np.repeat([...
https://www.statology.org/heatmap-python/
CC-MAIN-2022-21
refinedweb
297
72.26