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 |
|---|---|---|---|---|---|
Context managers for use with the with statement.
Note
When using Python 2.5, you will need to start your fabfile with from __future__ import with_statement in order to make use of the with statement (which is a regular, non __future__ feature of Python 2.6+.)
Note
If you are using multiple directly nested with stateme... | http://docs.fabfile.org/en/latest/api/core/context_managers.html | CC-MAIN-2014-42 | refinedweb | 870 | 59.8 |
This is your resource to discuss support topics with your peers, and learn from each other.
12-17-2009 11:56 PM
I need to display some scaled images and I noticed the EncodedImage class while looking at the Graphics class javadocs so I explored it: here are my findings.
EncodedImage is only partially effective at scali... | http://supportforums.blackberry.com/t5/Java-Development/Diary-of-a-noob-4-Exploring-EncodedImage/m-p/402582 | CC-MAIN-2014-41 | refinedweb | 2,545 | 57.67 |
Hello everyone,
first off, im completely new to Blender and Python, trying to fumble my way through bit by bit.
Now i’ve come to a point, where i nee someone to point me in the right direction.
What I’m trying to do is have a on screen text, that displays the position of an animated object in realtime.
For my object im... | https://blenderartists.org/t/accesseing-variables-from-script-a-in-script-b/616901 | CC-MAIN-2020-45 | refinedweb | 167 | 62.68 |
This article describes a set of templates that I have written which are intended to help create simple WPF applications based on the Composite WPF Framework using the Prism libraries. Why write these templates when there are already templates available, e.g., Calcium? This is a very valid question. There are a number o... | http://www.codeproject.com/Articles/53291/Simple-Prism-Application-Templates | CC-MAIN-2015-48 | refinedweb | 2,794 | 53.61 |
For more than a year, I’ve been working with [Nuxt.js]() on a daily basis. In this review, I’ll try to summarize all of the ups and downs of working with this framework. Hopefully, this article may persuade you to try Nuxt on...
For more than a year, I’ve been working with Nuxt.js on a daily basis. In this review, I’ll... | https://morioh.com/p/889e9be9ae61 | CC-MAIN-2020-40 | refinedweb | 1,823 | 65.93 |
Introduction to Replace() Function in Java
The replace() function in Java is used to remove a particular letter or character sequence and put another letter or character sequence in its place. After the introduction of JDK 1.5, this function “replace()” was introduced. Before this function, a core logic could also have... | https://www.educba.com/replace-function-in-java/?source=leftnav | CC-MAIN-2020-34 | refinedweb | 901 | 54.42 |
Maybe my google kung-fu is not strong enough, but I couldn't find a decent disassembler for the Raspberry Pi 3. All that I've found (binutils, LLVM, Capstone) were huge, full of dependencies, most of them incomplete and difficult to use. Neither really suitable for a bare metal project.
So I've written one. It's really... | https://www.raspberrypi.org/forums/viewtopic.php?f=72&t=197946&p=1236244&sid=76abca57c029fc9b75c9e2c6ef12a32c | CC-MAIN-2018-39 | refinedweb | 227 | 65.42 |
.
Memoization
The word memoization was coined by Donald Michie, a British artificial-intelligence researcher, to refer to function-level caching for repeating values. Today, memoization is common in functional programming languages, either as a built-in feature or as one that's relatively easy to implement.
Memoization... | http://www.ibm.com/developerworks/library/j-jn12/ | CC-MAIN-2015-06 | refinedweb | 1,933 | 53.71 |
Of course the USA needs to cut its deficit, but any government’s deficits can, as a matter of fact, only be cut when private sector consumption, net invetsment and net exports grow.
Eh?
Of course the USA needs to cut its deficit, but any government’s deficits can, as a matter of fact, only be cut when private sector co... | https://www.timworstall.com/2013/01/ritchie-on-macroeconomics/ | CC-MAIN-2021-31 | refinedweb | 7,635 | 63.29 |
In my last project I had a requirement where we will be getting multiple records in a single file, and we have to loop through the file to get a single record and process it. I got a very good article on this written by Jan. Thanks Jan.
When I was trying to implement the tutorial provided by Jan, I faced a few silly pr... | http://www.codeproject.com/KB/biztalk/BizEnvelop.aspx | crawl-002 | refinedweb | 686 | 71.65 |
If you are a front end developer who is new to the world of GraphQL and you're thinking about getting started with it, this article is for you.
In this article, we will explore GraphQL basics and kick start our journey with it by building a simple project.
What is GraphQL?
GraphQL is a query language that lets apps fet... | https://www.freecodecamp.org/news/graphql-for-front-end-developers/ | CC-MAIN-2022-33 | refinedweb | 1,320 | 72.46 |
Complex URL schema with i18n and l10n
Splash › Forums › Rewrite Users › Complex URL schema with i18n and l10n
This topic contains 13 replies, has 3 voices, and was last updated by
detestable 6 years, 2 months ago.
- AuthorPosts
We are starting a web project in jee and I’m trying to evaluate if rewrite can be used for o... | http://www.ocpsoft.org/support/topic/complex-url-schema-with-i18n-and-l10n/ | CC-MAIN-2018-39 | refinedweb | 1,222 | 57.87 |
Scientific Python 3: The Power Of scipy15 May 2019
- Numerical integration (scipy.integrate)
- Convolution (scipy.signal)
- Function optimization (scipy.optimization)
- SVD image compression (scipy.linalg)
- Quick Statistics (scipy.stats)
- Frequency domain transformations (scipyfft.fftpack)
- Let’s go wild (scipy.spat... | https://www.alanshawn.com/tech/2019/05/15/scientific-python-3.html | CC-MAIN-2020-50 | refinedweb | 2,587 | 52.15 |
Synopsis
Write out the model spectrum in the form required by MARX
Syntax
save_marx_spectrum(outfile, clobber=True, verbose=True, id=None, elow=None, ehigh=None, ewidth=None, norm=None)
Description
The save_marx_spectrum() command writes out the current model values in the form expected by MARX (the Chandra simulator).... | https://cxc.cfa.harvard.edu/sherpa4.11/ahelp/save_marx_spectrum.html | CC-MAIN-2020-10 | refinedweb | 255 | 54.73 |
User talk:Vladimir Panteleev
Contents
Semantic Forms
Hello! I've started toying around with Semantic now and it seems great! One thing I realised is that we really need Semantic Forms. For two reasons:
- Adding "things" gets sane. As some properties only have an enumerated set of values, it's almost impossible for user... | https://wiki.dlang.org/User_talk:Vladimir_Panteleev | CC-MAIN-2019-09 | refinedweb | 2,000 | 72.36 |
Jomo Fisher -- Here's how you can use the MSBuild Object Model to programmatically access the contents of a project file. This sample console application accepts a single parameter--the full path to some MSBuild project file--and displays all of the assemblies that project references:
using System;
using System.IO;
usi... | https://blogs.msdn.microsoft.com/jomo_fisher/2005/02/09/hack-the-build-cracking-msbuild-project-files/ | CC-MAIN-2019-35 | refinedweb | 458 | 58.79 |
10 July 2012 06:28 [Source: ICIS news]
By Chow Bee Lin
SINGAPORE (ICIS)--The current uptrend in China’s polyethylene (PE) and polypropylene (PP) import prices is likely to continue to end-July or early August on strong crude prices and low buyer inventory, before fizzling out on weak downstream demand, industry sources... | http://www.icis.com/Articles/2012/07/10/9576700/chinas-pe-pp-price-uptrend-may-fizzle-out-on-weak-demand.html | CC-MAIN-2015-11 | refinedweb | 275 | 50.8 |
Hello.
Rodolfo Giometti wrote:
Sorry for follwing up 2 month ago, I just happen to stumble on some
I was going to type "3 months ago" since 3 months have apssed indeed. :-<
issues addresses by these patches as well. I assume you haven't tried
sending them to Russel King?
Not yet, I just waiting for some comments. :)
No... | http://www.linux-mips.org/archives/linux-mips/2006-08/msg00308.html | CC-MAIN-2013-48 | refinedweb | 308 | 70.6 |
I have to create a maze in which a robot has to follow the set of directions given and I'm so stuck on how to make the robot go through the maze. I have most all of it done but I'm still getting errors. The maze includes 1.safe place 2.chasm 3.trap 4. destination. The robot can 1. move forward once 2. jump 3. Turn left... | https://www.daniweb.com/programming/software-development/threads/199973/help-please | CC-MAIN-2017-34 | refinedweb | 274 | 75.1 |
module Main (main) where
import DynFlags
import Data.List
import System.Environment
main :: IO ()
main = do args <- getArgs
case args of
[] -> error "Need to give filename to generate as an argument"
[f] ->
case f of
"docs/users_guide/users_guide.xml" ->
writeFile f userGuideMain
"docs/users_guide/what_glasgow_exts_doe... | https://git.haskell.org/ghc.git/blob_plain/86d41b13a7d07b563d4222a17eb5cfb61c3c0775:/utils/mkUserGuidePart/Main.hs | CC-MAIN-2019-39 | refinedweb | 157 | 65.83 |
On Sat, Jan 04, 2003 at 07:21:11PM -0600, Jamin W. Collins wrote: > A? The problem with this is that it contradicts what the vast majority of the upstream software we package does, and what that same software will do if people compile it for themselves. While we certainly do have various pieces of policy that require c... | https://lists.debian.org/debian-policy/2003/01/msg00061.html | CC-MAIN-2017-26 | refinedweb | 516 | 58.62 |
Microsoft's official enterprise support blog for AD DS and more
Hi, Steve again. I thought I would speak through a series of posts about what knowledge is critical to fulfilling the Windows Server Domain Admin role. This topic carries a ton of breadth and depth knowledge. As a beginning, you have to find out where all ... | http://blogs.technet.com/b/askds/archive/2009/01.aspx?pi136234=2&PostSortBy=MostRecent&pi145015=1 | CC-MAIN-2015-06 | refinedweb | 4,120 | 54.02 |
add a function to get local interfaces or external interface only
Hello,
are you interested by something like:
>>> netifaces.local_interfaces() ['lo0', 'en0'] >>> netifaces.public_interfaces() ['gif0', 'stf0', 'en1', 'fw0']
My usecase is that I need to find local interfaces on several OSes to display them to the user. ... | https://bitbucket.org/al45tair/netifaces/issues/51/add-a-function-to-get-local-interfaces-or | CC-MAIN-2018-13 | refinedweb | 502 | 56.15 |
Getting Started MVC application to use our components.
What is Html.EJ() ?
EJ refers to Essential JavaScript or Syncfusion Essential JS 1. It is a comprehensive collection of over 80 enterprise-grade HTML5 JavaScript components for building modern web applications. Refer to this JavaScript Package for more information.... | https://help.syncfusion.com/aspnetmvc/getting-started | CC-MAIN-2020-45 | refinedweb | 2,727 | 50.94 |
Web App generator
Looks like canonical shut down their web app generator page.
Does any one know of some other easy way of simply creating click packages from web pages?
In order that to continue with the webapps?
It is something absurd having the explorer.
It is to fill the shop of garbage, is my opinion.
You have alt... | https://forums.ubports.com/topic/291/web-app-generator | CC-MAIN-2020-45 | refinedweb | 827 | 76.52 |
"Light Makes Right"
June 21, 1989
Volume 2, Number.
eye!erich@wrath.cs.cornell.edu
This is a lot more direct than hopping the HP network through Palo Alto and Colorado just to get to Ithaca. We have the connection courtesy of the Computer Science Dept at Cornell, and they have asked us to try to keep our traffic down. ... | http://tog.acm.org/resources/RTNews/html/rtnews7b.html | crawl-002 | refinedweb | 3,818 | 64.91 |
Tag not in sync
Hi All,
I'm trying to create a new UVWTag (if an object doesn't already have one). Here's my basic code:
def main():
obj = doc.GetFirstObject()
if obj.GetTag(c4d.Tuvw) is None: tag = obj.MakeTag(c4d.Tuvw) tag[c4d.TEXTURETAG_PROJECTION]=3 tag.SetName('Cubic_map') c4d.EventAdd()
The code runs howewer, cin... | https://plugincafe.maxon.net/topic/11326/tag-not-in-sync | CC-MAIN-2019-18 | refinedweb | 594 | 56.05 |
08 December 2010 06:58 [Source: ICIS news]
By Prema Viswanathan
DUBAI (ICIS)--Borouge is looking at penetrating the largely untapped northern ?xml:namespace>
"With our distribution hubs and compounding plants in Shanghai and Guangzhou, we will be in a strong position to service the eastern and southern China markets…We... | http://www.icis.com/Articles/2010/12/08/9417521/gpca-10-borouge-eyes-north-china-for-sales-growth.html | CC-MAIN-2015-11 | refinedweb | 341 | 54.05 |
Details
Description
TermsComponent should be distributed
Issue Links
Activity
I got the previous patch working. It was we close. I attached the java file and a patch for just the TermsComponent
- Based on Matt's patch
- Synced to trunk
- Uses BaseDistributedTestCase
All tests pass.
I had to change TermData#frequency to... | https://issues.apache.org/jira/browse/SOLR-1177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel | CC-MAIN-2015-22 | refinedweb | 538 | 57.98 |
XML Attributes
Introduction
One of XML strengths is its ability to describe data
with various options, using simple or complex elements. Although an
element can have a value as large as a long paragraph of text, an element
can have only one value. There are cases where you would like the same
element to be equipped wit... | http://www.functionx.com/vcsharp2003/xml/attributes.htm | CC-MAIN-2016-30 | refinedweb | 629 | 57.67 |
1. Silverlight assemblies cannot reference standard .NET assemblies. You'll notice in Visual Studio that Silverlight has its own project types. These project types also have restrictions as to which framework assemblies are available to it.
If you are building components to be deployed with a Silverlight application an... | http://www.eggheadcafe.com/tutorials/xaml/100f610c-3417-4be5-a21c-2025234b4e01/silverlight-line-of-business-applications-with-offline-wpf-versions.aspx | crawl-003 | refinedweb | 1,416 | 63.09 |
In this tutorial I'm going to introduce you to HYPE, an ActionScript 3 framework released by Joshua Davis and Branden Hall on October 31, 2009.
The purpose of this introduction is not to get into the intricacies of the framework, but to walk you through a rather simple exercise designed to demonstrate some of the possi... | https://code.tutsplus.com/tutorials/introduction-to-the-hype-actionscript-30-framework--active-2459 | CC-MAIN-2017-04 | refinedweb | 2,823 | 71.95 |
MLGetByteString()
This feature is not supported on the Wolfram Cloud.
This feature is not supported on the Wolfram Cloud.
int MLGetByteString(MLINK link,const unsigned char **s,int *n,long spec)
gets a string of characters from the MathLink connection specified by link, storing the codes for the characters in s and the... | http://reference.wolfram.com/language/ref/c/MLGetByteString.html | CC-MAIN-2015-48 | refinedweb | 267 | 57.77 |
There are a few elements of information you can get out of the system settings for WPC, allowing you to see how various aspects of the parental controls system is setup. It is easy enough to read these settings using WMI and some javascript so we can see/use these settings in other places.
This will be a super set of t... | https://blogs.technet.microsoft.com/david_bennett/2006/09/08/showing-the-windows-parental-controls-system-settings/ | CC-MAIN-2016-30 | refinedweb | 533 | 55.24 |
void swap ( set<Key,Compare,Allocator>& st );
Swap content
Exchanges the content of the container with the content of st, which is another set object containing elements of the same type. Sizes may differ.After the call to this member function, the elements in this container are those which were in st before the call, ... | http://www.cplusplus.com/reference/stl/set/swap/ | crawl-002 | refinedweb | 176 | 55.44 |
I am pretty new to Java. I tried to look at a few examples and they made no sense to me. Here is what I am trying to do:
Create a method that just handles the calculations for the application. Create another method that allows returning all the values from the
method used to do the calculations. Have the main method on... | http://www.javaprogrammingforums.com/%20object-oriented-programming/11120-trying-return-more-than-one-value-object-printingthethread.html | CC-MAIN-2014-41 | refinedweb | 134 | 61.26 |
Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Adding a Controller4:29 with James Churchill
Now that we have our project, let’s add the first controller for our Comic Book Gallery website. adding-a-controller
Controller Scaffolding
In this video, we added a contr... | https://teamtreehouse.com/library/adding-a-controller | CC-MAIN-2018-13 | refinedweb | 1,158 | 82.14 |
I need to do is "crush" the values in l1 by some percentage so they are closer together such that perhaps if an array l1 were ...
l1 =[10,20,30,40,50,60,70,80,90,100]
l2 = [12.5, 25.0, 37.5, 50.0, 62.5, 45.0, 52.5, 60.0, 67.5, 75.0]
for i in l1:
if i <= 50:
i = (i*1.25)
l2.append(i)
print(i)
elif i >= 50:
i = (i*0.75)
... | https://codedump.io/share/1T3fR9Bjf6V0/1/bring-all-values-in-an-array-closer-together | CC-MAIN-2017-51 | refinedweb | 227 | 76.42 |
Hi, i got problem in my with converting date string into date object. I get date string from backend in dd:MM:yyyy hh:MM:ss format. Is there any easy way to create date object out of it? When i use new Date() and this string from backend, it creates wrong object with days and months switched. Any ideas?
Date object fro... | https://forum.ionicframework.com/t/date-object-from-string-in-dd-mm-yyyy-format/127326 | CC-MAIN-2018-51 | refinedweb | 234 | 61.09 |
Sudo Placement[1.7] | Greatest Digital Root
Given a number N, you need to find a divisor of N such that the Digital Root of that divisor is the greatest among all other divisors of N. If more than one divisors give the same greatest Digital Root then output the maximum divisor.
The Digital Root of a non-negative number... | https://www.geeksforgeeks.org/sudo-placement1-7-greatest-digital-root/ | CC-MAIN-2019-30 | refinedweb | 676 | 59.26 |
Okay, this may be answered by me not understanding something, but I truly feel this is a PyCharm issue unless explained otherwise.
Say you have this setup:
Layout
Project
|---A
|--- SecondProgram.py
|--- testfile.txt
|---B
|--- MainProgram.py
Contents of testfile.txt
This is a test.
Contents of SecondProgram.py
import ... | https://intellij-support.jetbrains.com/hc/en-us/community/posts/360006384839-Moving-a-file-does-not-change-the-location-PyCharm-thinks-it-exists-in | CC-MAIN-2020-10 | refinedweb | 1,004 | 66.03 |
On Monday 18 October 2010 18:19:24 Christoph Hellwig wrote:> Before we get into all these fringe drivers:> > - I've not seen any progrss on ->get_sb BKL removal for a whileNot sure what you mean. Jan Blunck did the pushdown into get_sblast year, which is included into linux-next through my bkl/vfstree. Subsequent patch... | http://lkml.org/lkml/2010/10/18/353 | CC-MAIN-2014-35 | refinedweb | 265 | 53.51 |
Red Hat Bugzilla – Bug 119737
SCHED_FIFO freezes system even if priority lower than shell
Last modified: 2005-10-31 17:00:50 EST
Description of problem:
SCHED_FIFO program that is in a constant loop seems to freeze the
system till it is done, or if it is infinite loop system has to be
rebotted even when running the she... | https://bugzilla.redhat.com/show_bug.cgi?id=119737 | CC-MAIN-2018-13 | refinedweb | 357 | 65.73 |
During the following steps we'll create an HTML Box using ActionScript 3.0. Along the way we'll see:
- Creating external scripts (classes).
- Creating new events with "dispatchEvent".
- Using "TextEvent".
- Using htmlText tags.
You can create the files that we'll see below in a texteditor like notepad etc., I'll be us... | https://code.tutsplus.com/tutorials/build-an-actionscript-30-html-box-with-xml-and-css-support--active-782 | CC-MAIN-2020-50 | refinedweb | 4,337 | 60.11 |
On Tue, 13 Nov 2007, Fuzzyman wrote: > I don't have the API docs to hand - but what you want to do is to > effectively execute an import statement in your namespace. ah - there indeed is an import call in the API - i just always assumed that it works like import in the scripts, meaning that it can only import modules t... | https://mail.python.org/pipermail/ironpython-users/2007-November/005955.html | CC-MAIN-2014-15 | refinedweb | 210 | 70.9 |
The above chapters introduced you to various ns-3 programming concepts such as smart pointers for reference-counted memory management, attributes, namespaces, callbacks, etc. Users who work at this low-level API can interconnect ns-3 objects with fine granularity. However, a simulation program written entirely using th... | https://www.nsnam.org/docs/manual/html/helpers.html | CC-MAIN-2018-05 | refinedweb | 200 | 58.72 |
Vinge and the Singularity 163
mindpixel writes: "Dr. Vinge is the Hugo award winning author of the 1992 novel "Fire Upon the Deep" and the 1981 novella "True Names." This New York Times piece (registration required) does a good job of profiling him and his ideas about the coming "technological singularity," where machi... | http://news.slashdot.org/story/01/08/02/0137256/vinge-and-the-singularity?sdsrc=nextbtmnext | CC-MAIN-2014-15 | refinedweb | 9,749 | 62.78 |
Depending on the system under test(SUT), it’s often a requirement to not use the same data more than once in a test or at least ensure that Virtual Users(VUs) are not concurrently using the same data, such as login credentials. To do this we must calculate a unique number for the VUs to use during the test. I’ll share ... | https://community.k6.io/t/when-parameterizing-data-how-do-i-not-use-the-same-data-more-than-once-in-a-test/42 | CC-MAIN-2020-45 | refinedweb | 1,901 | 69.52 |
More About Safari • Subscriber Login
If you don't have a Safari Books Online subscription...
Start a FREE Trial
Subscribe Now
Visual.
First and foremost, this efficiently packaged text is a reference to all of the COM objects and APIs that are needed to program with the Windows shell successfully. Each section is organ... | http://my.safaribooksonline.com/1565926706%3Fportal=oreilly | crawl-002 | refinedweb | 957 | 68.7 |
Unverified Commit 42598786 authored byBrowse files
Fixed ordering in Project.find_with_namespace
This ensures that Project.find_with_namespace returns a row matching literally as the first value, instead of returning a random value. The ordering here is _only_ applied to Project.find_with_namespace and _not_ Project.wh... | https://foss.heptapod.net/heptapod/heptapod/-/commit/425987861530c9c0fb7fe618d7f4bab017a80253 | CC-MAIN-2021-49 | refinedweb | 146 | 51.75 |
check obj in out other object
On 26/08/2016 at 02:52, xxxxxxxx wrote:
Hello to all! How can I do a check with python to see if an object is inside another object area? I have a piramid and i want to know if an object is in or out! Cheers :slightly_smiling_face::slightly_smiling_face::slightly_smiling_face:
On 29/08/201... | https://plugincafe.maxon.net/topic/9666/13002_check-obj-in-out-other-object | CC-MAIN-2020-40 | refinedweb | 443 | 57.37 |
I downloaded the latest pbf file(dated 27-Aug-2020 23:37) from a mirror and read its header using a python wrapper to osmium (v3.0.1)
import osmium
f = osmium.io.Reader("path/to/pbf_file.osm.pbf")
header = f.header()
seqnum = header.get("osmosis_replication_sequence_number", "")
timestamp = header.get("osmosis_replicat... | https://help.openstreetmap.org/questions/76430/pbf-file-missing-osmosis_replication_sequence_number-in-header | CC-MAIN-2021-43 | refinedweb | 605 | 65.42 |
Qt creator errors highlights
Not even sure how to name it. It happened after updates 1 month ago about.
Now Qt Creator IDE marks things like
#include <memory>
as "Error, file not found". Completion works bad too.
So question is what and where to fix ? I work on the same project more than a year, everything is git versi... | https://forum.qt.io/topic/74994/qt-creator-errors-highlights | CC-MAIN-2018-43 | refinedweb | 380 | 84.37 |
Opened 6 years ago
Closed 2 years ago
Last modified 2 years ago
#5968 closed New feature (fixed)
Registering/Unregistering multiple models fails
Description
Registering and unregistering multiple models fails. Calling for example
databrowse.site.register([model1, model2])
triggers this error: issubclass() arg 1 must be... | https://code.djangoproject.com/ticket/5968 | CC-MAIN-2014-10 | refinedweb | 1,197 | 60.24 |
By now you may have seen the amazing screencast where someone implements a beautiful web interface to Flickr! (an online photo gallery) in under 5 minutes. Well if you haven’t seen it yet, you really should do so now. But if you have you would probably be glad to know that this is possible under Pylons too!
First insta... | http://bel-epa.com/pylonsdocs/tutorials/flickr_search_tutorial.html | crawl-002 | refinedweb | 799 | 68.67 |
PKGBUILD improvements could be made by warning a user if "git" user exists (from other setup). This could be further checked if /srv/gitosis directory exists
Search Criteria
Package Details: gitosis-git 0.2.r49.gdedb3dc-2
Dependencies (3)
- git (git-git)
- python2 (placeholder, pypy19, python26, stackless-python2)
- py... | https://aur.archlinux.org/packages/gitosis-git/?ID=23419&comments=all&detail=1 | CC-MAIN-2017-22 | refinedweb | 1,539 | 58.69 |
I was rude!...
I know I was, when I said that...
but I had to say it!
That young and pretty beautiful lady was looking straight to my sensitive data!...
and we were in public...
at an internet cafe,
and my sensitive data was fully shown on the display screen!...
completely unprotected!
Fortunately, my data is large eno... | http://www.codeproject.com/KB/security/WouldYouPleaseEyesOFF.aspx | crawl-002 | refinedweb | 1,231 | 53.81 |
.
Disclaimer: The code in this post is intended to be educational only. It is simplified code that is intended to help you understand how ACS works. If you already have a good understanding of ACS and are looking to use it with PHP in a real application, then I suggest you check out the AppFabric SDK for PHP Developers... | https://blogs.msdn.microsoft.com/brian_swan/2010/08/17/understanding-windows-azure-appfabric-access-control-via-php/ | CC-MAIN-2016-30 | refinedweb | 2,775 | 53.92 |
In this tutorial we will check how to serialize a Python dictionary to a JSON string.
Introduction
In this tutorial we will check how to serialize a Python dictionary to a JSON string.
This tutorial was tested with Python version 3.7.2.
The code
We will start the code by importing the json module. This module will expo... | https://techtutorialsx.com/2020/02/18/python-converting-dictionary-to-json-string/?shared=email&msg=fail | CC-MAIN-2020-34 | refinedweb | 423 | 64.51 |
There are two images provided: the
actionloop and the
action-golang-v1.11 available. Each image accept different input in the deployment.
The runtime
actionlooop accepts:
If the input is a single file, it can be either a in ELF format for architecture AMD64 implementing the ActionLoop protocol.
It can also be a script,... | https://apache.googlesource.com/openwhisk-runtime-go/+/2ea8fecad08615aa17b03d55577f83e1de072b6d/docs/DEPLOY.md | CC-MAIN-2020-16 | refinedweb | 986 | 62.58 |
You are tweaking an app which is already in production. You are implementing code that allows a user to delete his data. All of a sudden, you realize that you made a huge mistake! By providing a wrong ID, you accidentally deleted data of an actual user!
Horror stories like this one can truly become a reality if you don... | https://resocoder.com/2020/02/19/environments-flavors-in-flutter-with-codemagic-ci-cd/ | CC-MAIN-2020-34 | refinedweb | 2,429 | 56.86 |
DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Thai Election ID Checking
The online service <a href=>here</a> aims to help people check where they are to vote. However, it can be used as ID... | http://www.dzone.com/snippets/thai-election-id-checking | CC-MAIN-2013-20 | refinedweb | 113 | 73.78 |
>>.
282 Reader Comments
For example, poor introspection could be one...
No block scoping.
For example, poor introspection could be one...
No block scoping.
Mozilla has already implemented this with "let".
After it's released into the wild for folks to see, then there will be reasons for discussions. Right now let's see... | http://arstechnica.com/information-technology/2011/09/critics-call-foul-as-google-takes-aim-at-javascript-with-dart/?comments=1&start=80 | CC-MAIN-2016-30 | refinedweb | 3,525 | 71.75 |
On Mon, 01 Oct 2012, Martin Kosek wrote:
On 10/01/2012 04:35 PM, Alexander Bokovoy wrote:On Mon, 01 Oct 2012, Martin Kosek wrote:On 10/01/2012 11:24 AM, Alexander Bokovoy wrote:Hi,
AdvertisingThe patch attached fixes Fedora build system issue with unified samba package (samba/samba4 packages got merged in Fedora 18 and... | https://www.mail-archive.com/freeipa-devel@redhat.com/msg13182.html | CC-MAIN-2018-30 | refinedweb | 355 | 51.34 |
———————————————————–
GitHub.
Introduction:
If you have a surface made of multiple Bezier patches they can be evaluated in parallel. The new shaders in DirectX 11 (Hull and Domain shaders) make this easier for graphics applications and rendering. There is a straightforward method of evaluating these patches using a simp... | https://pixelp3.wordpress.com/2011/11/13/evaluating-bezier-pyopencl/?replytocom=193 | CC-MAIN-2020-24 | refinedweb | 2,426 | 62.78 |
Definition of JavaFX Timer
JavaFX is known for its flexibility and easiness. There are several classes available in it and Timer is a class that helps in scheduling the tasks that has to be executed later. The creation of a new object of Timer spawns a thread that is new that can execute the program after a mentioned a... | https://www.educba.com/javafx-timer/ | CC-MAIN-2022-40 | refinedweb | 1,055 | 67.96 |
= 2003/11/25 Changed the name to File::OldSlurp Alex BATKO <abatko@cs.mcgill.ca> sent in some typo fixes. = 2003/09/04 This is the last release of File::Slurp by David Sharnoff. After this release, the File::Slurp namespace will be given to Uri Guttman <uri@stemsystems.com>. The only change in this release: a fix to th... | https://metacpan.org/changes/distribution/File-OldSlurp | CC-MAIN-2015-48 | refinedweb | 132 | 77.03 |
Most of the major paradigm shifts in programming have come about from seeking ways to improve the clarity, flexibility, and reusability of written code. These paradigm shifts have basically been:
Structuring concept: code snippets.
Structuring concepts: single-entry/single-exit structures and modular decomposition.
Str... | http://old.zope.org/Members/pje/Wikis/TransWarp/IntroToAOP/wikipage_view | crawl-003 | refinedweb | 1,182 | 63.29 |
03 June 2010 05:38 [Source: ICIS news]
By Junie Lin
SINGAPORE (ICIS news)--Buyers of semi-dull nylon chips in Asia chose to stay on the sidelines for most of May, as producers are bent on pushing prices to a fresh high, market sources said on Thursday.
Poor sales ensued after suppliers offered the material at $3,000-3,... | http://www.icis.com/Articles/2010/06/03/9364408/asia-nylon-chips-buyers-disappear-as-suppliers-quote-3000t.html | CC-MAIN-2015-14 | refinedweb | 378 | 65.25 |
In case you have never done unit testing, probably this article will be Chinese for you and if you are already Chinese then it will be French :). You would probably like to read my Unit testing article first and then move ahead.
Everybody bumps with partial testing now or then. And well everybody has their own way of a... | https://www.codeproject.com/articles/479318/6-important-use-of-partial-mock-testing | CC-MAIN-2017-09 | refinedweb | 2,362 | 65.22 |
Content-type: text/html
cc by locks, which are generally used to protect data that is frequently searched.
Readers/writer locks can synchronize threads in this process and other processes if they are allocated in writable memory and shared among cooperating processes (see mmap(2)), and are initialized for this purpose... | http://backdrift.org/man/SunOS-5.10/man3c/rw_unlock.3c.html | CC-MAIN-2017-09 | refinedweb | 522 | 63.9 |
Kirome Thompson5,350 Points
Help writing a time_machine function that takes an int and a string of 'minutes', 'hours', 'days' or 'years'
Write a function named time_machine that takes an integer and a string of "minutes", "hours", "days", or "years". This describes a timedelta. Return a datetime that is the timedelta's... | https://teamtreehouse.com/community/help-writing-a-timemachine-function-that-takes-an-int-and-a-string-of-minutes-hours-days-or-years | CC-MAIN-2020-34 | refinedweb | 200 | 73.98 |
Browse content similar to Rosh Hashanah: Science vs Religion. Check below for episodes and series from the same categories and more!
'We're living in an age of
unprecedented scientific progress.
'Every aspect of our lives
'is shaped by the latest discoveries
and innovations.
'For me, science is one of the
greatest achi... | https://subsaga.com/bbc/religion-and-ethics/2012/rosh-hashanah-science-vs-religion.html | CC-MAIN-2022-27 | refinedweb | 4,258 | 70.84 |
Update: SAP’s recommended tool to develop SAPUI5 app is using SAP Web IDE. So I would suggest you to start with Web IDE instead of Appbuilder. More info: SAP Web IDE – Enablement
Today I have registered for SMP 3 trial available from SAP via SCN. So I spend few hours in developing a simple hybrid app. To make my life e... | https://blogs.sap.com/2014/05/27/developing-smp-3-mobile-app-using-appbuilderkapselsmp-3-trial/ | CC-MAIN-2018-17 | refinedweb | 1,361 | 65.32 |
Dear all,
I am building a wireless musical interface using three XBees and two Teensy 3.2s. When I try to send analog potentiometer values using the Arduino XBee Library, I run into huge (+10 second) latency and errors. Why is this happening? Has anyone encountered this problem before? My wireless hardware setup involv... | https://forum.pjrc.com/printthread.php?s=5e1ac855e1e4bf5681d6ba180c673fa1&t=60134&pp=25&page=1 | CC-MAIN-2020-29 | refinedweb | 387 | 54.83 |
Ruby XML Roundup: Hpricot 0.7, Stable Libxml-ruby and Nokogiri
- |
-
-
-
-
-
-
Read later
My Reading List
Ruby's XML story has improved lately with a small arms race between XML libraries Nokogiri, Hpricot and libxml-ruby. Nokogiri was released last fall, and is based on the native libxml2 and libxslt:
Since Nokogiri l... | https://www.infoq.com/news/2009/03/xml-roundup | CC-MAIN-2016-50 | refinedweb | 411 | 65.62 |
Holy cow, I wrote a book!
Consider the following program:
#include <windows.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
int array[10000];
int countthem(int boundary)
{
int count = 0;
for (int i = 0; i < 10000; i++) {
if (array[i] < boundary) count++;
}
return count;
}
int __cdecl wmain(int, wchar_t **... | http://blogs.msdn.com/b/oldnewthing/default.aspx?PageIndex=3 | CC-MAIN-2014-23 | refinedweb | 3,358 | 62.07 |
TypeScript is a free, open-source programming language developed and maintained by Microsoft. It is a strict superset of JavaScript and adds optional static typing and class-based object-oriented programming to the language.
TypeScript can be helpful to React developers in a number of ways.
For example:
- Interfaces: T... | https://blog.logrocket.com/how-why-a-guide-to-using-typescript-with-react-fffb76c61614/ | CC-MAIN-2019-43 | refinedweb | 1,577 | 57.06 |
++ Requests.
To demostrate our client code, we need a web server that we can make our request to so in our case, we’ll use ASP.NET Web API version 2 to implement our CRUD API. The web server is not this article’s focus but I shall still devote some time to explain the Web API code. For those readers not interested in t... | https://codingtidbit.com/page/7/ | CC-MAIN-2021-17 | refinedweb | 1,365 | 57.27 |
Express Gateway - A microservices API Gateway built on top of Express.js - Interview with Vincenzo Chianese
Our Kanban application is almost usable now. It looks alright and there's basic functionality in place. In this chapter, we will integrate drag and drop functionality to it as we set up React DnD.
After this chap... | https://survivejs.com/react/implementing-kanban/drag-and-drop/index.html | CC-MAIN-2019-22 | refinedweb | 2,632 | 52.26 |
If you are new to C# or have been learning C# string from quite some time, then you may stumble upon, string interpolated version in C# (
$"Hello, {YourName}"), which was introduced in C# 6, so in this article, I have explained about c# string interpolated version with console application examples.
What is string inter... | https://qawithexperts.com/article/c-sharp/string-interpolation-in-c-with-examples/308 | CC-MAIN-2021-39 | refinedweb | 530 | 56.86 |
Red Hat Bugzilla – Bug 60193
Source RPM from FTP site does produce errors
Last modified: 2007-04-18 12:40:31 EDT
Description of Problem:
Source RPM from FTP site does produce errors
Version-Release number of selected component (if applicable):
qt-2.3.1-5
How Reproducible:
rpm -ba qt.spec
Steps to Reproduce:
1. extract ... | https://bugzilla.redhat.com/show_bug.cgi?id=60193 | CC-MAIN-2018-09 | refinedweb | 143 | 57.27 |
- 13 Oct, 2006 1 commit
- 09 Oct, 2006 1 commit
- David Kastrup authored
what the joke was about.
- 07 Oct, 2006 2 commits
- 06 Oct, 2006 2 commits
- 30 Sep, 2006 1 commit
- 28 Sep, 2006 1 commit
- 27 Sep, 2006 1 commit
- Vinicius Jose Latorre authored
- 26 Sep, 2006 1 commit
- Reiner Steib authored
- 20 Sep, 2006 2 co... | https://emba.gnu.org/emacs/emacs/-/commits/12b6af5c7ed2cfdb9783312bf890cf1e6c80c67a/etc | CC-MAIN-2021-43 | refinedweb | 467 | 59.9 |
If you've never encountered WPF (Windows Presentation Foundation) you are missing a versatile tool. This article is part of a series devoted to it. XAML can be confusing - especially if you think it is a markup language like HTML. It isn't. XAML is a general purpose object instantiation language. To find out what this ... | https://i-programmer.info/programming/wpf-workings/446-how-xaml-works.html | CC-MAIN-2021-25 | refinedweb | 222 | 64.61 |
Opened 13 months ago
Closed 6 months ago
#9066 closed bug (fixed)
Template Haskell cannot splice an infix declaration for a data constructor
Description
When I say
$([d| data Blargh = (:<=>) Int Int infix 4 :<=> |])
I get
Illegal variable name: ‘:<=>’ When splicing a TH declaration: infix 4 :<=>_0
The code inside the T... | https://ghc.haskell.org/trac/ghc/ticket/9066 | CC-MAIN-2015-22 | refinedweb | 877 | 61.77 |
What is Achieved by Project Jigsaw: As I explained earlier, project Jigsaw solves the problem of the whole java API being used as a single monolithic codebase. The following points highlight the main advantages.
1. Dependency Graph: Jigsaw gives a way to uniquely identify a particular codebase, and also to declare a co... | http://www.javacodegeeks.com/2012/05/whats-cooking-in-java-8-project-jigsaw.html | CC-MAIN-2014-10 | refinedweb | 1,615 | 59.09 |
MB_CUR_MAX - maximum length of a multibyte character in the current locale
#include <stdlib.h>
The MB_CUR_MAX macro defines an integer expression giving the maximum number of bytes needed to represent a single wide character in the current locale. It is locale dependent and therefore not a compile- time constant.
An in... | http://huge-man-linux.net/man3/MB_CUR_MAX.html | CC-MAIN-2018-26 | refinedweb | 109 | 59.19 |
Newbie questions
- How to gracefully shutdown the board?
- How to execute a test script from REPL?
- How to validate that the firmware for the Pysense and the Lopy4 module is on the latest recommended release
Thanks for your help
Hi,
The hardware version of the board can be found written on the silk screen (either
1.0o... | https://forum.pycom.io/topic/2868/newbie-questions | CC-MAIN-2021-31 | refinedweb | 271 | 76.01 |
On Thu, Jun 14, 2007 at 03:54:47PM -0600, Marc St-Jean wrote:
General comment all the first ~ 2900 of your patch is that it's rather
heavy on #ifdef. #ifdef is a nasty construct that has a tendency to hard
to read code which in trun results in bugs. Or a test compile fails to
find real issues in the code because it's h... | http://www.linux-mips.org/archives/linux-mips/2007-06/msg00288.html | CC-MAIN-2014-35 | refinedweb | 907 | 64.1 |
In this video I start my new Android tutorial. The last Android tutorial I made is still very popular, but I’m going to try and improve on it here.
If you are a beginner to Android and don’t know Java you may prefer my Android tutorial for beginners. I’ll be using Android Studio in this tutorial and I show how to insta... | http://www.newthinktank.com/2014/06/make-android-apps/ | CC-MAIN-2020-05 | refinedweb | 1,090 | 58.48 |
Become an Series 40 application developer - Part 2
This article explains how to develop a Java ME ("native") application for Series 40 devices. The article is for absolute beginners, and also for developers who are familiar with Java ME, but want to work on Series 40.
Continuing from Become an Series 40 application dev... | http://developer.nokia.com/community/wiki/Become_an_Series_40_application_developer_-_Part_2 | CC-MAIN-2014-41 | refinedweb | 1,356 | 67.45 |
Introduction: Servo Driven Automatic Vice
You will need:
- Parallel Gripper Kit -
- Standard Size Servo - (See Note)
Base - I show a couple of ideas
To build it on a breadboard you will need:
- Arduino - (I used an Uno)
- Breadboard
- Jumper Wires
- 10k Linear Taper Potentiometer -
- Long Male Headers -
To build the pe... | https://www.instructables.com/id/Servo-Driven-Automatic-Vice/ | CC-MAIN-2020-34 | refinedweb | 905 | 71.55 |
Opened 7 years ago
Closed 7 years ago
#17967 closed New feature (fixed)
"change password" link in the admin header should be easier to disable
Description
The "change password" link in the admin header doesn't make sense for all installations. For example, sites that use
django-auth-ldap as the primary authentication s... | https://code.djangoproject.com/ticket/17967 | CC-MAIN-2019-35 | refinedweb | 255 | 66.67 |
Is It Time For .tel? 292
Vitaly Friedman writes "ICANN, the body responsible for creating top-level domains, is." This idea has been kicked around for quite a while; one of the question is the whole name-space collision issue. For instance, there's me and then there's other me. Lemme tell how strange it is getting fan ... | https://slashdot.org/story/06/04/17/129248/is-it-time-for-tel?sdsrc=nextbtmprev | CC-MAIN-2018-05 | refinedweb | 4,461 | 73.68 |
Simple Top-Down Parsing in Python
Fredrik Lundh | July 2008
In Simple Iterator-based Parsing, I described a way to write simple recursive-descent parsers in Python, by passing around the current token and a token generator function.
A recursive-descent parser consists of a series of functions, usually one for each gram... | http://www.effbot.org/zone/simple-top-down-parsing.htm | CC-MAIN-2014-10 | refinedweb | 5,662 | 52.9 |
![if !IE]> <![endif]>
INSERTION SORT:
Definition:
An insertion sort is one that sorts a set of records by inserting records into an existing sorted file.
• Based on the technique used by card players to arrange a hand of cards
– Player keeps the cards that have been picked up so far in sorted order
– When the player pi... | https://www.brainkart.com/article/Insertion-sort_6983/ | CC-MAIN-2019-51 | refinedweb | 331 | 63.02 |
A class to perform some of the functions of a Radial Basis Function Network. More...
#include "mbl_rbf_network.h"
#include <vcl_cstdlib.h>
#include <vcl_cassert.h>
#include <vsl/vsl_indent.h>
#include <mbl/mbl_stats_1d.h>
#include <vnl/algo/vnl_svd.h>
#include <mbl/mbl_matxvec.h>
#include <vnl/io/vnl_io_vector.h>
#incl... | http://public.kitware.com/vxl/doc/release/contrib/mul/mbl/html/mbl__rbf__network_8cxx.html | crawl-003 | refinedweb | 298 | 62.54 |
NeXT Computers
Log in to check your private messages
Can a Quadra Run NeXTstep or Openstep ?
NeXT Computers Forum Index
->
Apple Hardware
View previous topic
::
View next topic
Author
Rob Blessin Black Hole
Site Admin
Joined: 05 Sep 2006
Posts: 702
Location: Ft. Collins, Colorado
Posted: Mon Apr 24, 2017 12:22 am
Post ... | http://www.nextcomputers.org/forums/viewtopic.php?p=23934&sid=7c7f8668abf06bfe020ffee301fa81da | CC-MAIN-2019-04 | refinedweb | 1,352 | 68.2 |
Technical Support
On-Line Manuals
RL-ARM User's Guide (MDK v4)
#include <rl_usb.h>
BOOL usbh_msc_read (
U8 ctrl, // USB Host Controller index
U8 dev_idx, // Device instance index
U32 blk_adr, // Starting block address
U8 *ptr_data, // Pointer to data location
U16 blk_num // Number of blocks to be read
);
The function u... | https://www.keil.com/support/man/docs/rlarm/rlarm_usbh_msc_read.htm | CC-MAIN-2020-34 | refinedweb | 132 | 55.34 |
Introduction
In this tutorial we will see some of the extenders provided by AJAX Toolkit. We can enhance the functionality of TextBox.
In this tutorial both ways of adding extenders are mentioned; i.e. in mark up source and in design time.
We will discuss the following textbox extenders:
1. Watermark Extender
Watermark... | http://www.c-sharpcorner.com/uploadfile/dpatra/using-ajax-textbox-extenders/ | CC-MAIN-2015-40 | refinedweb | 797 | 58.89 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.