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
what is it ---------- A Python package to parse and build CSS Cascading Style Sheets. main changes since 0.9.4a4 -------------------------- for full details for 0.9.4b1 see the relevant CHANGELOG: 0.9.4b1 - **FEATURE**: Added ``csscombine`` script which currently resolves @import rules into the input sheet. No nested @...
https://mail.python.org/pipermail/python-announce-list/2007-December/006329.html
CC-MAIN-2017-04
refinedweb
124
61.02
Introduction Some very brief notes summarizing the abstract side of Haskell monads. It’s my crib sheet, written partly to straighten matters in my own mind and partly for future reference. Most of the information here comes from the usual places, notably the Typeclassopedia.1 I’m also indebted to Dominic Prior for many...
https://www.mjoldfield.com/atelier/2014/01/monads-algebra.html
CC-MAIN-2019-43
refinedweb
1,502
61.7
Raking MySQL Over Rails Next, create the states.csv file, and store it within the newly created db/seed directory. A shortened version of the file is presented here: id, name, abbreviation 1, Alabama, AL 2, Alaska, AK 3, Arizona, AZ 4, Arkansas, AR 5, California, CA 6, Colorado, CO Next, you'll need to create a Rake fi...
http://www.developer.com/db/article.php/10920_3717241_2/Raking-MySQL-Over-Rails.htm
CC-MAIN-2014-42
refinedweb
520
51.28
#include <db.h> int DB_ENV->log_stat(DB_ENV *env, DB_LOG_STAT **statp, u_int32_t flags); The DB_ENV->log_stat() method returns the logging subsystem statistics. The DB_ENV->log_stat() method creates a statistical structure of type DB_LOG_LOG_STAT fields will be filled in: u_int32_t st_cur_file; The current log file num...
http://idlebox.net/2011/apidocs/db-5.2.28.zip/api_reference/C/logstat.html
CC-MAIN-2014-15
refinedweb
424
66.44
completion time in seconds since the last frame (Read Only). This property provides the time between the current and previous frame. Use Time.deltaTime to move a GameObject in the y direction, at n units per second. Multiply n by Time.deltaTime and add to the y component. MonoBehaviour.FixedUpdate uses fixedDeltaTime ...
https://docs.unity3d.com/2018.3/Documentation/ScriptReference/Time-deltaTime.html
CC-MAIN-2019-39
refinedweb
505
64.57
Agenda See also: IRC log Steven: Roland Merrick of IBM will be joining me as co-chair; he has a lot of experience in the Forms WG, and is very enthusiastic about joining us. He has an existing call at this time, so has some reorganization to do. Here is the one from the last WG Here is the latest one: Shane: There is a...
http://www.w3.org/2007/06/20-xhtml-minutes
CC-MAIN-2016-22
refinedweb
697
64.75
I have a directory with ~10,000 image files from an external source. Many of the filenames contain spaces and punctuation marks that are not DB friendly or Web friendly. I also want to append a SKU number to the end of every filename (for accounting purposes). Many, if not most of the filenames also contain extended la...
http://serverfault.com/questions/82821/how-to-tell-the-language-encoding-of-a-filename-on-linux
CC-MAIN-2015-11
refinedweb
512
67.76
Formatting Numbers Hi guys, I'm new on developing software on Qt. I would like to get some numbers formatted as string with 2 digits for every numbers. This to get the numbers with value < 9 formatted as "09". I'm using the lines of code below but they don't give me back what I would like to obtain and I can't understa...
https://forum.qt.io/topic/15554/formatting-numbers
CC-MAIN-2018-05
refinedweb
744
73.88
...one of the most highly regarded and expertly designed C++ library projects in the world. — Herb Sutter and Andrei Alexandrescu, C++ Coding Standards First we need some includes to access the normal distribution, the algorithms to find location and scale (and some std output of course). #include <boost/math/distribut...
http://www.boost.org/doc/libs/1_43_0/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg/find_mean_and_sd_eg.html
CC-MAIN-2013-20
refinedweb
2,037
50.43
Grok, sqlalchemy and traversal¶ Tags: grokkerdam2008, plone Martijn Faassen showed a grok + sqlalchemy application he's been working on. This got everyone into the spirit and more importantly into the problem domain. Something he used a lot was custom traversal to navigate the relational database model with URLs. With ...
http://reinout.vanrees.org/weblog/2008/05/01/grok-sqlalchemy-and-traversal.html
crawl-002
refinedweb
526
60.21
Add a PowerShell module to manage Windows Updates Add a PowerShell module to manage Windows Updates like you can now with the GUI. Like checking for updates, installing all updates, or a selection of updates, creating a report of pending updates, etc. The Windows Update options in the Server Configuration Manager (scon...
https://windowsserver.uservoice.com/forums/301869-powershell/suggestions/17728717-add-a-powershell-module-to-manage-windows-updates
CC-MAIN-2019-35
refinedweb
278
56.25
kig #include <bogus_imp.h> Detailed Description This ObjectImp is a BogusImp containing only a string value. Definition at line 167 of file bogus_imp.h. Member Typedef Documentation Definition at line 176 of file bogus_imp.h. Constructor & Destructor Documentation Construct a new StringImp containing the string d. Defi...
https://api.kde.org/4.14-api/kdeedu-apidocs/kig/html/classStringImp.html
CC-MAIN-2020-05
refinedweb
313
63.05
ImportError with --autogenerate I've got a very simple sqlalchemy project all living in 1 file (for now), including my Base object. I am interested in autogenerating migrations for this project. As the tutorial specifies, I have imported the project file in env.py and set target_metadata to point at Base.metadata in th...
https://bitbucket.org/zzzeek/alembic/issues/87/importerror-with-autogenerate
CC-MAIN-2018-13
refinedweb
323
77.33
Believe it or not, you don’t need CSS @media queries. In this article, learn a few lines of JavaScript that will allow you to mimic the features of @media queries and build fully responsive websites. The biggest reason developers don’t opt for inline styles in their React projects is because it lacks some notable CSS f...
https://alligator.io/react/responsive-websites-without-css/
CC-MAIN-2020-34
refinedweb
523
57.06
For an assignment I have to take a string as an input and write it as a file. Then, a function takes the string from the file and puts each word in a dictionary, with the value being the amount of times that word appears in the string. The words will then be printed in a "tower" (similar to a word cloud) with the size ...
https://codedump.io/share/pIAxwwdSGWXl/1/how-do-i-access-a-dictionary-from-a-function-to-be-used-in-another-function
CC-MAIN-2017-26
refinedweb
238
72.87
logb, logbf, logbl - get exponent of a floating-point value Synopsis Description Return Value Errors Colophon #include <math.h> These functions extract the exponent from the internal floating-point representation of x and return it as a floating-point value. The integer constant FLT_RADIX, defined in <float.h>, indicat...
http://manpages.sgvulcan.com/logbf.3.php
CC-MAIN-2017-09
refinedweb
156
58.69
Transforming Tags into Categorical Data I’ve encountered a few instances where I need to make clean, dummied data columns from a column that contains a list of attributes. This notebook will go one step further and show an example of generating one such list from a bunch of string fields, generated by concatenating arb...
https://napsterinblue.github.io/notes/python/pandas/tags_to_columns/
CC-MAIN-2021-04
refinedweb
1,014
53
Profiler Elements, as of Version 10, includes a cross-platform Instrumenting Performance Profiler that can be used on all four platfroms to find bottlenecks and get an overall understanding of where your application or parts of your application spend the most processing time. The profiler is a combination of an Aspect ...
https://docs.elementscompiler.com/Tools/Profiler/
CC-MAIN-2018-43
refinedweb
1,225
58.32
I just installed version 5.1.64998. I am trying to setup the email settings with Exchange 2010. I keep getting the following error: 32 Replies Mar 29, 2011 at 1:28 UTC Long shot, but is Hide From Exchange Address Lists set? Mar 29, 2011 at 1:34 UTC I have it setup and working with Exchange 2010 and on my outgoing setti...
https://community.spiceworks.com/topic/133814-email-settings-for-exchange-2010
CC-MAIN-2017-04
refinedweb
1,238
74.08
After making a line-following robot, making a robot that can avoid obstacles is usually one of the first projects recommended for both robotics enthusiasts and engineers-to-be. What if we wanted to combine these two ideas to make a robot follow a flat object? Let me show you how to do that in this project! Creating Obj...
https://maker.pro/arduino/tutorial/an-ultrasonic-object-following-robot
CC-MAIN-2019-26
refinedweb
1,324
53
Ok, I know we’ve been going on about custom cells / cell factories a bit recently, but I wanted to do one more post about a very useful topic: caching within cell content. These days ‘Hello World’ has been replaced by building a Twitter client, so I’ve decided to frame this topic in terms of building a Twitter client. ...
http://fxexperience.com/2010/06/custom-cell-caching/
CC-MAIN-2020-16
refinedweb
1,122
56.66
I'm trying to make a script that will draw lines on an image in a python GUI. I've been able to get the image on the GUI, but do not know how to draw the additional lines. The script should be able to loop so I can draw more lines. What I have so far: import tkinter as Tk root = Tk.Tk() background_image=Tk.PhotoImage(f...
https://codedump.io/share/wo98JujMsotv/1/draw-line-on-image-in-tkinter
CC-MAIN-2017-13
refinedweb
163
54.08
Hi jens, Thank you very much for the code reference. On Wed, Apr 11, 2018 at 3:37 PM, Jens Breitenstein <mailingl...@j-b-s.de> wrote: > Hi! > > > Maybe this helps: > > We wrote our own component, modify as you like > > > public class DateFormatter > { > @Inject private Messages_messages; > > @Parameter(required =true, ...
https://www.mail-archive.com/users@tapestry.apache.org/msg76625.html
CC-MAIN-2018-43
refinedweb
433
51.44
Opened 3 years ago Closed 3 years ago Last modified 2 months ago #3078 closed Bug (Completed) bug in _ArrayUnique Description "C:\Program Files (x86)\AutoIt3\autoit-v3.3.14.0\Include\Array.au3" (2297) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: If IsInt($aArray[$iBase...
https://www.autoitscript.com/trac/autoit/ticket/3078
CC-MAIN-2018-09
refinedweb
592
57.27
[Solved] Sending C++ values to QML properties Hi, I trying to change some QML properties from C++ in order to rotate one object but looks like it doesn't update or repaint. I followed this document: ...but once i change the property i debug it, the value is correct but the object didn't rotate. This is how i change the...
https://forum.qt.io/topic/56526/solved-sending-c-values-to-qml-properties
CC-MAIN-2017-39
refinedweb
696
52.8
Hi, I have kind of simple question, but can't find anything usefull on the internet. In my web application i have a sqldatasource control: <asp:SqlDataSource <SelectParameters> <asp:Parameter </SelectParameters> </asp:SqlDataSource> protected void sourceTrainingDate_Selecting(object sender, SqlDataSourceSelectingEventA...
http://www.dotnetspark.com/links/35301-if-value-is-not-mssql-table-return-something.aspx
CC-MAIN-2017-22
refinedweb
466
50.63
Odoo Help Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps: CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc. IndexError: tuple index out of range in an Onchange Function when I try to run below code i got this error ======================...
https://www.odoo.com/forum/help-1/question/indexerror-tuple-index-out-of-range-in-an-onchange-function-84733
CC-MAIN-2017-09
refinedweb
254
52.66
On Sun, Feb 8, 2009 at 1:25 PM, Brian Candler <B.Candler@pobox.com> wrote: > > (1) Personally, I'm not yet ready to move all view generation into the > browser (Futon-like), i.e. where Javascript fetches the JSON, reformats as > HTML, and submits back as JSON. In any case, supporting browsers without > Javascript is st...
http://mail-archives.apache.org/mod_mbox/incubator-couchdb-user/200902.mbox/%3Ce282921e0902091130x196773fdkd7558f2abe7cf904@mail.gmail.com%3E
CC-MAIN-2015-40
refinedweb
467
61.06
Managing Real-Time Tasks Embedded systems need a way to schedule activities and respond to events in an efficient and deterministic manner. MicroPython offers developers several methods to achieve task scheduling. In this chapter, we will review the methods that are most commonly used by developers and how to use uasyn...
https://www.packtpub.com/product/micropython-projects/9781789958034
CC-MAIN-2022-27
refinedweb
6,972
51.78
I just uploaded a new version of doctest[1] to Hackage. WHAT IS doctest? ================. A basic example of usage is at [4]. WHAT'S NEW IN THIS VERSION? =========================== It is now possible to intersperse comments between a longer, continuing example. All examples within the same comment now share a namespa...
http://www.haskell.org/pipermail/haskell-cafe/2011-June/093221.html
CC-MAIN-2014-10
refinedweb
153
75.81
The QFile class is an I/O device that operates on files. More... Almost all the functions in this class are reentrant when Qt is built with thread support. The exceptions are setEncodingFunction(), setDecodingFunction(), and setErrorString(). #include <qfile.h> Inherits QIODevice. List of all member functions. QFile is...
http://doc.trolltech.com/3.2/qfile.html
crawl-002
refinedweb
1,568
70.5
C# for loop is one of the most used loop in C# programming language and it is same as we have seen in C/ C++ or Java ( if you have learned coding in any of the languages). For loop has a initialized variable, condition until when to loop, and third is incremement/decrement of value. Syntax of for loop for(initializatio...
https://qawithexperts.com/tutorial/c-sharp/14/c-sharp-for-loop
CC-MAIN-2021-39
refinedweb
467
59.26
using System; namespace DatimeApplication { class Program { static void Main(string[] args) { DateTime startDate = new DateTime(2013, 1, 1); DateTime endDate = new DateTime(2013, 12, 31); TimeSpan diff = endDate - startDate; int days = diff.Days; int j=0; for (var i = 0; i <= days; i++) { var testDate = startDate.AddDa...
http://www.dotnetjalps.com/2013/11/find-days-except-saturday-sunday-year.html
CC-MAIN-2017-04
refinedweb
191
67.65
I am trying to build an application that displays an image in a JScrollPane. I have written a class that extends JPanel of which I override the paintComponent() function to paint the image on the JPanel. This is then added to the JScrollPane. The problem is this, the JPanel is displayed as the same size as the JScrollP...
http://www.javaprogrammingforums.com/awt-java-swing/5383-painting-image-jpanel-inside-jscrollpane.html
CC-MAIN-2015-14
refinedweb
203
50.43
python-twitter 1.3.1 A Python wrapper around the Twitter API **A Python wrapper around the Twitter API.** Author: The Python-Twitter Developers <python-twitter@googlegroups.com> ## Introduction This library provides a pure Python interface for the [Twitter API]() It works with Python versions from 2.5 to 2.7. Python 3 ...
https://pypi.python.org/pypi/python-twitter/1.3.1
CC-MAIN-2016-44
refinedweb
2,878
54.52
The. In this article, we'll teach you how to install, setup and use basically the python library "face recognition" in Ubuntu 16.04. Requirements Before proceeding with the usage of this library, you will need on your system: Python 3 In this tutorial, we'll follow the installation of the library with Python 3. cmake Y...
https://ourcodeworld.com/articles/read/841/how-to-install-and-use-the-python-face-recognition-and-detection-library-in-ubuntu-16-04
CC-MAIN-2021-39
refinedweb
1,075
53
Object Oriented Programming in Swift Learn how object oriented programming works in Swift by breaking things down into objects that can be inherited and composed from. Object oriented programming is a fundamental programming paradigm that you must master if you are serious about learning Swift. That’s because object or...
https://www.raywenderlich.com/599-object-oriented-programming-in-swift
CC-MAIN-2021-04
refinedweb
3,225
55.84
I have been building AJAX applications for a while now and absolutely love AJAX and the improvements it can offer in user-interface design, making applications easy and fun to use. But AJAX does have limitations and I, like many others have come to the realization that while AJAX is great for most things, it is not the...
http://m.mowser.com/web/www.j2eegeek.com%2Fblog%2F2007%2F03%2F01%2Fwill-or-should-adobe-open-source-flex%2F
crawl-002
refinedweb
874
51.89
Hi! I have weird issue. I am creating react native app with Expo and Firebase. I had added support for BackHandler, it worked very well by the time. When I imported firebase to my project, BackHandler stopped work (closes app). I have detected that it’s caused by one import line: import * as firebase from "firebase"; (...
https://forums.expo.io/t/issues-between-react-native-app-and-firebase/11539/1
CC-MAIN-2018-39
refinedweb
113
79.97
I loved MS Paint. I thought I was going to be an online artist using it. But then I quickly found out its limitations (and my own). The spray can only let you have one color. I wanted 3 or more all mixed together for better blending. So that is the focus of my code kata today. I picked out three colors in the same spec...
http://www.glaciergeosciences.com/2018/09/sunday-funday-code-kata-ms-paint-program.html
CC-MAIN-2019-43
refinedweb
381
63.66
Using kivy to realize sound playback seems simple, but there are pits. It is also a summary of digging pits after reading a large number of Internet data. You can use his SoundLoader component to play audio. You can play sound in two lines. If you just run on the PC, just copy the following code PC playback from kivy.n...
https://programmer.group/python-kivy-app-development-and-playing-sound-music.html
CC-MAIN-2022-40
refinedweb
557
51.55
ColdFusion 10 - Looping Over Queries Using A For-In Loop In CFScript Yesterday, I campaigned against using ColdFusion 10's dynamic "query" attribute in the CFLoop tag. That said, I am really excited that CFScript now supports FOR-IN looping for queries. This creates complete uniformity in CFScript for looping over quer...
http://www.bennadel.com/blog/2367-coldfusion-10-looping-over-queries-using-a-for-in-loop-in-cfscript.htm
CC-MAIN-2015-18
refinedweb
1,205
61.46
15 April 2009 12:21 [Source: ICIS news] LONDON (ICIS news)--BASF is preparing short-time working for up to 3,000 employees at its Ludwigshafen, Germany, production hub as a response to weak demand, the chemicals major said on Wednesday. “Capacity utilisation rates at many plants have remained very low since the beginni...
http://www.icis.com/Articles/2009/04/15/9208091/BASF-to-cut-hours-for-up-to-3000-Ludwigshafen-staff-in.html
CC-MAIN-2015-22
refinedweb
322
51.82
by Jeffrey Kantor (jeff at nd.edu). The latest version of this notebook is available at. This example provides an introduction to the use of python for the simulation of a simple process modeled by a pair of ordinary differential equations. See SEMD textbook example 2.1 for more details on the process. Unlike Matlab, i...
http://nbviewer.jupyter.org/github/jckantor/CBE30338/blob/master/notebooks/Blending%20Tank%20Simulation.ipynb
CC-MAIN-2018-26
refinedweb
408
68.67
Hi, Attached is a patch to fix and reenable extended precision support for the in-kernel nwfpe floating point emulator on big-endian ARM platforms, and is a first step towards unfscking nwfpe for big-endian. As a reminder: nwfpe uses the FPA floating point format, which is a way of representing IEEE 754 single-precisio...
https://lists.debian.org/debian-arm/2005/11/msg00009.html
CC-MAIN-2018-05
refinedweb
1,504
57.57
Announcements November GameDev Challenge: Pong! 11/01/17 stormrunnerMembers Content count776 Joined Last visited Community Reputation720 Good About stormrunner - RankAdvanced Member Do you use WMP or Winamp? stormrunner replied to deathtrap's topic in GDNet LoungeWinAmp for audio, MPlayer for video. Minigames stormrunn...
https://www.gamedev.net/profile/64030-stormrunner/
CC-MAIN-2017-47
refinedweb
1,419
62.27
On 06/23, Sukadev Bhattiprolu wrote:>> Oleg Nesterov [oleg@redhat.com] wrote:> | This is mostly cleanup and optimization, but also fixes the bug.> |> | proc_flush_task() checks upid->nr == 1 to detect the case when> | a sub-namespace exits. However, this doesn't work in case when> | a multithreaded init execs and calls...
http://lkml.org/lkml/2010/6/24/153
CC-MAIN-2013-20
refinedweb
140
65.52
Provided by: allegro4-doc_4.4.2-4_all NAME ustrtod - Converts a string into a floating point number. Allegro game programming library. SYNOPSIS #include <allegro.h> double ustrtod(const char *s, char **endp); DESCRIPTION This function converts as many characters of `s' that look like a floating point number into one, a...
http://manpages.ubuntu.com/manpages/trusty/man3/ustrtod.3alleg4.html
CC-MAIN-2019-18
refinedweb
113
51.55
Tech Off Thread26 posts Forum Read Only This forum has been made read only by the site admins. No new threads or comments can be added. Is Visual Basic inferior to C#? Conversation locked This conversation has been locked by the site admins. No new comments can be made. Pagination Is Visual Basic inferior to C#? The re...
https://channel9.msdn.com/Forums/TechOff/253608-Is-Visual-Basic-inferior-to-C
CC-MAIN-2017-39
refinedweb
1,429
76.32
An installer for XFree86 4.2.0.1 on Mac OS X is now available. This release is a bug fix and compatibility update to version 4.2.0. All users of XFree86 on Darwin/Mac OS X should update to 4.2.0.1. You must install XFree86 4.2.0 before you apply this update. Separate installers are available for Mac OS X 10.1 and 10.2 ...
https://sourceforge.net/p/xonx/news/2002/08/xfree86-4201/
CC-MAIN-2017-51
refinedweb
138
71.21
September 2017 Volume 32 Number 9 [.NET. .png)): $ dotnet new console -o hello $ cd hello $ dotnet run Hello World!: $ cd .. $ dotnet new library -o logic $ cd logic The logic you want to encapsulate is the construction of a Hello World message, so change the contents of Class1.cs to the following code: namespace logic...
https://docs.microsoft.com/en-us/archive/msdn-magazine/2017/september/net-standard-demystifying-net-core-and-net-standard
CC-MAIN-2021-10
refinedweb
691
54.29
Subject: Re: [boost] BOOST_HAS_PRAGMA_ONCE From: Ion Gaztañaga (igaztanaga_at_[hidden]) Date: 2015-02-05 02:19:54 El 04/02/2015 a las 20:28, Stephen Kelly escribió: > Ion Gaztañaga wrote: > >> Yes, it should be a very tiny help.. except if config.hpp also uses >> pragma once ;-) >> > > You don't think it's, maybe, r...
https://lists.boost.org/Archives/boost/2015/02/219942.php
CC-MAIN-2021-39
refinedweb
141
69.48
New project wizard, from scratch. name the project include src directory The next part of the wizard asks me to select what technologies to use. In the subtree under Web Application I see only Struts and JSF and I don't see Web Services Client beneath Web Application The reason I know those options should be there, is ...
https://intellij-support.jetbrains.com/hc/en-us/community/posts/206945515-Can-t-select-WebServices-even-though-plugin-is-enabled
CC-MAIN-2020-34
refinedweb
199
73.98
Opened 8 years ago Closed 8 years ago #7693 closed (invalid) Different import paths can impact whether doctests are run or not. Description My directory structure looks like this: /appname/models.py /appname/utils/init.py (empty) /appname/utils/util1.py in util1.py, I do this: from appname.models import Class1, Class2 ...
https://code.djangoproject.com/ticket/7693
CC-MAIN-2016-36
refinedweb
299
60.61
Ryan Weaver on synergies in Drupal, Symfony2, and PHP. Not being the best is the best Ryan describes getting into an open source software in a way that describes the power of the community. Talking about the first time he saw a friend do scaffolding in Ruby on Rails, "I watched him do this command and thought 'That was...
https://www.acquia.com/de/resources/podcasts/acquia-podcast-126-ryan-weaver-synergies-drupal-symfony2-PHP
CC-MAIN-2015-32
refinedweb
833
68.7
SiteTree Forms and Fields¶ Ocasionally you may want to link some site entities (e.g. Polls, Articles) to certain sitetree items (as to categorize them). You can achieve it with the help of generic forms and fields shipped with SiteTree. TreeItemForm¶ You can inherit from that form to have a dropdown with tree items for...
http://django-sitetree.readthedocs.io/en/latest/forms.html
CC-MAIN-2017-30
refinedweb
213
66.44
Language design is hard. Posted to xml by Ehud Lamm on 5/10/04; 12:29:44 PM From the discussions:. One of the most commonly used mechanisms for composition in XML is embedding, with namespaces being used to distinguish one vocabulary from another in the composed document. The end result is documents which may contain a...
http://lambda-the-ultimate.org/classic/message12230.html
CC-MAIN-2019-18
refinedweb
573
61.77
Handling several PDO Database connections in Symfony2 through the Dependency Injection Container with PHP. Symfony framework is closely coupled to Doctrine and it’s very easy to use the ORM from our applications. But as I said before I prefer not to use it. By the other hand I have another problem. Due to my daily work...
http://gonzalo123.com/2013/01/07/handling-several-pdo-database-connections-in-symfony2-through-the-dependency-injection-container-with-php/
CC-MAIN-2014-41
refinedweb
1,549
58.58
Get the highlights in your inbox every week. Try Deno as an alternative to Node.js | Opensource.com Try Deno as an alternative to Node.js Deno is a secure runtime for JavaScript and TypeScript. opensource.com Subscribe now Deno is a simple, modern, and secure runtime for JavaScript and TypeScript. It uses the JavaScrip...
https://opensource.com/article/21/2/deno
CC-MAIN-2021-25
refinedweb
432
64.81
Scrappy is a scrapbook environment like we used to have in Smalltalk and VisualAge/Java environments. Why unit test it when you can scrap it? ;) Enjoy! -rg Scrappy is a scrapbook environment like we used to have in Smalltalk and VisualAge/Java environments. U?ytkownik "Rhett Guthrie" <rhett@bytecrafters.com> napisa? w ...
https://intellij-support.jetbrains.com/hc/en-us/community/posts/206142609--ANN-IdeaScrappy-1-0
CC-MAIN-2020-05
refinedweb
1,571
76.32
. At the time of this writing, the supported databases are SQLite (which comes with Python and thus web2py), PostgreSQL, MySQL, Oracle, MSSQL, FireBird, DB2, Informix, and Ingres and (partially) the Google App Engine (SQL and NoSQL). Experimentally we support more databases. Please check on the web2py web site and mail...
http://www.web2py.com/books/default/chapter/32/06
CC-MAIN-2016-40
refinedweb
5,053
60.95
The parent has to take care of its child. This simple idea has big consequences for a thread lifetime. The following program starts a thread, that displays its ID. // threadWithoutJoin.cpp#include <iostream> #include <thread> int main(){ std::thread t([]{std::cout << std::this_thread::get_id() << std::endl;}); } But th...
http://modernescpp.com/index.php/threads-lifetime
CC-MAIN-2017-34
refinedweb
731
68.87
I'm having some trouble with making a template for email do a specific if statement. Maybe what I'm doing isn't supported? {% if ticket.c_location == empty %} Please fill in your location on the web portal next time and don't send an email! The web portal is the preferred method to send in all tickets. {% endif %} You ...
https://community.spiceworks.com/topic/115709-template-if-statements
CC-MAIN-2020-50
refinedweb
133
84.47
Guinot All products are sold with 30-day satisfaction guarantee. During the period you can return the item in original packaging and full refund will be given. Here are some good reasons why choose us as your regular skin care suppliers: • All our products are sourced from licensed suppliers and are fresh. • We are tra...
http://www.ebay.com.au/itm/Guinot-Minceur-Chrono-Logic-Slimming-125ml/181318520227?hash=item2a376d0da3
CC-MAIN-2014-10
refinedweb
513
65.32
Runtime Xtemplate or drop-in templates? Runtime Xtemplate or drop-in templates? I? The gxt-legacy.jar has the 2.x style XTemplates, which allow them to be compiled from runtime strings, and to give up the ability to have them compiled. Of course, you'll need to use data models that can be introspected at runtime, so no...
http://www.sencha.com/forum/showthread.php?249456-Runtime-Xtemplate-or-drop-in-templates&s=55b51bf927e57ee0ee54077ff89d6704&p=917619
CC-MAIN-2014-52
refinedweb
1,288
54.63
backlight LED works backwards? Hello, I'm testing the arduino, trying to read input CH2, and consequently turn on backlight (pin 13), turn on LED attached to CH3, and update LCD. However the backlight seem to go on when CH3 is off and vice versa. here's the code: #include <UC1701.h> #include <Wire.h> #include <Indio.h>...
https://industruino.com/forum/help-1/question/backlight-led-works-backwards-59
CC-MAIN-2022-27
refinedweb
238
71.31
While moving from C++/MFC to C#/Windows Forms has been a very positive experience for me, it didn't quite live up to the expectation I had that I could send objects in all directions and never have to worry about deleting them when they are no longer required. The problem is, when you add an event handler to an event, ...
http://www.codeproject.com/KB/cs/weakeventhandlerfactory.aspx
crawl-002
refinedweb
2,211
58.52
Hello, I've just started using mod_python, I wrote my own handler and some modules. After a bit of work i saw what I believed was bad performance, and I started profiling. What I've found is this: ab -n 100 Trying to fetch non-existant file, that is, just apache: 623 req/sec) ab -n 100 It's only contents are "def handl...
http://www.modpython.org/pipermail/mod_python/2005-April/017825.html
crawl-002
refinedweb
205
66.64
requires at least Python 3.6 or higher. Download and Installation Install via pip Including OpenCV (recommended): pip install --upgrade scenedetect[opencv] Including Headless OpenCV (servers): pip install --upgrade scenedetect[opencv-headless] PySceneDetect is available via pip as the scenedetect package. Windows Buil...
http://scenedetect.com/en/latest/download/
CC-MAIN-2022-33
refinedweb
252
53.31
Java developers have quickly made Eclipse one of the most popular Java coding tools on Mac OS X. But although Eclipse is a comfortable tool to use every day once you know it, it is not easy to get started with. An earlier ADC article, "Eclipse and Mac OS X: A Natural Combination" provided an introduction to Eclipse; th...
http://developer.apple.com/tools/usingeclipse.html
crawl-002
refinedweb
3,308
66.23
Make bob, bob again! :) it means we want to remove this idea of core and extra packages and make everything a part of bob. To do so we need: - Make sure bob is only a meta package (both in PyPI and conda) with only optional dependencies. - Bob will (optionally) depend on all core and extra packages. There will be no co...
https://gitlab.idiap.ch/bob/bob/-/issues/249
CC-MAIN-2021-17
refinedweb
309
60.11
This article demonstrates how to connect to the Leap Motion controller and access basic tracking data. After reading this article and following along with your own basic program, you should have a solid foundation for beginning your own application development. First, a little background... The Leap Motion controller e...
https://developer-archive.leapmotion.com/documentation/python/devguide/Sample_Tutorial.html
CC-MAIN-2019-04
refinedweb
1,496
53.92
Hi, I'm new to c++ and programming all together and I really need help. So what I had to do was display a table showing the medals earned by several countries at a certain competition and their total medal count. Then I'm asked to write a function which returns the index of the array for the highest number found. This ...
https://www.daniweb.com/programming/software-development/threads/328399/find-largest-number-in-an-array
CC-MAIN-2018-43
refinedweb
383
55.92
Connecting with the ODBC Driver This chapter describes how to create an ODBC logical connection definition for the SQL Gateway, and use the Data Migration Wizard. See Using ODBC with InterSystems Software for complete information on how to use InterSystems ODBC. The following topics are discussed: Creating ODBC Connect...
https://docs.intersystems.com/irisforhealthlatest/csp/docbook/DocBook.UI.Page.cls?KEY=BSQG_ODBC
CC-MAIN-2021-10
refinedweb
1,712
52.8
This action might not be possible to undo. Are you sure you want to continue? ADA Guidelines for Infection Control Second Edition Authorised by FS Fryer, Federal President, Australian Dental Association Inc. Published by the Australian Dental Association Inc. PO Box 520, St Leonards NSW 1590 Australia Phone: +612 9906 ...
https://www.scribd.com/doc/141380648/infection-Control-Guidelines-2012
CC-MAIN-2017-34
refinedweb
26,314
50.23
Learn C the Hard Way (Zed A Shaw). The Gnu C Tutorial Hacking: The Art of Exploitation Today I stumbled across an excellent series of lectures by Jerry Cain. This link points at the third one, in which he describes using pointers to do a little swap function. I thought I'd have a go at coding it and came up with this. ...
https://lb.raspberrypi.org/forums/viewtopic.php?f=33&t=7461&p=92398
CC-MAIN-2020-16
refinedweb
234
77.77
Item 3 in the 2nd Edition of Effective Java explains three ways of implementing a singleton in Java, the last of which is “Enum as Singleton”. This uses an Enum with a single element as a simple and safe way to provide a singleton. It’s stated as being the best way to implement a singleton (at least, for Java 5 onwards...
https://closingbraces.net/2011/07/04/enum-as-singleton/
CC-MAIN-2018-34
refinedweb
1,018
60.04
Fields In Matlab Members In Csharp ISFIELD in Matlab Lets make a struct with the fields b and c, b has the subfields b1 and b2: >> A = []; >> A.b = []; >> A.b.b1 = 'b1'; >> A.b.b2 = 'b2'; >> A.c = 3.14; >> A A = b: [1x1 struct] c: 3.1400 >> A.b ans = b1: 'b1' b2: 'b2' Now we might want to know is there is a field in A ...
http://pererikstrandberg.se/blog/index.cgi?page=FieldsInMatlabMembersInCsharp
CC-MAIN-2017-39
refinedweb
340
69.48
Jun 22, 2012 05:53 PM|LINK This question is from a Best Practices point of view.? Jun 22, 2012 06:40 PM|LINK Hi, I would keep the logic out of the webform.cs because I think that's a 'view' - personally I prefer to collect the information there but don't process it there - pass it on - if possible to a purpose build dl...
http://forums.asp.net/p/1817339/5037239.aspx/1?Where+to+put+method+code+which+is+called+on+click+of+a+button+
CC-MAIN-2013-20
refinedweb
182
61.67
Hi to all, AVANTI 0.2.6 - FFmpeg/Avisynth GUI (June 2008 release) available. This version has the following changes: ..1.. Improved user tools for complex command line arguments. ..2.. Improved and enhanced the "advanced database manager". ..3.. Updated codecs/formats database for latest FFmpeg versions. ..4.. Adapted ...
http://forum.videohelp.com/threads/282223-AVANTI-FFmpeg-Avisynth-GUI-(support-thread)?p=1769403&viewfull=1
CC-MAIN-2015-22
refinedweb
1,932
74.08
Then you must also code this logic into your program. Your source shows no such attempt to address this, - the machine will do what you ask and follow what you told. Oh, sorry. I had the wrong code atttached. Here i try to sendCommand #include <SoftwareSerial.h> #include <Nextion.h> int relay1 = 13; int relay2 = 12; bo...
http://support.iteadstudio.com/support/discussions/topics/11000009551
CC-MAIN-2017-26
refinedweb
628
70.23
Language page crashes in only-installable mode Bug Description Binary package hint: ubiquity This is an oem install that included a preseed for showing only the installable languages on the oem page. I'm finding that if the apt cache hasn't been loaded before the page gets loaded, it will crash. The attached logs show ...
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/647792
CC-MAIN-2019-22
refinedweb
424
50.43
Run GNU/Linux? Be a real man and write your own OS. :) (OK, I read that the Cassiopeia E-11 has 8Mb of memory... probably already more than enough to run Linux. Running GNU/Linux is another matter though.):zort: man, that's pure evil. So, IOCCC 2006 and Bitwise 2007 are both over. This leaves the ICFP Contest. In other...
http://www.advogato.org/person/bi/diary.html?start=68
CC-MAIN-2013-48
refinedweb
1,380
73.98
Hey guys, I've been plugging away at this and keep running into compiler errors or the program simply not functioning as intended. I'm generating chains of numbers from file1 and comparing and checking them to file2. If the generated chain is within certain lengths then it's output to a file containing the newly genera...
http://forums.devshed.com/programming-42/trouble-comparing-elements-files-955445.html
CC-MAIN-2014-52
refinedweb
844
50.87
-- $Id: CHANGES,v 4.65 2021/11/26 21:07:21 tom Exp $ 2021/11/26 (4.7t) - enable lint-library feature by default, rather than only if a lint program was found (report by Michael Zucchi). - updated configure macros - update config.guess, config.sub 2021/03/03 (4.7s) - ignore preprocessor output with zero line-numbers. - ...
https://www.invisible-island.net/cproto/CHANGES.html
CC-MAIN-2022-21
refinedweb
3,797
51.24
Find Questions & Answers Can't find what you're looking for? Visit the Questions & Answers page! I am trying to integrate SAP with sfdc lightning connect and I am using () this url while configuring External data source. I got the below error - Error received from the external system: 403: /IWFND/MED/170No service foun...
https://answers.sap.com/questions/53564/sfdc-lightning-connect-with-sap.html
CC-MAIN-2018-13
refinedweb
130
68.67
Hey all, i'm having a bit of trouble with this - it's a program that should display the factorials of all numbers from 0 to k in the range 1-10. here's what i keep getting: Enter a number to see factorials for: 10 10! = 100 9! = 90 8! = 80 7! = 70 6! = 60 5! = 50 4! = 40 3! = 30 2! = 20 1! = 10 The factorial of 10 is 3...
https://www.daniweb.com/programming/software-development/threads/114750/factorial-help
CC-MAIN-2017-26
refinedweb
178
72.9
IEventCancelable Link to ieventcancelable This interface is extended by all Events that can be cancelled. That means you can cancel them using CrT or check if they have been canceled. Note that events that have been canceled before CrT receives them will not be checked by the handlers. Also, if you register multiple ha...
https://docs.blamejared.com/1.12/en/Vanilla/Events/Events/IEventCancelable
CC-MAIN-2022-27
refinedweb
122
67.86
Working in Python, how can a method owned by a metaclass (metamethod) be retrieved through a class that it instantiated? In the following scenario, it's easy – just use getattr with_metaclass class A(type): class A(type): """a metaclass""" def method(cls): m = "this is a metamethod of '%s'" print(m % cls.__name__) clas...
https://codedump.io/share/DMROlpR7AsFE/1/how-to-retrieve-a-metaclass-method
CC-MAIN-2017-51
refinedweb
677
69.55
On Tue, Feb 22, 2011 at 08:18:21PM +0100, Stefan Behnel wrote: > W.. I can strip them out afterwards, but it helps me figure out what I've broken if I shift too much around at the same time. I don't know enough about Python's trace module to know if I can turn on tracing only for functions defined in a single module or...
https://mail.python.org/pipermail/cython-devel/2011-February/000098.html
CC-MAIN-2014-10
refinedweb
331
74.69
I want to make a pretty simple game for the android and iPhone but I am not entirely sure where to start and what I need to know so could someone point me in the right direction? Thanks. Want to make a game for android and iPhone. Where do I start? #1 Members - Reputation: 101 Posted 22 February 2014 - 08:32 AM #2 Memb...
http://www.gamedev.net/topic/653691-want-to-make-a-game-for-android-and-iphone-where-do-i-start/
CC-MAIN-2014-42
refinedweb
1,612
61.67
Ok, This is driving me nuts, and searching google just leads me to dead ends so last resort to ask. I am try to create a file save system, but where the user can specify the name of the file. is this possible using ofstream? this wont work but an example of what I am trying to do So is there a way to do something like ...
http://cboard.cprogramming.com/windows-programming/80896-save-system.html
CC-MAIN-2015-35
refinedweb
101
82.75
Subject: Re: [PATCH] uts: Don't randomize "struct uts_namespace". To: Linus Torvalds <torva...@linux-foundation.org>, Ken'ichi Ohmichi <oomi...@mxs.nes.nec.co.jp>, Masaki Tachibana <mas-tachib...@vf.jp.nec.com>, Kazuhito Hagio <k-ha...@ab.jp.nec.com> Cc: Kees Cook <keesc...@chromium.org>, Linux Kernel Mailing List <lin...
https://www.mail-archive.com/kexec@lists.infradead.org/msg20301.html
CC-MAIN-2018-30
refinedweb
322
60.51
Manages a collection of source files and derived data (ASTs, indexes), and provides language-aware features such as code completion. More... #include <ClangdServer.h> Manages a collection of source files and derived data (ASTs, indexes), and provides language-aware features such as code completion. The primary client i...
https://clang.llvm.org/extra/doxygen/classclang_1_1clangd_1_1ClangdServer.html
CC-MAIN-2022-27
refinedweb
1,426
53.98
Old is 300 Thoughts on these Fabrixquare chelseas? This really is the fuccboi general huh. Looks nice. Asks have a few Chelseas that looks kinda nice. Will they just fall apart in a month if i use them for about 2km of walking per week. >>9463992 Fuck typo. I mean asos >>9463992 I bought some from Asos and they were si...
https://4archive.org/board/fa/thread/9463824/fuccboi-general
CC-MAIN-2017-51
refinedweb
471
83.76
As previously established, a union of the form union some_union { type_a member_a; type_b member_b; ... }; int strict_aliasing_example(int *i, float *f) { *i = 1; *f = 1.0; return (*i); } int strict_aliasing_example(int *i, float *f) { *i = 1; *f = 1.0; return (1); } *f *i float int int breaking_example(void) { union {...
https://codedump.io/share/kmizaz4u7DGk/1/is-the-strict-aliasing-rule-incorrectly-specified
CC-MAIN-2017-04
refinedweb
987
55.17
I am trying to find the midpoint between 2 vertices (vectors). It seems that mathutils used to have a function MidpointVecs, but now this does not exisr anymore? I use Blender 2.5 and higher. Richard Midpoint of 2 vectors Scripting in Blender with Python, and working on the API Moderators: jesterKing, stiv 4 posts • Pa...
https://www.blender.org/forum/viewtopic.php?t=25993&view=next
CC-MAIN-2016-18
refinedweb
130
78.89
Don't mind me much, but I was going through mark ups. Was there a rule about using the text in copy.txt as is, w/o changing the order? Many have break this rule, and the winner Candygirl is one of them. Also, some added content too, not just mark up. Sadly, Pikacsu81 did so. I think there was a rule about it too. Again...
https://www.sitepoint.com/community/t/spf-pure-html-css-comp-questions-and-discussions/80678
CC-MAIN-2015-48
refinedweb
2,196
72.26
8 years later, "BigInt has been shipped in Chrome and is underway in Node, Firefox, and Safari." BigInt: Arbitrary precision integers in JavaScript: BigInt is a new primitive that provides a way to represent whole numbers larger than 253, which is the largest number Javascript can reliably represent with the Number pri...
https://www.jwz.org/blog/2018/08/dark-rock-of-mothrir-unsealed-javascript-has-integers-now/
CC-MAIN-2021-10
refinedweb
1,851
59.03
I'll present my counterpoints to Tom and then shut up. If folks want the --package option, as long as the warnings are in place, I won't fight any more (just squirm a little). Tom wrote: > > First of all, this goes against JAX-RPC. > > This is an extension switch that in no way breaks JAX-RPC. By default we do > everyt...
http://mail-archives.apache.org/mod_mbox/axis-java-dev/200112.mbox/%3COF23FCEF60.C300CF0A-ON86256B18.0057D21A@raleigh.ibm.com%20%3E
CC-MAIN-2018-13
refinedweb
299
76.52