« first day (1392 days earlier)      last day (2388 days later) » 

1:04 AM
https://github.com/red/red/pull/904
GitHub
Red Pull Req—FIX: issue #902 (Access violation on PARSE of URL!)
qtxie
1408734183
 
 
2 hours later…
3:19 AM
@HostileFork Most scripts of mine dated from somewhere in mid-2013 forward use 'Rebol'. Capitalisation of header values is something I've tended to do latterly—at some point it started to look more natural to me. Possibly it was at the same time—the initial cap on 'Rebol' made the lowercase header values look weird...
 
3:54 AM
I was hoping someone would have some input about the GPIO dialect I wrote in the most recent ODROID Magazine. I always like to hear suggestions.
 
 
9 hours later…
12:49 PM
@Respectech Well the article is published, making suggestions would just make you second guess yourself :-)
It says "init .1 .01 P05" is a PWM output but doesn't say init pwm like the other example, I don't know that degrees of freedom like that are useful.
You aren't using a lot of types; I would think that #5 would be better than P05 in terms of calling out "hey this is a pin, and not a variable". (Hopefully the dialect supports variables instead of just literals.)
It drifts between having operations before and after the pin; I guess I prefer regularity and would want the operation before. And the operation should have verbishness. [#1 #7 #8] off vs. disable [#1 #7 #8].
I don't know what deinit vs. off is for; why two commands?
(what resource is being hogged during an OFF that needs separate freeing?)
 
 
1 hour later…
2:31 PM
Welcome to the Rebol and Red room. See our FAQ.
 
3:27 PM
@Respectech You can tell Maxim that I don't "hate" C. What I do tell people is that using a C++ compiler does not automatically mean your code will be bigger or less optimal. In fact, when I built Rebol as C++ it got smaller; the language invariants mean the compiler can make more assumptions.
 
 
1 hour later…
4:33 PM
@HostileFork I decided to leave off the 'pwm from the 'init if 'pwm was already specified as the method from a previous command. I went back and forth on whether or not to allow that.
@HostileFork I never thought of using issue!s to specify pins. That's a great idea!
@HostileFork When initializing and deinitializing pins, the specifications about the init come before the pin. Otherwise, operations on the pin come after the pin. I thought that made logical sense, but maybe not.
@HostileFork 'deinit deallocates system resources and allows the pin to be reinitialized. For instance, if you wanted to switch a pin from PWM to standard IO, you would 'deinit the pin and then 'init the pin as the new type. Initializing and deinitializing pins are required by the system software that drives the hardware.
@HostileFork Passed on your message to Maxim.
@HostileFork - Did you happen to notice the "Meet an ODROIDian" article in the August issue? ;-)
 
I want to do gpio for Red, once IO is available. I found this article interesting - ppl mostly use sysfs, but it is kind of slow, or dev/mem, but you need to do some device tree tweaking, to own the pins, or the system might rewrite the states - chiragnagpal.com/examples.html
So your driver seems to be using even different aproach?
Here's PyBBIO reference - github.com/alexanderhiam/PyBBIO
 
@Respectech Now the Odroidians are all used up? ;-)
 
4:49 PM
@Respectech I noticed there was a section on it in the index, but the PDF download was rather slow...I sat and waited until it got to the part of the article with your dialect. To be honest I didn't read any of it until you specifically pinged to ask.
I think it is a by-product of our information overload society that one kind of does have to specifically ask people to review things; and we make our decisions on where our attention goes based on others giving us that consideration (you watching my cafe flyers video, for instance)
Generally, asking for review prior to publication has more effect, as I noted.
 
@iArnold Yup. That's all of us. ;-)
@pekr My driver is using the approach in Linux that everything is part of the filesystem. Unfortunately, it isn't the fastest approach, but it suffices for what I want to accomplish.
 
@Respectech I had a Commodore 64 before you did! :-P
 
