Jump to content

Philip

Staff Alumni
  • Posts

    4,665
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by Philip

  1. Wikipedia's explanation is actually pretty good. In short, it isn't random and uses an algorithm to pick from a pre-defined list.
  2. Yeah, I'd store the original. Possibly shrink it down some (you likely won't need 5000x3000 px picture, even if cropping.) Diskspace is cheap these days
  3. You can continue to use Google chart's inforgraphics for a couple more years. Otherwise, you can look into php libs like this one
  4. Most, if not all, will be fixed with the forum upgrade + new skin
  5. You should just enter in http://forums.phpfreaks.com and it will work. You can name it whatever you want, as its pretty much just a label for you.
  6. You can thank spam for this. You need 10 posts in order to edit any parts of your profile. Since I know you're not, I've bumped you up to regular members so you should have access.
  7. Can you elaborate on this? I'm guessing you're talking about the forum home's right side? We have the update available, however we're holding off until they fix a few more things. The latest patch foobar'd the editor and that is a huge part of the forums for us, so we're waiting until it is fixed so you guys have a better experience. However, this will be applied once that is done. There will be an option to filter by solved / not solved within the forum threads with the forum update. Yeah, once we migrate to the new skin this should be fixed. I agree, as of now it's not the prettiest.
  8. Indeed! And that should be going live soon I guess nobody else has any wants for the site... must mean we are doing something right!
  9. Google Analytics or if you prefer it on your own server, Piwik
  10. The PHP Freaks team would like to wish everyone a happy New Years, and welcome in 2013 with a bang! With this new year brings many changes to the main site & forums. We have a lot in the works: A new main site, completely redesigned from the ground up. An updated forum skin to match the new main site (integrated) A premium membership, with a job board, private forums and no ads New articles, tutorials and more! We'd love to get some input from you guys on what you'd like to see change around here. Have a great idea or like something from another site that you really like? Suggest it and help make 2013 a great year for PHP Freaks!
  11. You can also choose from this handy list
  12. I won't disagree with you on ArrayObject / Exception, those should be auto-imported IMO. Wildcard support could be added, but I likely would never use it.
  13. From a SO comment. In the event you do have a conflict, you still have to list some of them out: import java.sql.*; import java.util.*; import java.sql.Date; More: http://javadude.com/...mandisevil.html
  14. HoF - I think you have a lot of drive and want to see new features related to this. Why not contribute to the core of PHP and add in / propose some of these features yourself?
  15. Philip

    Christmas

    All I want for Christmas is a hippopotamus...
  16. The guys over at JetBrains make some pretty great IDEs... and if you haven't already seen, they are having an end of the world save. All personal licenses are 75%. http://www.jetbrains.com/specials/index.jsp
  17. It looks like as of now, we only have the option to make everyone use 24hr time, and not give you the option. We'll pass along the suggestion to the forum software guys though
  18. I'm bumping this to see if there are any other additions.
  19. You can put a server in pretty much any case (that is big enough / with correct motherboard standoff holes) with any fans technically. And if you're wanting to stay rack mounted, just get a larger case (e.g. 2-4U) and put larger but slower fans in there.
  20. I'd imagine it would be so you can focus on one area. As another example, I build an airport, and you build the attractions. We'd get a split of the tourist $$.
  21. That is indeed a templating engine / system.
  22. It's done automatically by Jenkins, unfortunately. The thing that baffles me is the other directories are fine, and it is indeed created on the server.
  23. Update! http://www.simcity.com/en_US/blog/article/gameplay-strategy-video-number-2 The multiplayer / network play looks pretty sweet.
  24. Can anybody spot why the build is failing - it claims the directory doesn't exist but it is indeed being created by Jenkins... <?xml version="1.0" encoding="UTF-8"?> <project name="${projectName}" basedir="." default="build:main"> <!-- Properties --> <property name="dir.app" value="${project.basedir}/app" /> <property name="dir.src" value="${project.basedir}/src" /> <property name="dir.build" value="${project.basedir}/app/build" /> <property name="dir.docs" value="${dir.build}/docs" /> <property name="dir.docs.phpdoc2" value="${dir.docs}/phpdoc2" /> <property name="dir.docs.phploc" value="${dir.docs}/phploc" /> <property name="dir.reports" value="${dir.build}/logs" /> <property name="dir.reports.pdepend" value="${dir.reports}/pdepend" /> <property name="dir.reports.coverage" value="${dir.reports}/coverage" /> <property name="dir.api" value="${dir.build}/api" /> <!-- Filesets --> <fileset id="sourcecode" dir="${dir.src}"> <include name="**/*.php" /> </fileset> <!-- Default target --> <target name="build:main" depends="build:clean, build:prepare, build:check, build:test, build:doc" description="Run all test and build everything" /> <!-- Doc target --> <target name="build:doc" depends="build:prepare, doc:phpdoc2, doc:phploc" description="Generates app API documentation." /> <!-- Check target --> <target name="build:check" depends="check:cs, check:md, check:cpd, check:depend" description="Analyzes app code." /> <!-- Test target --> <target name="build:test" depends="test:unit" description="Executes all tests.." /> <!-- Project build clean --> <target name="build:clean" description="Clean up build directories."> <echo msg="Cleaning build directories ..." /> <delete dir="${dir.build}" verbose="true" /> </target> <!-- Project build prepare --> <target name="build:prepare" description="Create build directories."> <echo msg="Creating build directories ..." /> <mkdir dir="${dir.build}" /> <mkdir dir="${dir.docs}" /> <mkdir dir="${dir.docs.phpdoc2}" /> <mkdir dir="${dir.reports}" /> <mkdir dir="${dir.reports.coverage}" /> <mkdir dir="${dir.reports.pdepend}" /> <mkdir dir="${dir.api}" /> </target> <!-- PHPDOC API documentation target --> <target name="doc:phpdoc2" description="Generate API documentation."> <echo msg="Generating API documentation with PHPDoc..." /> <phpdoc2 title="${phing.project.name} :: API Documentation" destdir="${dir.docs.phpdoc2}"> <fileset refid="sourcecode" /> </phpdoc2> </target> <!-- PSR-1 code sniffer --> <target name="check:cs" description="Checks coding standard."> <echo msg="Checking coding standard ..." /> <phpcodesniffer standard="PSR1" showSniffs="true" showWarnings="true"> <fileset refid="sourcecode" /> <formatter type="checkstyle" outfile="${dir.reports}/checkstyle.xml" /> </phpcodesniffer> </target> <!-- copy/paste detector --> <target name="check:cpd" description="Checks similar code blocks."> <echo msg="Checking similar code blocks ..." /> <phpcpd> <fileset refid="sourcecode" /> <formatter type="pmd" outfile="${dir.reports}/pmd-cpd.xml" /> </phpcpd> </target> <!-- Mess detector --> <target name="check:md" description="Generate code metrics."> <echo msg="Generating code metrics ..." /> <phpmd rulesets="codesize,unusedcode"> <fileset refid="sourcecode" /> <formatter type="xml" outfile="${dir.reports}/pmd.xml" /> </phpmd> </target> <!-- Code dependency --> <target name="check:depend" description="Checks coupling and dependency."> <echo msg="Checking coupling and dependency ..." /> <phpdepend> <fileset refid="sourcecode" /> <logger type="jdepend-xml" outfile="${dir.reports.pdepend}/jdepend.xml" /> <logger type="jdepend-chart" outfile="${dir.reports.pdepend}/dependencies.svg" /> <logger type="overview-pyramid" outfile="${dir.reports.pdepend}/overview-pyramid.svg" /> </phpdepend> </target> <!-- Lines of Code --> <target name="doc:phploc" description="Measures and logs the size of the project" hidden="true"> <tstamp> <format property="check.date.time" pattern="%Y%m%d-%H%M%S" locale="en_US"/> </tstamp> <phploc reportType="csv" reportName="${check.date.time}-report" reportDirectory="phploc-reports"> <fileset dir="."> <include name="**/*.php" /> <include name="*.php" /> </fileset> </phploc> </target> <!-- Unit tests --> <target name="test:unit" description="Executes unit tests."> <echo msg="Running unit tests ..." /> <exec command="phpunit --log-junit ${dir.app}/phpunit.xml --coverage-clover ${dir.reports.coverage}/clover.xml --coverage-html ${dir.reports.coverage}/ -c ${dir.app}"/> </target> </project> Started by GitHub push by Building in workspace /var/lib/jenkins/jobs/Main Site - On Commit/workspace Checkout:workspace / /var/lib/jenkins/jobs/Main Site - On Commit/workspace - hudson.remoting.LocalChannel@58b8dfdf Using strategy: Default Last Built Revision: Revision 64d886f3addfa67c2b67e84b5d5e5a0fa6e20086 (origin/development) Fetching changes from 1 remote Git repository Fetching upstream changes from https://github.com/PHPFreaks/site.git Seen branch in repository origin/HEAD Seen branch in repository origin/development Seen branch in repository origin/master Seen branch in repository origin/premiso Commencing build of Revision ef2183149b7c64cb77b81c0ffe23f73951f74b2f (origin/development) Checking out Revision ef2183149b7c64cb77b81c0ffe23f73951f74b2f (origin/development) looking for '/var/lib/jenkins/jobs/Main Site - On Commit/workspace/build.xml' ... use '/var/lib/jenkins/jobs/Main Site - On Commit/workspace' as a working directory. [workspace] $ phing -buildfile "/var/lib/jenkins/jobs/Main Site - On Commit/workspace/build.xml" -logger phing.listener.DefaultLogger Buildfile: /var/lib/jenkins/jobs/Main Site - On Commit/workspace/build.xml [...] ${projectName} > build:prepare: [echo] Creating build directories ... [mkdir] Created dir: /var/lib/jenkins/jobs/Main Site - On Commit/workspace/app/build [mkdir] Created dir: /var/lib/jenkins/jobs/Main Site - On Commit/workspace/app/build/docs [mkdir] Created dir: /var/lib/jenkins/jobs/Main Site - On Commit/workspace/app/build/docs/phpdoc2 [mkdir] Created dir: /var/lib/jenkins/jobs/Main Site - On Commit/workspace/app/build/logs [mkdir] Created dir: /var/lib/jenkins/jobs/Main Site - On Commit/workspace/app/build/logs/coverage [mkdir] Created dir: /var/lib/jenkins/jobs/Main Site - On Commit/workspace/app/build/logs/pdepend [mkdir] Created dir: /var/lib/jenkins/jobs/Main Site - On Commit/workspace/app/build/api [..] BUILD FINISHED Total time: 9.6187 seconds [CHECKSTYLE] Collecting checkstyle analysis files... [CHECKSTYLE] Finding all files that match the pattern app/build/logs/checkstyle.xml [CHECKSTYLE] Parsing 1 files in /var/lib/jenkins/jobs/Main Site - On Commit/workspace [CHECKSTYLE] Successfully parsed file /var/lib/jenkins/jobs/Main Site - On Commit/workspace/app/build/logs/checkstyle.xml of module with 0 warnings. [PMD] Collecting PMD analysis files... [PMD] Finding all files that match the pattern app/build/logs/pmd.xml [PMD] Parsing 1 files in /var/lib/jenkins/jobs/Main Site - On Commit/workspace [PMD] Successfully parsed file /var/lib/jenkins/jobs/Main Site - On Commit/workspace/app/build/logs/pmd.xml of module with 5 warnings. [DRY] Collecting duplicate code analysis files... [DRY] Finding all files that match the pattern app/build/logs/pmd-cpd.xml [DRY] Parsing 1 files in /var/lib/jenkins/jobs/Main Site - On Commit/workspace [DRY] Successfully parsed file /var/lib/jenkins/jobs/Main Site - On Commit/workspace/app/build/logs/pmd-cpd.xml of module with 2 warnings. Recording plot data [htmlpublisher] Archiving HTML reports... [htmlpublisher] Archiving at BUILD level /var/lib/jenkins/jobs/Main Site - On Commit/workspace/build/api to /var/lib/jenkins/jobs/Main Site - On Commit/builds/2012-12-12_00-30-36/htmlreports/API_Documentation ERROR: Specified HTML directory '/var/lib/jenkins/jobs/Main Site - On Commit/workspace/build/api' does not exist. Build step 'Publish HTML reports' changed build result to FAILURE [JDepend] JDepend plugin is ready [JDepend] Couldn't generate JDepend file at 'app/build/logs/jdepend.xml'java.io.FileNotFoundException: /var/lib/jenkins/jobs/Main Site - On Commit/workspace/app/build/logs/jdepend.xml (No such file or directory) IRC notifier plugin: Sending notification to: #spam IRC notifier plugin: Notifying suspects IRC notifier plugin: Sending notification to suspect: MisterPhilip Finished: FAILURE
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.