Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. I'm joining the dark side - they have Pi

I'm joining the dark side - they have Pi

Scheduled Pinned Locked Moved The Lounge
linuxhardwareiotquestion
23 Posts 12 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B BillWoodruff

    Given your hardware constraints, would a limited set of named colors be useful [^] Off-topic: It might interest you to explore Pantone (subtractive) colors: [^], [^]

    «One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali

    H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #21

    The way C++ works none of the colors are instantiated unless you use them. Strings ... that's not *as* true, so I'm wary of strings. Basically, until I can find a use case for having an actual string in the code for a color name, I'm going to avoid it. All of the X11 colors I declared are good because like I said, they are only instantiated in the final binary if they are used, and even then they are represented by a single machine word. The subtractive color models like CYMk? I can support those, I just have nothing that uses them yet so I haven't created a pixel with those channels. This library will support pretty much any color model, with the possible exception of color models that are dependent on spatial positioning.

    Real programmers use butterflies

    1 Reply Last reply
    0
    • H honey the codewitch

      Thanks for all that information. I got a starter kit that includes a case and a couple of fans. I have a powered USB hub. I'd bet you good money your USB power problems were from trying drive your pi off of the PC's USB power directly. I'll give that a go for a little while and see how it goes. I'd have loved to know about your issues with SSD before I went and bought half a terabyte of it. :laugh: I'll be hooking it into my main monitor and using a full size keyboard with it since it is being used as a development machine for reasons - that's why I bought it. It has 8GB. I'll back my SD up after every session. And in any case I use source control. Since this machine is purely to speed up my development of drivers for i2c and spi devices all I'm doing with it is coding.

      Real programmers use butterflies

      realJSOPR Offline
      realJSOPR Offline
      realJSOP
      wrote on last edited by
      #22

      honey the codewitch wrote:

      I'd bet you good money your USB power problems were from trying drive your pi off of the PC's USB power directly.

      I was actually talking about the physical connector, but before I switched over to POE, all of my Pi's were powered from a wall-wart.

      honey the codewitch wrote:

      I'd have loved to know about your issues with SSD before I went and bought half a terabyte of it.

      The SD card unreliability is kinda widely known, especially among Pi owners. BTW, ALWAYS do a controlled shutdown/power-off. Never just shut it off, especially if you're using a SD card to boot from. One more thing - if you do change to booting from a thumb drive, it's a good idea to keep an unformatted 1gb (or smaller) SD card in the SD slot. It speeds booting from the thmb drive, and keeps the Pi from periodically polling the SD slot to see if a card is in it.

      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
      -----
      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
      -----
      When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

      H 1 Reply Last reply
      0
      • realJSOPR realJSOP

        honey the codewitch wrote:

        I'd bet you good money your USB power problems were from trying drive your pi off of the PC's USB power directly.

        I was actually talking about the physical connector, but before I switched over to POE, all of my Pi's were powered from a wall-wart.

        honey the codewitch wrote:

        I'd have loved to know about your issues with SSD before I went and bought half a terabyte of it.

        The SD card unreliability is kinda widely known, especially among Pi owners. BTW, ALWAYS do a controlled shutdown/power-off. Never just shut it off, especially if you're using a SD card to boot from. One more thing - if you do change to booting from a thumb drive, it's a good idea to keep an unformatted 1gb (or smaller) SD card in the SD slot. It speeds booting from the thmb drive, and keeps the Pi from periodically polling the SD slot to see if a card is in it.

        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
        -----
        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
        -----
        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

        H Offline
        H Offline
        honey the codewitch
        wrote on last edited by
        #23

        Thanks. The SD i ordered was sold out anyway, So i didn't end up getting it. I'm glad. I'll end up ordering a thumb drive.

        Real programmers use butterflies

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups