World: r4wp
[#Red] Red language group
older newer | first last |
DocKimbel 7-Oct-2012 [2582x2] | Kaj: sorry, I wasn't accurate enough, I was referring to hello.red output when compiled. |
(when run) | |
Kaj 7-Oct-2012 [2584x2] | The adapter cable I talked about from HDMI to VGA turned out not to work. It probably works in the other direction, although I thought that wouldn't be possible |
Doc, I thought that couldn't be because I can't run any Red code on ARM. hello.red crashes hard for me, even taking the terminal program down | |
DocKimbel 7-Oct-2012 [2586] | Does it crash on your RPi? |
Kaj 7-Oct-2012 [2587] | Yes |
DocKimbel 7-Oct-2012 [2588x2] | (I haven't yet had the chance to test on mine) |
Are you running wheezy on it? | |
Kaj 7-Oct-2012 [2590] | Yes, are you running an ARMEL or an ARMHF architecture? |
DocKimbel 7-Oct-2012 [2591x3] | I'm unsure, but as we do support hardware floating points, it should be ARMHF I guess. |
We support the hardfp ABI. IIRC, Andreas reported that it was working on softfp ABI too, but I don't remember exactly, so better wait for him to give the right answer. | |
Anyway, we planned to support more ARM ABI in order to spread on more platforms. | |
Kaj 7-Oct-2012 [2594x3] | Better spread on one platform first :-) |
All I can run is empty.reds, Fibonacci, PeterPaint and SQLite | |
And hello.reds, but not hello.red | |
DocKimbel 7-Oct-2012 [2597] | I'll look into that as soon as my RPi is set up properly. |
Kaj 9-Oct-2012 [2598] | Got Mandelbrot to work |
Arnold 9-Oct-2012 [2599x3] | Good work. |
I see update of docs typo in red-system-specs.txt saw in this file that mat operators including % are supported yet in BNF on line 1076 it is not mentioned. | |
Also saw a typo, I read the document further tomorrow and note all typos I see. | |
DocKimbel 9-Oct-2012 [2602] | Maths op missing in BNF rules: good catch. You can add them and submit a pull request on the master branch. |
Arnold 9-Oct-2012 [2603] | I will try that, I once did a pull request but it pulling doesn't make sense in my mind. I think it means the Github must be pulling. I will try again (with possible other improvements. If I am not succesful, I will put a file with my improvements up somewhere. Now to work (my job waits) |
Arnold 10-Oct-2012 [2604x2] | Well I changed some text in this file, I changed it online in a black background box where I could not see my cursor nor the arrow pointer, so it sucked :( I thought it would be possible to edit the file offline but that is something to find out how to do next time ;) Now I added a comment and it says I want to commit 182 changes into the master branch, which is not what I want, but Github says I want that. Including my comments it could be I typed in total 182 characters including the ones I deleted (?) but the 182 are the commits from the 0.3.0 branche I think. Me and my friend Github >:| |
Going to need to shorten that phrase cause I will need it often: mamfg! | |
DocKimbel 10-Oct-2012 [2606] | :-) They are plenty of git / github tutorials online, you might want to go through one of them. Having basic git understanding is required if you want to contribute code to Red, otherwise, it would take us much more time to review and accept it. Anyway, I agree that git is unnecessarily complicated, even Linus says it's not for everyone. We'll see how Red can solve that once it is mature enough. |
Arnold 10-Oct-2012 [2607] | Agreed did one today but it was for git not for github. As github doesn't support OSX10.5 with her github for mac program I am temp stuck. maybe a REBOL script can take over the git commandlines for me. I go and try that to take me over the githurdle. |
DocKimbel 10-Oct-2012 [2608x2] | I can't accept your pull request, it's a complete merge of different branches (you're probably mixed up several branches, or you haven't rebase before submitting the pull request). You need to submit only the changes you did. For that, you need to have a clean codebase and up-to-date wrt the branch you're modifying. |
Looking at the 182 commits you've submitted, it seems, you haven't checkout'd to master branch before making the change, so you are submitting the whole v0.3.0 branch to merge with master. You need to check carefully on which branch you are before doing any change. | |
Arnold 10-Oct-2012 [2610] | I managed to get it via the terminal but only the master not the 0.3.0 I want the 0.3.0 version of this file for that one contains the corrected typo you fixed, no need to manually correct then. And I want to give it then back to the 0.3.0 branche but no way. I'll mail my file to the mailinglist :( github g=sh ;) |
Kaj 10-Oct-2012 [2611x2] | You probably need to check out master, then cherry-pick the BNF file from v0.3.0, then make your change, then do the pull request for master |
Alternatively, you'd stay in v0.3.0, but then you also have to make the pull request for v0.3.0 | |
PeterWood 10-Oct-2012 [2613x2] | The way to switch git branches at the terminal is: git checkout <branchname> e.g git checkout master git checkout v0.3.0 |
You can always check which branch you are working on with: git status | |
Andreas 10-Oct-2012 [2615x2] | Arnold, no worries. I properly applied your patch against the v0.3.0 branch. |
Your patch was basically fine, what went wrong is that you submitted the pull request against the wrong branch. You changed something starting from v0.3.0, but your pull request was submitted against master, not v0.3.0. | |
DocKimbel 10-Oct-2012 [2617x2] | Arnold: the changes you did that were accepted have been pushed to master branch too and are now published on red-lang.org. For documentation changes, the master branch version is the one that gets published on the web site. |
FYI: I got my RPi video problem fixed, still no network, but I will go buy a long network cable tomorrow, so I should finally be able to look into the issues Kaj submitted. I would like to fix the main ones before releasing v0.3.0. | |
Kaj 10-Oct-2012 [2619] | I would like that very much, too |
Arnold 11-Oct-2012 [2620] | thnx for applying the fix & support. One day I will be able to github on my own ;) |
Pekr 11-Oct-2012 [2621x3] | Doc - web seems to stopped displaying twitter news messages? |
I noticed, you tweeted, that 0.3.0 is close? | |
btw - once 0.3.0 is out, what about a blog post, summing what is already available? Maybe a short script? btw - do we have conditions/branching and loops yet? | |
DocKimbel 11-Oct-2012 [2624x2] | Twitter message on web site: that's blogger's widget for Twitter's feeds...can't do much about it. |
Yes, v0.3.0 is close. Of course, I will write a blog post for that release, it's a major one. Condition/branching/loops: that's what's implied (among other things) by being "Turing-complete". Also, a quick look at last 10 days of commit in v0.3.0 branch should answer your question too. ;-) | |
Pekr 11-Oct-2012 [2626] | I can't decode anything from inspecting the sources yet. I can look into natives, there are some forall-loop etc functions whose purpose I don't understand. Then I can see datatypes, but where should I look for the definition of 'if, 'either, 'until, 'forall, 'while, etc.? :-) |
Kaj 11-Oct-2012 [2627] | Click on the commit messages where they were implemented |
DocKimbel 11-Oct-2012 [2628] | Pekr: look into the commits list, not in the source code. |
Nicolas 11-Oct-2012 [2629] | Does the modulus operator work on floats at the moment? |
DocKimbel 11-Oct-2012 [2630] | Yes (both modulus and remainder operators). Of course, this is for Red/System, Red doesn't have yet floats support. |
Nicolas 11-Oct-2012 [2631] | *** Compilation Error: argument type mismatch on calling: // *** expected: [number!], found: [float!] |
older newer | first last |