a technical notebook
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
4.6 KiB

9 years ago
9 years ago
9 years ago
  1. Monday, February 2
  2. ===================
  3. kernel-o-matic & pi finder
  4. --------------------------
  5. Published Friday:
  6. - https://github.com/adafruit/Adafruit-Pi-Kernel-o-Matic
  7. - https://learn.adafruit.com/raspberry-pi-kernel-o-matic
  8. Published a week or so before:
  9. - https://github.com/adafruit/Adafruit-Pi-Finder
  10. - https://blog.adafruit.com/2015/01/23/help-us-test-our-new-raspberry-pi-bootstrap-piday-raspberrypi/
  11. These have been a lot of my working time these last couple weeks, an
  12. overlapping set of projects aimed at making the Pi (and eventually other
  13. single-board computers) more usable and Adafruit's hardware and tutorials both
  14. more accessible. This has been frustrating and rewarding by turns. I'm trying
  15. to reduce the complexity of a domain I just barely understand, in a lot of
  16. ways, which may be a good summary of software development in general.
  17. [Vagrant](https://www.vagrantup.com/) is something I should have paid attention
  18. to sooner. The interfaces to virtualization are finally starting to overcome
  19. my innate laziness on the whole question.
  20. I just booted a Windows XP box for some reason. It made that noise. You know
  21. the one.
  22. raspberry pi 2
  23. --------------
  24. Announced today:
  25. - http://www.raspberrypi.org/products/raspberry-pi-2-model-b/
  26. - https://blog.adafruit.com/2015/02/02/raspberry-pi-2-model-b-armv7-with-1g-ram-is-here-benchmarks-and-more-raspberry_pi-raspberryp/
  27. - http://hackaday.com/2015/02/02/introducing-the-raspberry-pi-2/
  28. Expect this to prove interesting. I've been having a lot of conversations
  29. about the relative merits of small computing systems, and while this can hardly
  30. be said to address all the complaints you might have about the Pi, boosting
  31. processor and RAM will do a lot for practical usability.
  32. telling composer to ignore php version requirements
  33. ---------------------------------------------------
  34. Using [Composer](https://getcomposer.org/) to set up a little project, I run
  35. into the problem that the locally-installed PHP is a bit behind the times.
  36. brennen@exuberance 0:09:32 /home/brennen/code/project $ ./composer.phar install
  37. Loading composer repositories with package information
  38. Installing dependencies (including require-dev)
  39. Your requirements could not be resolved to an installable set of packages.
  40. Problem 1
  41. - sparkfun/sparklib 1.1.9 requires php >=5.5.17 -> no matching package found.
  42. - sparkfun/sparklib 1.1.8 requires php >=5.5.17 -> no matching package found.
  43. - sparkfun/sparklib 1.1.7 requires php >=5.5.17 -> no matching package found.
  44. - sparkfun/sparklib 1.1.6 requires php >=5.5.17 -> no matching package found.
  45. - sparkfun/sparklib 1.1.5 requires php >=5.5.17 -> no matching package found.
  46. - sparkfun/sparklib 1.1.4 requires php >=5.5.17 -> no matching package found.
  47. - sparkfun/sparklib 1.1.3 requires php >=5.5.17 -> no matching package found.
  48. - sparkfun/sparklib 1.1.2 requires php >=5.5.17 -> no matching package found.
  49. - sparkfun/sparklib 1.1.11 requires php >=5.5.17 -> no matching package found.
  50. - sparkfun/sparklib 1.1.10 requires php >=5.5.17 -> no matching package found.
  51. - sparkfun/sparklib 1.1.1 requires php >=5.5.17 -> no matching package found.
  52. - sparkfun/sparklib 1.1.0 requires php >=5.5.17 -> no matching package found.
  53. - Installation request for sparkfun/sparklib ~1.1 -> satisfiable by sparkfun/sparklib[1.1.0, 1.1.1, 1.1.10, 1.1.11, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.1.8, 1.1.9].
  54. Potential causes:
  55. - A typo in the package name
  56. - The package is not available in a stable-enough version according to your minimum-stability setting
  57. see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
  58. Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
  59. Well, ok. I wrote a lot of that code, and I'm pretty sure nothing I want out
  60. of it will break under a slightly stale PHP. I check `./composer.phar help install`,
  61. and sure enough, there's an option to ignore this requirement:
  62. brennen@exuberance 0:13:21 /home/brennen/code/project $ ./composer.phar install --ignore-platform-reqs
  63. Loading composer repositories with package information
  64. Installing dependencies (including require-dev)
  65. - Installing sparkfun/sparklib (1.1.11)
  66. Downloading: 100%
  67. Writing lock file
  68. Generating autoload files
  69. I never used to quite get the "install an executable utility script in the root
  70. directory of your project" thing, but the whole paradigm is growing on me a little
  71. as my projects accumulate little Makefiles and shell scripts to render HTML,
  72. publish revisions, or deploy packages.