@HostileFork I'll try to get my articles done well enough in advance that I can ask for review. :-)
@HostileFork Ah, but did you have a C64 after me? Because I still have one set up and operational at Respectech. :-)
 
looking into PyBBIO - they advanced over the time. But all those device tree overlays etc. are beyond my capabilities. So - is you driver safe? I mean - does not it use interfacing, which could be interrupted by system?
 
I'm a purely virtual being, simulations only.
Glad no one cut me with a knife at the conference, or my cover would be blown.
 
4:54 PM
@rgchris Update as asked :) pastebin.com/PVhnDaBE is my current code, still needs to get a fancy Github project etc.
 
My C64 had its last day of glory at Burning Man in 2000...I'd written a small program such that it would play different noise patterns based on which direction you pushed the joystick. But then I hid it underneath a table, hooked to a generator, and threaded the controller through a hole in the table on a Sega Master System.
Using a hidden transmitter and receiver, I played a video game character that would respond to the movements people who stopped to pick up the controller would do
So I learned the sounds and interpreted them. 2 mile radius of "control"
I'd kick and punch if people hit the fire button, but the only people I'd actually hit would be the person doing the controlling if they made me face them. :-)
I gave the commodore away after that.
I had a C128 and a 128D, too. I don't remember what I did with them.
I had kind of a "closet fire sale" at some point
But it was my original old beige C64 that went to the desert
 
@pekr If there is some other process accessing the GPIO pins, they could potentially interrupt my system. I'm not sure if after you initialize the pins if the pins are protected from changes until a 'deinit or not. I haven't actually tested that.
@HostileFork The C64 I have now was donated. The 1702 monitor is mine, though. I had to buy a joystick as I have no idea where my old joysticks went.
 
5:12 PM
I had a 1084S. Stereo!
Sold it to a guy who maintained old arcade games, they were useful for that
It's good stuff to have if you want old geek cred. But really... I just... couldn't keep it anymore. I guess I am okay with just having the memories, I don't need the "stuff"
Speaking of people wanting old stuff, the dealership that sold me my car wrote an inquiry about someone looking to buy it back. Is this a common experience for other people--where car dealerships say "we have a buyer interested in your make/model of car, we can guarantee you in excess of book value, please call us"?
 
@HostileFork Never heard of that.
 
A couple of things seem odd. Firstly, they said "someone requested this make model and year".
And although they no longer make Honda Elements, 2010 was not the last year
They made them in 2011
So specifically requesting a 2010 would be odd.
But they may be sort of fudging a range, like they said "2009-2011" and it got translated in the email as "wanted a 2010 Element"
But secondly, the dealer would take a cut, you would assume?
Who buys used cars by way of dealer contact where they try and ask for the car back?
It would have to be a pretty particular car.
I would think, limited run of some kind
I made fun of them and said no, but perhaps I should have followed up on it to see who was asking
Anyway, the reason is ostensibly because they just don't make Elements anymore
I guess it's not THAT weird that the dealer would contact people on record as having bought them, I just think it's weird to ask the dealer and for them to take the time. I'm trying to imagine what the margins are on this deal
Maybe they think they can make enough on it and then sell me a new car in the process?
I find it hard to imagine worth their time if I don't buy a new car from them, so that must be it.
Still... weird.
Anyway, they can't have it
Mine! :-)
 
6:11 PM
My guess is that they think they'll be able to sell you a new car when they buy your old one.
 
Bo, how is your surveilance camera project going? It was quite exciting to read about the Red/System and R3 combination ...
 
6:53 PM
@HostileFork That reminds me of a certain Johnny Cash song. "One Piece at a Time".
 
 
3 hours later…
9:27 PM
@skiwi Interesting, thanks! Food for thought there.
 
9:43 PM
RebolForum might be down, but you can see the message that brought it down in the feed...
(a lesson perhaps in the pitfalls of storing Rebol data without a Rebol header...)
 

« first day (1392 days earlier)      last day (2388 days later) »