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
It’s all there in the repo now. fastai.text is the new processing framework, or just use torchtext. Lesson 4 takes you through a complete example (IMDb). FitLaM: What I've been working on recently I have a question about how to set up the embedding matrix for the fine tuned task. Since the embedding matrix needs to be ...
http://forums.fast.ai/t/fitlam-what-ive-been-working-on-recently/10043?page=2
CC-MAIN-2018-17
refinedweb
1,069
67.04
The SAM tag dictionary class that stores all optional SAM fields. More... #include <seqan3/io/sam_file/sam_tag_dictionary.hpp> The SAM tag dictionary class that stores all optional SAM fields. A SAM tag consists of two letters, initialized via the string literal ""_tag, which delegates to its unique id (type uint16_t)....
https://docs.seqan.de/seqan/3-master-user/classseqan3_1_1sam__tag__dictionary.html
CC-MAIN-2021-21
refinedweb
277
52.9
When we code in a program, we need to store certain values for latter use in the program. Such values need to be stored in the memory location. Even though memory location will have its own address, it is easy to identify them by name than their address. Hence we use variables – a named memory location to store these v...
https://www.tutorialcup.com/cprogramming/data-types.htm
CC-MAIN-2021-31
refinedweb
2,786
61.97
Microsoft Enterprise Services For information on Enterprise Services, see Credits Greg Molnar - USMCS MidWest Keith Olinger - USMCS MidWest David Trulli - Program Manager, Microsoft Enterprise Customer Solutions Markus Vilcinskas - Program Manager, Microsoft Enterprise Services Introduction Windows 2000 Component Overv...
http://technet.microsoft.com/en-us/library/bb742590.aspx
crawl-002
refinedweb
10,846
51.89
With signals we mean the "software interrupts" that you also send from the shell using (the build-in function) kill pid. They are used by the user to interrupt or quit a program. The kernel uses them for passing hardware errors and when a process requests so. Besides that they are useful when all you need is the possib...
https://www.vankuik.nl/Signals
CC-MAIN-2021-04
refinedweb
1,033
55.44
My goal is to multiply all positive numbers in a list by 3. I think I've almost got the solution but I'm not sure what is causing it not to work. It currently just returns back the original numbers and does not multiply any numbers by 3. def triple_positives(xs): List = [] product = 3 for i in range (len(List)): if Lis...
https://codedump.io/share/CSt52khJh5j8/1/need-help-multiplying-positive-numbers-in-a-list-by-3-and-leaving-other-numbers-unmodified
CC-MAIN-2017-04
refinedweb
155
73.07
. July 26th, 2008 at 8:02 pm I’m trying to do some tests in different environments these days, so it’s a quite useful tip to me, thanks a lot. July 29th, 2008 at 9:04 am put your test db settings into a file called test_settings.py in test_settings.py add this line to the top from settings.py import * #database setting...
http://www.stopfinder.com/blog/2008/07/26/flexible-test-database-engine-selection-in-django/
crawl-002
refinedweb
107
77.64
goCart.jsgoCart.js A complete Shopify Ajax cart solution written in vanilla JS. This plugin includes Ajax cart drawer, Ajax mini cart, add to cart modal, and error modal. Plugin by Bornfight front-end team. 🎮 Demo - All products - Product with one variant - Product with multiple variants 💪 Features - Cart drawer (wit...
https://preview.npmjs.com/package/@brave-agency/gocart
CC-MAIN-2021-21
refinedweb
1,059
58.79
Predicate<T> Delegate Represents the method that defines a set of criteria and determines whether the specified object meets those criteria. Assembly: mscorlib (in mscorlib.dll) Type Parameters - in. Parameters - obj - Type: T The object to compare against the criteria defined within the method represented by this dele...
http://msdn.microsoft.com/en-US/library/bfcke1bz(v=vs.100).aspx
CC-MAIN-2014-42
refinedweb
305
65.62
Jakub Maly - Total activity 40 - Last activity - Member since - Following 0 users - Followed by 0 users - Votes 0 - Subscriptions 15 Jakub Maly created a post, Extending Go To Everything navigationHi Jetbrains, I would like to extend the functionality of Go To Everything window (to also search some specific config file...
https://resharper-support.jetbrains.com/hc/en-us/profiles/1379933932-Jakub-Maly
CC-MAIN-2019-22
refinedweb
153
60.75
Up to [DragonFly] / src / sys / netgraph / bpf Request diff between arbitrary revisions Keyword substitution: kv Default branch: MAIN Catch up a bit with FreeBSD netgraph by replacing *LEN constants with *SIZ constants which already account space for trailing '\0's. Submitted-by: "Nuno Antunes" <nuno.antunes@gmail.com>...
http://www.dragonflybsd.org/cvsweb/src/sys/netgraph/bpf/ng_bpf.h?f=h
CC-MAIN-2015-06
refinedweb
133
53.58
In M1 there's no transitive dependencies, thus your users will have to define each dependency one by one. But to improve the conversion between m1 and m2 poms for the repository, if you deploy VFS with m1 you can add the following setting : Arnaud On 7/27/06, Mario Ivankovits <mario@ops.co.at> wrote: > > Hi Jörg! > >. ...
http://mail-archives.apache.org/mod_mbox/commons-dev/200607.mbox/%3C262c6c680607270656q5b8bc834i60901c3eca4caa12@mail.gmail.com%3E
CC-MAIN-2014-10
refinedweb
170
66.13
Announcement - "No Closures" prototype. Here is a method declared to be castable as a Runnable import net.java.dev.rapt.anon.As; class MyClass { @As(Runnable.class) void slowStuff() { ... // whatever } } In order to cast that method to a Runnable, you do this new Thread(Runnables.slowStuff(this)).start(); Thats right, ...
https://weblogs.java.net/blog/brucechapman/archive/2008/03/anouncement_no.html
CC-MAIN-2014-10
refinedweb
293
75
urlmatch 0.0.2 Python library for matching URLs. Use urlmatch to verify that URLs conform to certain patterns. The library and match patterns are based heavily on the Google Chrome Extension match patterns. Usage from urlmatch import urlmatch match_pattern = 'http://*.example.com/*' urlmatch(match_pattern, '') # True u...
https://pypi.python.org/pypi/urlmatch
CC-MAIN-2015-14
refinedweb
300
62.68
20 February 2013 21:57 [Source: ICIS news] HOUSTON (ICIS)--A Brazilian federal judge on Wednesday dropped criminal charges against ?xml:namespace> A Brazilian federal prosecutor had filed criminal charges and two civil lawsuits totalling $22bn (€17bn) against the defendants over alleged lack of planning and environment...
http://www.icis.com/Articles/2013/02/20/9642999/brazil-judge-drops-criminal-charges-against-chevron.html
CC-MAIN-2015-22
refinedweb
213
56.69
Migrating a library to .NET Core Microsoft released .NET Core 1.0 and I want to port some of my .NET libraries to .NET Core. This article describes how to migrate the existing library TinyCsvParser to .NET Core and shows the changes necessary to make it work. Visual Studio 2015 RC3, .NET Core Tools The best way to star...
https://www.bytefish.de/blog/migrating_a_library_to_dotnetcore.html
CC-MAIN-2020-40
refinedweb
1,123
53.47
52563/plot-a-pie-chart-in-python-in-matplotlib I am trying to plot a pie-chart of the number of models released by every manufacturer, recorded in the data provided. Also, mention the name of the manufacture with the largest releases. Need help on this. I am not able to do it. car = pd.read_csv("Cars2015.csv") plt.pie(...
https://www.edureka.co/community/52563/plot-a-pie-chart-in-python-in-matplotlib
CC-MAIN-2021-43
refinedweb
470
54.18
As of Kubernetes 1.3, DNS is a built-in service launched automatically using the addon manager cluster add CNAME: my-svc.my-namespace.svc.cluster.local. For a headless service, this resolves to multiple answers, one for each pod that is backing the service, and contains the port number and a CNAME of the pod of the for...
http://kubernetes.io/docs/admin/dns/
CC-MAIN-2016-50
refinedweb
1,036
58.28
python tutorial - Python - classes and instances (__INIT__, __CALL__, ETC.) - learn python - python programming Classes and Instances - Unlike C++, classes in Python are objects in their own right, even without instances. They are just self-contained namespaces. - Therefore, as long as we have a reference to a class, w...
https://www.wikitechy.com/tutorials/python/python-classes-instances
CC-MAIN-2022-21
refinedweb
2,297
71.85
Sure, stopping invalid mime types, excessive filesizes, and blank files could decrease the amount of spam by a lot, but it isn't enough to stop those who really know how to goof things up. In this tutorial I will only discuss functions which are predefined in php's standard library for us; however, those are definitely...
http://www.dreamincode.net/forums/topic/19951-securing-file-uploads/
CC-MAIN-2016-40
refinedweb
549
62.78
- operator overloading - Tic Tac Toe Comp Move help - Sockets or GUI API? - Function name basic question help - Please Help Me with this beginner C++ Program! - Birthstones, Months, Strings and Functions! - visual c++ 2005 express edition compiler - warning: deprecated conversion from string constant to 'char*' - Class...
http://cboard.cprogramming.com/sitemap/f-3-p-271.html
CC-MAIN-2014-15
refinedweb
150
64.71
Contents - Using git for team packages - Policies - Procedures - Creating new repositories - Creating a new package - Checking out an existing package - Ensure up-to-date - Building - Uploading - Tagging - New upstream release - Patching - Cherry picking upstream commits - Sponsoring, mentoring, reviewing - Pull reques...
https://wiki.debian.org/Python/GitPackaging?action=show&redirect=Python%2FGitPackagingPQ
CC-MAIN-2021-17
refinedweb
1,388
55.24
in reply to Re^4: Regarding STDOUT and indirect object notation for printin thread Regarding STDOUT and indirect object notation for. Well that's a major exaggeration. The cost of loading IO::Handle would be quite small if it was rewritten in C. (100 bytes?) In fact, there already exists modules whose methods are built...
http://www.perlmonks.org/?node_id=814824
CC-MAIN-2016-26
refinedweb
118
65.83
Difference between revisions of "Draft Mirror/tr" Revision as of 09:57, 14 July 2021 Description The Draft Mirror command creates mirrored copies, Part Mirror objects, from selected objects. A Part Mirror object is parametric, it will update if its source object changes. The command can be used on 2D objects created wi...
https://wiki.freecadweb.org/index.php?title=Draft_Mirror/tr&diff=917666&oldid=904835
CC-MAIN-2022-27
refinedweb
656
59.9
Opened 4 years ago Closed 4 years ago #20181 closed Cleanup/optimization (duplicate) auto generate SECRET_KEY file? Description I wonder if you would accept a patch that auto-generates a secret key if its not set in the settings or alternatively a new option "SECRET_KEY_AUTOGENERATE = {False,True}". It would simply che...
https://code.djangoproject.com/ticket/20181
CC-MAIN-2017-09
refinedweb
250
55.64
- [View source↑] - [History↑] Contents How to proceed with paragraphs outside the <"translate"> tag which cannot appear on translate tool ? I having trouble with Development/Tutorials page. Juliano Assis Can you be more specific? Do you mean "Calligra Plugin Tutorials" part? Or is it "Using the KDE PIM Libraries". If s...
https://techbase.kde.org/User_talk:Yurchor
CC-MAIN-2020-16
refinedweb
503
58.28
Subject: Re: [boost] [container][memory] Request to move allocator_arg_t and uses_allocator to a memory related file. From: Ion Gaztañaga (igaztanaga_at_[hidden]) Date: 2012-03-31 06:04:31 El 31/03/2012 11:03, Vicente J. Botet Escriba escribió: > I see that Boost.Container has already defined in namespace > boost::cont...
https://lists.boost.org/Archives/boost/2012/03/191829.php
CC-MAIN-2022-21
refinedweb
310
53.37
ImagePy Basic Tutorial Introduction: ImagePy is an image processing software developed in Python, supporting bmp, rgb, png and other commonly used image formats. It can handle grayscale images and multi-channel (color) images, and supports image stack (sequence) operations. It supports a variety of selection operations...
https://pythonawesome.com/an-image-processing-software-developed-in-python/
CC-MAIN-2020-50
refinedweb
1,688
56.86
Create your DIY remote for Philips Hue with Raspberry Pi You know those Philips Hue lights, which are amazing and really cool gadgets for your house? Well, thanks to Philips it is also easy to create your very own DIY remote control for them. Yes, of course you can get a remote for these lights in the shop as well, but...
https://www.theanalyticslab.nl/create-your-diy-remote-for-philips-hue-with-raspberry-pi/
CC-MAIN-2022-27
refinedweb
805
72.29
Does Python have an ordered set?. OrderedSet([1, 2, 3]) This is a MutableSet, so the signature for .union doesn't match that of set, but since it includes __or__ something similar can easily be added: def union(*sets): union = OrderedSet() union.union(*sets) return uniondef union(self, *sets): for set in sets: self |= ...
https://codehunter.cc/a/python/does-python-have-an-ordered-set
CC-MAIN-2022-21
refinedweb
426
53.68
Difference between revisions of "Henshin FAQ" Revision as of 15:03, 12 September 2012 Contents - 1 How can I execute transformations? - 2 After installing an update of Henshin, I cannot open my transformation anymore! - 3 Does Henshin support automatic tracing for exogenous transformations? - 4 How can I use dynamic EM...
http://wiki.eclipse.org/index.php?title=Henshin_FAQ&diff=315360&oldid=240053
CC-MAIN-2015-48
refinedweb
521
65.01
Created on 2003-04-25 19:57 by mkc, last changed 2009-02-20 01:54 by ajaksu2. This issue is now closed. Under Tru64 (version 5.1a, and probably others), when a Python script is structured like so: #!/something/bin/python import sys print sys.prefix the calculation of prefix in getpath.c won't work correctly. The reason...
http://bugs.python.org/issue727732
crawl-003
refinedweb
324
81.93
Advertise with Us! We have a variety of advertising options which would give your courses an instant visibility to a very large set of developers, designers and data scientists.View Plans Python Interview Questions (Frequently Asked) Irrespective of the source you pick a list of best programming languages to learn in 2...
https://hackr.io/blog/python-interview-questions
CC-MAIN-2019-51
refinedweb
1,613
66.74
Copyright © 2013 W3C® (MIT, ERCIM, Keio, Beihang), to publish this specification as an informative Working Group Note. It was previously published as a Working Group Draft. In addition, this publication updates the references that have changed since the previous publication (diff). This Note includes material that was ...
http://www.w3.org/2008/xmlsec/Drafts/xmlsec-reqs2/2013-04-11-NOTE/Overview.html
CC-MAIN-2015-27
refinedweb
378
51.34
[Android] Building a Menu for your Android (V1.0 R1) App 25 November, 2008 33 Comments In Building a simple menu in Android, a menu was built using the MenuBuilder. Since the release of version 1.0 (release 1), MenuBuilder has been removed. In this tutorial, we’ll set up a custom menu that gets displayed when the menu ...
https://kahdev.wordpress.com/2008/11/25/building-a-menu-for-your-android-v10-r1-app/
CC-MAIN-2019-13
refinedweb
2,174
73.78
Previous Chapter: Namespaces Next Chapter: File Management Next Chapter: File Management Global and Local Variables Global and local Variables in Functions Let's have a look at the following function: def f(): print s s = "I hate spam" f()The variable s is defined as the string "I hate spam", before we call the functio...
http://python-course.eu/global_vs_local_variables.php
CC-MAIN-2017-09
refinedweb
402
77.77
08 June 2010 20:06 [Source: ICIS news] By Nigel Davis LONDON (ICIS news)--Following the second half 2009 recovery and a particularly strong start to the year it is hardly surprising that concern has grown about just where demand goes next. Macroeconomic uncertainties cloud the outlook. Sovereign debt issues have spooke...
http://www.icis.com/Articles/2010/06/08/9366163/insight-commodities-will-lift-output-growth-in-2010-but-11-looks-weak.html
CC-MAIN-2014-42
refinedweb
475
54.42
An adventure in simple web automation. Check out this article from William Koehrson on controlling the Web with Python, happy learning! password). Solution: Use Python to automatically submit completed assignments! Ideally, I would be able to save an assignment, type a few keys, and have my work uploaded in a matter o...
https://www.signifytechnology.com/blog/2019/10/controlling-the-web-with-python-by-william-koehrsen
CC-MAIN-2021-04
refinedweb
1,947
60.35
Here's a list of the most noteworthy things in the RAP 3.0 release which is available for download since June 24, 2015. The RAP 3.0 web client will support the following browsers: Dropping support for older browsers allowed us to remove thousands of lines of JavaScript code and to take more advantage of modern HTML5/CS...
http://www.eclipse.org/rap/noteworthy/3.0/
CC-MAIN-2016-50
refinedweb
1,870
57.67
Rails is a web development framework, where model, view and controller are important aspects of your application. Controllers, just like models and viewers, need to be tested with Ruby communities favorite tool, RSpec. Controllers in Rails accept HTTP requests as their input and deliver back and HTTP response as an out...
https://hackernoon.com/rspec-rails-controller-test-158f142e11ce
CC-MAIN-2020-10
refinedweb
1,495
55.24
Hey, Recently been introduced to threads & came across a question involving the usage of semaphores. I'm just a bit confused as to how to use them and was wondering if anybody could shed a bit of guidance for me. I'll post the question to begin with: Create a program using 2 seperate threads, each printing out a messag...
http://www.javaprogrammingforums.com/%20threads/14441-help-synchronisation-semaphore-printingthethread.html
CC-MAIN-2017-30
refinedweb
249
62.38
How Big Data Justifies Mining Your Social Data timothy posted more than 3 years ago | from the anywhere-it-wants dept. (2) JaydenT (2012002) | more than 3 years ago | (#35448316) Sign away your rights (2) betterunixthanunix (980855) | more than 3 years ago | (#35450048) Re:Sign away your rights (1) cheros (223479) | mo...
http://beta.slashdot.org/story/148768
CC-MAIN-2014-42
refinedweb
5,006
70.63
Append an IPv6 hop-by-hop or destination option to an ancillary data object #include <netinet/in.h> int inet6_option_append(struct cmsghdr *cmsg, const u_int8_t *typep, int multx, int plusy); The option type must have a value from 2 to 255, inclusive. (0 and 1 are reserved for the Pad1 and PadN options, respectively.) ...
http://www.qnx.com/developers/docs/6.6.0_anm11_wf10/com.qnx.doc.neutrino.lib_ref/topic/i/inet6_option_append.html
CC-MAIN-2018-09
refinedweb
101
52.39
Hi, I drove a lot of I2C tests and having issues between Jetson nano and STM32 blackpill as slave I am using the command ‘i2cdetect -r -y 1’ with pins 3 & 5 (also tried bus 0 with pins 27 28 with exactly the same results) my I2C lines have 4.7K pull up resistors. A/ Jetson Nano & Servo controller as slave : detected B/...
https://forums.developer.nvidia.com/t/i2c-issue-timeout-error-messages/187257
CC-MAIN-2021-39
refinedweb
315
71.51
Using Spark context in a class contructor can cause serialization issues. Move the logic and variables to a member method to avoid some of these problems. There are many reasons why you can get this nasty SparkException: Task not serializable. StackOverflow is full of answers but this one was not so obvious. At least n...
http://buransky.com/spark/fighting-notserializableexception-in-apache-spark/
CC-MAIN-2020-10
refinedweb
389
60.11
Holy cow, I wrote a book!. Sometimes software development is inventing new stuff. But often, it's just putting together the stuff you already have. Today's puzzle is one of the latter type of problem. Given a window handle, you can you determine (1) whether it is an Explorer window, and if so (2) what folder it is view...
https://blogs.msdn.com/b/oldnewthing/archive/2004/07.aspx?Redirected=true&PostSortBy=MostViewed&PageIndex=1
CC-MAIN-2014-23
refinedweb
825
66.13
I would like to find out why autocomplete stop working in some cases. I encounter this issue on both 1.5 and 2.0 EAP. By example: when writing something like AAA.BBB.method the methods from BBB are not displayed. AAA is a package and also a variable name (an instance of AAA class from AAA package). BBB is a module impo...
https://intellij-support.jetbrains.com/hc/en-us/community/posts/206590675-How-to-find-out-why-auto-complete-doesn-t-work-in-some-cases-?sort_by=created_at
CC-MAIN-2019-26
refinedweb
211
74.9
Invokables¶ For people who have been using the library since the early days you are familiar with the need to use the .get() method to invoke a method chain: // an example of get const lists = await sp.web.lists.get(); Starting with v2 this is no longer required, you can invoke the object directly to execute the defaul...
https://pnp.github.io/pnpjs/concepts/invokable/
CC-MAIN-2020-50
refinedweb
311
61.67
When working in a multilingual environment, it is important to know where to translate all the customer-specific texts in all languages in scope. We will give here an overview of all the techniques used for translations in Employee Self-Service (most also apply to other SAP areas). Launchpad texts The first place where...
https://blogs.sap.com/2013/05/23/translating-texts-in-employee-self-service/
CC-MAIN-2019-30
refinedweb
1,215
71.85
Survey period: 1 Apr 2019 to 8 Apr 2019 Assuming you're given no other information, in which direction would you point a budding new developer? View optional text answers (133 answers) After college, I never used that language again. delete this; import tables, strutils, algorithm proc main() = var count = 0 anagrams =...
https://www.codeproject.com/Surveys/2197/Which-programming-language-would-you-recommend-to?fid=1946105&df=90&mpp=25&sort=Position&view=Normal&spc=Relaxed&prof=True&select=5614802&fr=26
CC-MAIN-2021-39
refinedweb
296
66.74
— Disclaimer: I know this is pretty basic stuff but many, many programmers are doing it still wrong — As a Java programmer you know how to implement equals and that hashCode has to be implemented as well. You use your favorite IDE to generate the necessary code, use common wisdom to help you code it by hand or use anno...
https://schneide.blog/2009/12/14/a-more-elegant-way-to-equals-in-java/
CC-MAIN-2018-47
refinedweb
1,018
54.32
Latest Posts Before you initiate a “docker pull” In addition to the challenges that are inherent to isolating containers, Docker brings with it an entirely new attack surface in the form of its automated fetching and installation mechanism, “docker pull”. It may be counter-intuitive, but “docker pull” both fetches and ...
https://access.redhat.com/blogs/766093
CC-MAIN-2015-22
refinedweb
6,628
54.42
Cascading Style Sheets, also referred to as CSS, is a simple design language intended to simplify the process of making web pages presentable. CSS handles the look and feel part of a web page. Using CSS, you can control the color of the text, style of fonts, spacing between paragraphs, size of columns and layout. Apart...
https://www.tutorialspoint.com/javafx/javafx_css.htm
CC-MAIN-2019-47
refinedweb
713
51.75
A nonlinear BVP Posted March 08, 2013 at 09:19 AM | categories: pde | tags: Adapted from Example 8.7 in _Numerical Methods in Engineering with Python_ by Jaan Kiusalaas. We want to solve \(y''(x) = -3 y(x) y'(x)\) with $y(0) = 0 and \(y(2) = 1\) using a finite difference method. We discretize the region and approximate...
https://kitchingroup.cheme.cmu.edu/blog/2013/03/08/A-nonlinear-BVP/
CC-MAIN-2021-31
refinedweb
484
76.62
> The drawback is that this change increases the length of the repr. I would argue that it is a reasonable trade-off given the increase in ease of understanding. I know that this is a weak argument, but, keywords are not without precedent. Consider the comically more verbose example: import time time.gmtime(1121871596)...
https://bugs.python.org/msg293215
CC-MAIN-2020-40
refinedweb
186
69.28
The series ending in a2fe35bcdf3d383aaa5ad915b80630c8895d703d fails to compile the check target: ------------------------------- Author: Jose Fonseca <jfonseca@vmware.com> scons: Support Clang on Windows. - Introduce 'gcc_compat' env flag, for all compilers that define __GNUC__, (which includes Clang when it's not emul...
https://bugs.freedesktop.org/show_bug.cgi?id=95158
CC-MAIN-2017-09
refinedweb
217
54.08
05 November 2009 12:58 [Source: ICIS news] LONDON (ICIS news)--Artenius’ polyethylene terephthalate (PET) plant at El Prat de Llobregat, Spain, could be restarted by the end of the year to accommodate demand, a source from the Spanish company said on Thursday. “There is a possibility that El Prat could restart by the e...
http://www.icis.com/Articles/2009/11/05/9261303/artenius-to-resume-pet-output-at-el-prat-de-llobregat.html
CC-MAIN-2013-48
refinedweb
237
62.48
How to use RTI Connext DDS to Communicate Across Docker Containers Using the Host Driver When using the “host” Docker driver, all network interfaces of the host machine are accessible from the Docker container. Furthermore, there is no networking namespace separation between the Docker containers and the host machine. ...
https://community.rti.com/kb/how-use-rti-connext-dds-communicate-across-docker-containers-using-host-driver
CC-MAIN-2021-17
refinedweb
554
51.89
I'm trying to print a function which uses several parameters from numpy array's and lists, but I keep getting the error "numpy.float 64 object is not iterable". I've looked at several questions on the forum about this topic and tried different answers but none seem to work (or I might be doing something wrong I'm still...
https://codedump.io/share/rYWB0mAfCCFs/1/numpyfloat64-is-not-iterable
CC-MAIN-2018-09
refinedweb
456
59.3
When we started out doing. For a while we got by using a solution that relied on having a variant of Lambert conformal conic projection coordinates - it was sufficiently exact if not perfect, and our maps used the same projection, so it worked - although there was the added burden of transforming our stored (WGS-84) co...
https://dzone.com/articles/wgs-84-distance-calculations
CC-MAIN-2017-09
refinedweb
533
62.38
Extreme Programming Installed 259 The ScoopLast year's Extreme Programming Explained was a manifesto of sorts. Wouldn't it be nice if customers, management, and programmers could work together to produce good software on schedule and under budget? If planning, peer review, testing, and design are good, why not do them ...
http://slashdot.org/story/01/01/30/044210/extreme-programming-installed
crawl-003
refinedweb
14,547
71.04
Recently I got major help from tutor but I forget some of the stuff he said and (unlike the next time tomorrow) I didn't have a recorder on me at the time so I can't go back and refer to what he was saying -_- . I'd just like explanations to understand this.See even though my tutor graciously commented to the side what...
https://www.javaprogrammingforums.com/java-theory-questions/22304-why-things-code-mean-what-they-mean-incomplete-step-documentation-help.html
CC-MAIN-2019-51
refinedweb
296
65.12
If you've found this article useful, consider buying me a cup of coffee. This article was originally published on my blog. communicate with other programs or services. A great metaphor I came across (don't remember the original source) was thinking of an API as a waiter at a restaurant. So you, the customer, talk to a ...
https://dev.to/alanjc/creating-a-discord-bot-with-python-33f3
CC-MAIN-2022-21
refinedweb
1,114
74.79
Solution 1 def feel_the_power(initial_number, power): result = 1 power_count = 0 while power_count < power: result *= initial_number power_count += 1 return result Time is over! You can keep submitting you assignments, but they won't compute for the score of this quiz. The Power of While Loops Use a while loop to compl...
https://learn.rmotr.com/python/introduction-to-programming-with-python/getting-started/the-power-of-while-loops
CC-MAIN-2018-47
refinedweb
166
57.3
Need help cloning? Learn how to clone a repository. Atlassian SourceTree is a free Git and Mercurial client for Windows. Atlassian SourceTree is a free Git and Mercurial client for Mac. Verify PCH works if variant dir has spaces in its name """ -import sys import time import TestSCons test = TestSCons.TestSCons(match =...
https://bitbucket.org/russel/scons/diff/test/MSVC/pch-spaces-subdir.py?diff2=c2bf08acde38&at=default
CC-MAIN-2015-48
refinedweb
102
64.57
Occasionally I make apps that create bitmaps and save them. To do so you need to use an encoder to turn the bitmapdata bits into a byte array that can be saved in some image format. AS3 has a PNGEncoder class, but the main problem with it is that it’s pretty slow. I’m saving a 4000×4000 bitmap and it takes sometimes we...
http://www.bit-101.com/blog/?p=2581
CC-MAIN-2017-17
refinedweb
2,528
66.23
This used to work just fine (as in, 2 weeks ago or so): import os import sublime import sublime_plugin class BlameCommand(sublime_plugin.TextCommand): def run(self, edit): if len(self.view.file_name()) > 0: folder_name, file_name = os.path.split(self.view.file_name()) begin_line, begin_column = self.view.rowcol(self.vi...
https://forum.sublimetext.com/t/my-blame-plugin-used-to-work-but-now-it-doesnt/2144
CC-MAIN-2016-44
refinedweb
191
54.49
my ps about instructor-led on-demand! screencasts blogs technical staff Don Box's Spoutlet » LINQ Panel: Whadya wanna Know? LINQ Panel: Whadya wanna Know?) I'm moderating a panel tomorrow at PDC on the LINQ project. I have no shortage of ideas for topics/questions, but I'd love to hear from the rest of the world what y...
http://www.pluralsight.com/community/blogs/dbox/archive/2005/09/15/14832.aspx
crawl-002
refinedweb
2,839
73.58
One of the greatest performance benefits can be achieved with caching of data, the fetching of which always involves some form of overhead. For XML files, this is the file system, and for databases, it is the connection and physical extraction of the data. Two types of data are generally displayed in Web pages: data th...
http://codeidol.com/community/dotnet/data-caching/17262/
CC-MAIN-2017-17
refinedweb
3,471
53.51
?) Thanks! There is one catch: I followed Graham's idea of generalizing the signature (which is orthogonal to my fix). As per earlier mails, the signature of the current notFollowedBy notFollowedBy :: Show tok => GenParser tok st tok -> GenParser tok st () notFollowedBy p = try (do{ c <- p; unexpected (show [c]) } <|> ...
http://www.haskell.org/pipermail/haskell/2004-February/013631.html
CC-MAIN-2014-41
refinedweb
201
69.11
hi, Does Turbo c++ compiler conforms with ANSI standards. Becaues I am using Turbo C++ 3.0 compiler. But it doesn't support the type "bool" and namespaces. hi, Does Turbo c++ compiler conforms with ANSI standards. Becaues I am using Turbo C++ 3.0 compiler. But it doesn't support the type "bool" and namespaces. You prob...
https://cboard.cprogramming.com/cplusplus-programming/18645-cplusplus-standards.html
CC-MAIN-2017-39
refinedweb
266
73.98
[OwnCloud] Losing contacts after sync with DAVdroid 0.8.1+ - AutoImport-pejakm last edited by rfc2822 Both 0.8.1 and 0.8.0 versions affected. I sync to ownCloud server (v8.1, yesterday upgraded from v8.0) installed on my computer. OwnCloud correctly displays 469 contacts, DAVdroid synchronizes them all (I monitor numbe...
https://forums.bitfire.at/topic/689/owncloud-losing-contacts-after-sync-with-davdroid-0-8-1
CC-MAIN-2019-26
refinedweb
1,298
68.97
Charting Data at the Bottom of the World I have an odd job: I’m the only programmer for about 500 miles. I look after experiments on a remote Antarctic research station and look after the data they produce. As well as the scientific stuff knocking about, we have between 20 and 70 people, most of them keen on the weathe...
https://www.perl.com/pub/2006/05/04/charting-data.html/
CC-MAIN-2022-40
refinedweb
2,756
56.18
1) Which of the following statements are true regarding the Support packages? A. Support package replaces an object affected by an error, unlike manual corrections support packages are not recognized as modifications during upgrade and are overwritten. B. Support packages are to be applied in the correct order by creat...
https://www.stechies.com/support-package-eliminates-error-sap-system/
CC-MAIN-2020-29
refinedweb
2,663
54.12
CUDAfy.NET is a powerful open source library for non-graphics programming on NVIDIA Graphics Processing Units (GPU) from Microsoft .NET. Recently support for AMD GPUs and x86 CPUs has been added. This brings the CUDA programming model to devices beyond those from NVIDIA. You can get a better background on CUDAfy in the...
http://www.codeproject.com/script/Articles/View.aspx?aid=572583
CC-MAIN-2014-35
refinedweb
1,734
57.37
getdns reference¶ getdns contexts¶ This section describes the getdns Context object, as well as its as its methods and attributes. - class getdns. Context([set_from_os])¶ Creates a context, an opaque object which describes the environment within which a DNS query executes. This includes namespaces, root servers, resolu...
https://getdns.readthedocs.io/en/latest/functions.html
CC-MAIN-2022-05
refinedweb
2,413
56.25
How to Index Anything Up to now, we've talked only about indexing HTML, XML and text files. Here's a more-advanced example: indexing PDF documents from the Linux Documentation Project. For SWISH-E to index arbitrary files, PDF or otherwise, we must convert the files to text, ideally resembling HTML or XML, and arrange ...
http://www.linuxjournal.com/article/6652?page=0,2&quicktabs_1=1
CC-MAIN-2016-22
refinedweb
1,681
61.97
Hi there, matplotlib.text.Text._get_layout(self, renderer) caches its return value in the dictionary matplotlib.text.Text.cached. Since it is never emptied, it causes problems when one creates many figures. Below, t0.png is ok but t1.png has the vertical tick label 0 in the wrong place. import matplotlib matplotlib.use...
http://sourceforge.net/p/matplotlib/mailman/matplotlib-devel/thread/m2r7ouqz4m.fsf@mother.paradise.lost/
CC-MAIN-2014-41
refinedweb
375
68.47
React: Communicating With Children How do custom React Components communicate with their children? A Simple Case Given two components, A and B, where A renders arbitrary children and B renders a display prop. import React, { Component } from "react";class A extends Component {render() {return <div>{this.props.children}...
https://www.christopherbiscardi.com/post/react-communicating-with-children/
CC-MAIN-2019-47
refinedweb
375
52.05
Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video. Configuring the JSON Serializer9:49 with James Churchill Let's see how we can configure the JSON serializer in order to resolve the issue that we encountered when serializing our data to JSON.3.3 -b configuring-the-j...
https://teamtreehouse.com/library/configuring-the-json-serializer
CC-MAIN-2019-43
refinedweb
1,792
57.87
I am using the Blue Pelican Java textbook and am stuck on the project for Lesson 19. It asks to: Modify the code below to print two side-by-side columns. The first column should be in ascending order (like the code below will print), and the second column should be in descending order. The output should be: Ascend Desc...
https://codedump.io/share/oUcjobPwYwAR/1/lesson-19-project---two-orders-for-price-of-one---sorting-arrays
CC-MAIN-2018-13
refinedweb
142
65.73
tuning in, you can click on my mugshot or this link to get to the first two posts of the ongoing “Dojo Goodness” series that I’m writing to promote my upcoming book, Dojo: The Definitive Guide, which is available on Amazon as well as the O’Reilly catalog. One of the first things you should know is that some of the mos...
http://www.oreillynet.com/onlamp/blog/2008/03/dojo_goodness_part_3_animation_1.html
crawl-001
refinedweb
1,407
64.81
//************************************** // Name: Salary Range Checker in C++ // Description:In this article I would like to share a sample program that will demonstrate how to use if - else if statement in C++. I also added exception handling capabilities that will only accept numbers as input values in our program us...
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=13986&lngWId=3
CC-MAIN-2019-09
refinedweb
314
82.04
Futures in Rust and Haskell Bhargav Voleti and Matthew Wraith The Languages Rust - Systems programming language from Mozilla - Focus on memory safety and performance - Ripgrep, servo, aws firecracker, and many backend services. Rust Syntax use std::fmt::Debug; trait HasArea { fn area(&self) -> f64; } impl HasArea for R...
https://slides.com/wraithm/async-io-in-rust-and-haskell/
CC-MAIN-2019-51
refinedweb
2,065
57.1
import "go.chromium.org/chromiumos/infra/go/internal/osutils" Verify that a directory exists at the given relative path. func FindInPathParents( pathToFind string, startPath string, endPath string, testFunc func(string) bool) string Look for a relative path, ascending through parent directories. Args: pathToFind: The r...
https://godoc.org/go.chromium.org/chromiumos/infra/go/internal/osutils
CC-MAIN-2019-47
refinedweb
111
52.76
Revision history for Search::Elasticsearch 5.01 2016-10-19 Doc fixes 5.00 2016-10-19 2.00 2015-10-28 The default client is now '2_0::Direct', for use with Elasticsearch 2.x. Specify client '1_0::Direct' if using with Elasticsearch 1.x. Breaking: * The field parameter to indices.get_field_mapping() has been renamed to f...
https://metacpan.org/changes/distribution/Search-Elasticsearch
CC-MAIN-2016-44
refinedweb
1,341
52.15
a side-by-side reference sheet sheet one: grammar and invocation | variables and expressions | arithmetic and logic | strings | regexes | dates and time | arrays | dictionaries | functions | execution control | exceptions | concurrency sheet two: streams | files | file formats | directories | processes and environment ...
http://hyperpolyglot.org/scripting2
CC-MAIN-2016-44
refinedweb
6,607
66.54
CS50x Substitution From problem set 2 This time we’re preparing to code a substitution cipher. Instead of getting a number for key, we’ll be getting a string. A 26 character long string to be more exact, where each character will replace it’s equivalent index on the alphabet. “A key, for example, might be the string NQ...
https://guilherme-pirani.medium.com/cs50x-substitution-fcb34689e499
CC-MAIN-2022-40
refinedweb
1,012
55.24
Retrieve robot name Is there a way to retrieve robot name from the urdf in c++? Or any other way to get it? Thanks Is there a way to retrieve robot name from the urdf in c++? Or any other way to get it? Thanks Hi @muttidrhummer! I have created a video that answer exactly this question. Summarizing, this can be accompli...
https://answers.ros.org/question/272187/retrieve-robot-name/?answer=273168
CC-MAIN-2022-21
refinedweb
408
64.81
Basically, I made a small calculator. It does the PEMDAS and factorials. Part of my code is here: #include "stdafx.h" #include "iostream" #include "stdio.h" #include "math.h" using namespace std; short MENU (void); void raiz (void); void suma (void); etc..... int main () { short OPC; OPC=MENU (); do { switch (OPC) { ca...
https://www.daniweb.com/programming/software-development/threads/374277/how-to-make-a-program-loop
CC-MAIN-2017-09
refinedweb
133
84.57
Advertise Jobs Perl module - Part of CPAN distribution Inline-Python 0.20. Inline::Python - Write Perl subs and classes in Python. print "9 + 16 = ", add(9, 16), "\n"; print "9 - 16 = ", subtract(9, 16), "\n"; use Inline Python => <<'END_OF_PYTHON_CODE'; def add(x,y): return x + y def subtract(x,y): return x - y END_OF...
http://aspn.activestate.com/ASPN/CodeDoc/Inline-Python/Python.html
crawl-002
refinedweb
948
63.49
Asked by: Error: Cannot open source file "StdAfx.h" (Intellisense) I am trying a test port of a VC++ project (ATL/WTL) from VC2005 to the 2010 release candidate. On opening some of my source files in the code editor I noticed a large number of Intellisense red error "squiggles" the first of which is "Error Cannot open ...
http://social.msdn.microsoft.com/Forums/en-US/efdf4ae8-437d-4a7f-8cf5-b895257da2bd/error-cannot-open-source-file-stdafxh-intellisense?forum=vcprerelease
CC-MAIN-2014-10
refinedweb
512
66.23
As application developers, we're always challenged with new problems to solve for our customers and stakeholders. Whether you're creating desktop, enterprise, or SOA applications, you will often face the need to persist data to some sort of datastore. Although there are other options, most developers choose to use a re...
http://www.oracle.com/technetwork/articles/javase/index-138215.html
CC-MAIN-2016-07
refinedweb
1,737
51.68
Created on 2010-11-08 17:38 by Valentin.Lorentz, last changed 2014-04-19 08:30 by orsenthil. This issue is now closed. Hello, I had this traceback: Traceback (most recent call last): ... File "/home/progval/workspace/Supybot/Supybot-plugins/Packages/plugin.py", line 123, in extractData file = tarfile.open(fileobj=file_...
https://bugs.python.org/issue10362
CC-MAIN-2019-22
refinedweb
598
70.09
Advanced Debugging with Pry This tutorial helps broaden your basic knowledge of debugging by providing you with a different approach and tool for debugging in Ruby. Before we begin I will like us to establish some common ground. A basic understanding of the following is required: IntroductionIntroduction Pry was and is...
https://www.codementor.io/amodutemitope838/advanced-debugging-with-pry-4h331kv87
CC-MAIN-2017-47
refinedweb
1,286
65.93
On Sat, Aug 21, 2004 at 05:48:49PM +0200, Johannes Berg wrote: > Tom, and others, have repeatedly said that the namespace is just 2- > dimensional and the ordering isn't really too special. [Some of that is > probably to quiet people wanting to change things, but anyway] Still, I think it would obviously confuse people...
http://lists.gnu.org/archive/html/gnu-arch-users/2004-08/msg00280.html
CC-MAIN-2015-14
refinedweb
346
71.75
Local domain server access issues I moved our DHCP from a windows small business 2008 server to our sonicwall firewall. when I try and domain a computer to the local domain on the server I get an error."That domain couldnt be found. Check the domain name and try again." What are potential troubleshooting steps i can ta...
http://quabr.com/50775391/local-domain-server-access-issues
CC-MAIN-2019-13
refinedweb
910
62.88
29 May 2009 17:37 [Source: ICIS news] LONDON (ICIS news)--Oil previously kept on floating storage is being unloaded as the ICE futures Brent forward curve has become less steep, a trader said on Friday. “The market structure has changed and it is no longer possible to store oil on floating storage and sell it at a prof...
http://www.icis.com/Articles/2009/05/29/9220728/oil-unloaded-from-tankers-as-contango-flattens-trader.html
CC-MAIN-2013-48
refinedweb
278
68.1
Hi it’s me again, So I am at a point where I am trying to look at the status flags on each of 8 Tic controllers. I am using the serial code example shown on your website HERE . I am using another function that calls that function and reads the bytearray output, converts it to a string and writes it to an html formatted...
https://forum.pololu.com/t/tic-controller-0x01-flag-values-question/21212
CC-MAIN-2022-21
refinedweb
304
73.47
table of contents NAME¶ offsetof - offset of a structure member SYNOPSIS¶ #include <stddef.h> size_t offsetof(type, member); DESCRIPTION¶ offsetof() returns the offset of the given member within the given type, in units of bytes. CONFORMING TO¶ POSIX.1-2001, POSIX.1-2008, C89, C99. EXAMPLES¶u; c=%zu; d=%zu a=%zu\n", of...
https://manpages.debian.org/unstable/manpages-dev/offsetof.3.en.html
CC-MAIN-2022-21
refinedweb
116
57.98