• @ccc, the hotel app idea is dead. My friend that I wrote the Excel/VBA version for is not in the hotel business anymore. We are Actualling sharing a nice big house together now in Pattaya. A Danish guy, we have been friends for many years. It's a little bit like the old show the odd couple, us to living together, but we still have fun :)

    So no real push for me to do booking thing any more. But I still would like to make a pretty good calendar picker( I honestly hate the Apple DateTime Picker). I have made some before, but I should be able to make something better now. At least I hope so. The other thing I will get back to is my voting app. I always go wrong, as I try to make frameworks instead of just getting on and coding something with brute force just to get it done. Pretty or not. It's funny I should have those problems at this age. I didn't have it when I was younger. I was very aware and sensitive to commercial realities, get it done and out the door! I guess without that need, it changes you.

    Hmmm, just after announcing I should be better. I need to ask something embarrassing. I looked at this last night, for some reason I could not get my head around it.

    Below in the generator you modified, I have added x in the return tuple. I can't figure out how to get x to just be a linear counter ie. 0 to (rows * cols)-1.
    I have looked at it too long so I have decided to ask....My feeling it should be something simple that can be done in place and should not be apart of the comp loops....
    just adding x doesn't make much sense as it appears below, but makes more sense if you are creating objects in the generator rather than a tuple.
    Any help appreciated.

    return ((w * j, h * i, w, h, x) for i in range(rows) for j in range(cols))
  • @Phuket2 I am totally fine with ideas, improvements etc. If you feel like it I am happy for you to submit pull requests on GitHub.

    Notes against a snippet sounds like a good idea. I am currently working on tags but I think I will push that back I might restructure it first.
    Origin sounds good but I am thinking instead of just origin give the option to put a dictionary of values against so you can have other meta data about the snippet. This dictionary though would be added via a ui though so the user didn't know it was a dictionary.The ordering thing is a good idea as well not sure how I would track the count yet but I'll have a think about it.

    I did look at SqlAlchemy but I decided I knew how to write SQL and at the time I didn't particularly feel like learning it but I might take a second look at it before I move ahead on this a bit more.

Internal error.

Oops! Looks like something went wrong!