sourceforge

Installing PHP extensions on shared hosting

匿名 (未验证) 提交于 2019-12-03 03:06:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I need to enable the mcrypt functions on my website, except I'm on a shared host (running linux) and obviously don't have access to the php.ini file. There does seem to be options for installing PEAR modules but a search told me mcrypt wasn't available. Is there any way I can do this, short of begging technical support to help me? Update: Looking around a bit more, it looks like I might be able to use the dl() function to dynamically load a library at run time. Since I'm only using the mcrypt functions in one spot, I could probably get away

can't install opencv with cocoapods, Could not resolve host: hivelocity.dl.sourceforge.net

匿名 (未验证) 提交于 2019-12-03 03:05:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Last login: Tue Jun 23 18:31:21 on ttys000 Peters-MacBook-Pro:~ WaTT$ cd Downloads/Starter/ Peters-MacBook-Pro:Starter WaTT$ pod install Analyzing dependencies Downloading dependencies Installing OpenCV (2.4.10) [!] Error installing OpenCV [!] /usr/bin/curl -f -L -o /var/folders/md/mjx0zhrx3ks3ybfhj7dxjksh0000gn/T/d20150623-3952-1mkdgjs/file.zip http://hivelocity.dl.sourceforge.net/project/opencvlibrary/opencv-ios/2.4.10/opencv2.framework.zip --create-dirs % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total

JPA (Hibernate) Native Query for Prepared Statement SLOW

匿名 (未验证) 提交于 2019-12-03 02:52:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Having strange performance issue using Hibernate 3.3.2GA behind JPA (and the rest of the Hibernate packages included in JBoss 5.) I'm using Native Query, and assembling SQL into a prepared statement. EntityManager em = getEntityManager(MY_DS); final Query query = em.createNativeQuery(fullSql, entity.getClass()); The SQL has a lot of joins, but is actually very basic, with a single parameter. Like: SELECT field1, field2, field3 FROM entity left join entity2 on... left join entity3 on WHERE stringId like ? and the query runs in under a second

Building Mesa for windows 7. Mesa 9.1

匿名 (未验证) 提交于 2019-12-03 02:36:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I went through all the steps on the compiling / installing page on Mesa's site, and read the FAQ. The final command that you send to scons for compilation throws errors within python scripts. This is my output. What am I doing wrong? Also if anyone has compiled dll's for mesa using up to date mesa and mingw, or VS2012, then please share! Here is my output, I haven't programmed python in a long time but it appears a map/dictionary doesn't contain the key/value pair. C:\Downloads\MesaLib-9.1.5\Mesa-9.1.5>scons platform=windows toolchain

java.lang.OutOfMemoryError in Java

匿名 (未验证) 提交于 2019-12-03 02:28:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I want to login to ORKUT through a java progrram without involving IE or Firefox, I am using HTMLUnit for this in the following manner: import com . gargoylesoftware . htmlunit . WebClient ; import com . gargoylesoftware . htmlunit . html . HtmlPage ; import com . gargoylesoftware . htmlunit . html . HtmlPasswordInput ; import com . gargoylesoftware . htmlunit . html . HtmlTextInput ; import com . gargoylesoftware . htmlunit . html . HtmlSubmitInput ; public class HtmlUnit { public void submittingForm () throws Exception { final

Trouble installing Cutycapt on CentOS [closed]

匿名 (未验证) 提交于 2019-12-03 02:27:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm currently trying to install CutyCapt on my CentOS VPS. I need this for displaying screenshots of websites in a catalogue. Regrettably there's only a Debian/Ubuntu installation guide available. It must be said, I'm no expert at Linux or command lines, but I still decided to give the installation a go... So far I've done the following with success: yum install Xvfb yum install xorg-x11-fonts* yum install subversion libqt4-webkit libqt4-dev However, when trying to get CutyCapt from the SourceForge repository: yum install https://cutycapt

How to install win32com module in a virtualenv?

匿名 (未验证) 提交于 2019-12-03 02:05:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have installed both virtualenv and pywin32 on my Windows 7 64-bit laptop, and each of them seems to work, but not with each other. More specifically, if a virtualenv is active, then running import win32com.client in a python interactive shell fails with No module named win32com.client . The same expression succeeds, however, if no virtualenv is active. When I try to install pywin32 with pip (which is how I normally install modules when a virtualenv is active), I get the error: Could not find any donwloads that satisfy the requirement

Where is PyGTK for Mac OS X?

匿名 (未验证) 提交于 2019-12-03 01:58:03
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is there a binary out there for the current mac os x, python for PyGTK? I work with multiple desktop environments (mac, windows, gnome) and really consider python's lack of cross platform GUI's a problem. Does anyone know where I can find a built version of PyGTK and GTK for Mac? I cant clone the git repository, it keeps timing out. 回答1: I don't use macports but it seems that jhbuild works for me. Below is the steps that I've done. download gtk-osx-build-setup.sh from: https://raw.github.com/jralls/gtk-osx-build/master/gtk-osx-build-setup.sh

cobertura-maven-plugin with Java 8

匿名 (未验证) 提交于 2019-12-03 01:38:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Is it just me or the cobertura-maven-plugin doesn't work with java 8? when it runs I get [ INFO ] --- cobertura - maven - plugin : 2.6 : instrument ( default ) @ provider - impl --- [ INFO ] Cobertura 2.0 . 3 - GNU GPL License ( NO WARRANTY ) - See COPYRIGHT file [ cobertura ] WARN [ main ] net . sourceforge . cobertura . instrument . CoberturaInstrumenter - Unable to instrument file / var / lib / jenkins / workspace / BranchBuilder / implementations / provider - impl / target / generated - classes / cobertura / com / foo / impl /

Java CSV Parser Comparisons [closed]

匿名 (未验证) 提交于 2019-12-03 01:13:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I've been trying to compare CSV parser libraries for my Java application. My post will aim to capture most of the popular ones talked about. The popular ones I looked into are: OpenCSV ( http://opencsv.sourceforge.net/ ) OpenCSV forked ( https://code.google.com/p/opencsv/ ) SuperCSV ( http://supercsv.sourceforge.net/ ) JSefa ( http://sourceforge.net/projects/jsefa ) Apache Commons CSV ( http://commons.apache.org/proper/commons-csv/index.html ) OpenCSV Reviewing the different Stackoverflow votes from other posts, OpenCSV seems to be