Go to advanced search

by cheery
Tue Jul 03, 2012 6:12 pm
Forum: General programming discussion
Topic: Structural Editor (Essential Editor Research Project)
Replies: 10
Views: 4981

Re: Structural Editor (Essential Editor Research Project)

The hole templating and input schema could be still improved quite a much, but it improved the state of both layouting and input handling. Little bit of context awareness ended up there as well. I could reduce away some element types, which made it simpler to handle.
screenshot.png
interesting... it doesn't look like bad anymore.
screenshot.png (705 Bytes) Viewed 4581 times
by cheery
Mon Jul 02, 2012 10:57 pm
Forum: General programming discussion
Topic: Structural Editor (Essential Editor Research Project)
Replies: 10
Views: 4981

Re: Structural Editor (Essential Editor Research Project)

The hole-template experiment has proved to be very promising. Haven't figured out yet how to climb! :lol: Few questions I'm wondering at the moment: How to edit inside a fixed-size hole? What to do when editing would break the syntax? I'm getting on this, slowly but I am certain I'll make it now. sc...
by cheery
Mon Jul 02, 2012 8:17 am
Forum: Graphics, sound and multimedia
Topic: Interest in 2D game engine?
Replies: 12
Views: 5836

Re: Interest in 2D game engine?

Pygame seems to be un-accelerated. But if you get into opengl, you have to understand texture atlasing and shaders at least.

I could help you out if you drop at freenode.net #raspberrypi
by cheery
Sun Jul 01, 2012 11:31 am
Forum: General programming discussion
Topic: Structural Editor (Essential Editor Research Project)
Replies: 10
Views: 4981

Re: Structural Editor (Essential Editor Research Project)

Oh.. With little tinkering I was able to get it do this:
screenshot.png
introducing new syntax in-program.
screenshot.png (2.58 KiB) Viewed 4658 times
by cheery
Sun Jul 01, 2012 4:51 am
Forum: General programming discussion
Topic: Structural Editor (Essential Editor Research Project)
Replies: 10
Views: 4981

Re: Structural Editor (Essential Editor Research Project)

Lack of context awareness slows down inputting the programs, but here's something I did with the newest version: screenshot.png That seems to propose I should actually still change the document model. EVERY grammatic element seems to form something like a template with holes in it. Some of the holes...
by cheery
Thu Jun 28, 2012 12:57 pm
Forum: Automation, sensing and robotics
Topic: Web Page Interaction "Press to Turn on/off"
Replies: 3
Views: 1974

Re: Web Page Interaction "Press to Turn on/off"

You could setup a small web api. <p>The pump is <a id="pump" href="#">...</span></p> $ -> pump = $("#pump") currently = false toggle = (state) -> currently = state pump.text("on") if state pump.text("off") unless state $.getJSON "/api/pump", (state) -> toggle(state) pump.click (e) -> $.postJSON"/api...
by cheery
Thu Jun 28, 2012 9:14 am
Forum: For sale
Topic: BRAMBLES - finger jointed wooden case
Replies: 26
Views: 13031

Re: BRAMBLES - finger jointed wooden case

Now this is something I'll consider.
by cheery
Thu Jun 28, 2012 4:18 am
Forum: General programming discussion
Topic: where to start? (learning C, C++)
Replies: 19
Views: 7367

Re: where to start? (learning C, C++)

I can see how this is going to grow into TL;DR. The poster started it. Every line you type makes it more tiresome to read you know? Not that I'd be any better in most situations either, but you're asking a very common common question. At least you could've done it right! You can "get it done fast bu...
by cheery
Tue Jun 26, 2012 3:19 pm
Forum: Graphics, sound and multimedia
Topic: Interest in 2D game engine?
Replies: 12
Views: 5836

Re: Interest in 2D game engine?

I've written some python code for this, that shouldn't be too hard to understand: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=38&t=9389 It does some erratic things at raspberry pi, but otherwise works and could be a good starting point for an efficient 2D game engine. Although I'd first fix th...
by cheery
Mon Jun 25, 2012 10:05 pm
Forum: Graphics, sound and multimedia
Topic: raspberrypi-multimedia python module
Replies: 0
Views: 1429

raspberrypi-multimedia python module

Since my new module series can (somewhat) show graphics and read user input, I thought it'd be worthwhile to show it here. Repository: https://github.com/cheery/raspberrypi-multimedia/ Here's a sample how it provides input to the user: from eventloop import EventLoop, InputManager devices = InputMan...
by cheery
Sun Jun 24, 2012 9:57 pm
Forum: General programming discussion
Topic: Structural Editor (Essential Editor Research Project)
Replies: 10
Views: 4981

Re: Structural Editor (Essential Editor Research Project)

My pi arrived Friday, so I spent the weekend playing with it. Tomorrow I will pass it to my brother to try out some python programming. When I wake up today, I'm going to update the document model. It loses the .tag member and gets attributes. This change makes it further much like XML which seems t...
by cheery
Sat Jun 23, 2012 3:36 pm
Forum: Graphics, sound and multimedia
Topic: Default display parameters for DSI
Replies: 27
Views: 15126

Re: Default display parameters for DSI

I'd want both... but meh.
by cheery
Thu Jun 21, 2012 7:25 pm
Forum: General discussion
Topic: Design flaw? Polyfuses for USB current limiting
Replies: 245
Views: 96116

Re: Design flaw? Polyfuses for USB current limiting

Looks like my device was otherwise faulty and it was not the polyfuses.. going to return it at monday.
by cheery
Thu Jun 21, 2012 4:31 pm
Forum: General discussion
Topic: Farnell slight delay
Replies: 48
Views: 5050

Re: Farnell slight delay

I retrieved the package from UPS, from the last node that'd have waited until Monday to deliver it to me (holidays). I'm happy as this works properly unlike the one that came from RS.
by cheery
Thu Jun 21, 2012 11:59 am
Forum: Troubleshooting
Topic: USB jams when trying to use a keyboard
Replies: 5
Views: 1082

Re: USB jams when trying to use a keyboard

I concluded the USB must be broken in my card, and passing a return now.
by cheery
Wed Jun 20, 2012 9:46 pm
Forum: Troubleshooting
Topic: USB jams when trying to use a keyboard
Replies: 5
Views: 1082

Re: USB jams when trying to use a keyboard

I tried without any peripherals and got these errors still:

Code: Select all

[   20.170704] DEBUG:handle_hc_chhltd_intr_dma:: XactErr without NYET/NAK/ACK
log: http://bpaste.net/show/MUR1fUKRHUVVqehewGrz/
by cheery
Wed Jun 20, 2012 9:25 pm
Forum: Troubleshooting
Topic: USB jams when trying to use a keyboard
Replies: 5
Views: 1082

Re: USB jams when trying to use a keyboard

I'd like to narrow it doing, so searching instructions on producing a minimal kernel.
by cheery
Wed Jun 20, 2012 9:04 pm
Forum: Troubleshooting
Topic: USB jams when trying to use a keyboard
Replies: 5
Views: 1082

Re: USB jams when trying to use a keyboard

Occassionally it works for 15-20 seconds and then crashes. I tried with multiple distros and versions, and they all do the same. Latest I tried was 2012-06-18-wheezy-beta.img I tried multiple keyboards, the latest one was Steelseries G6v2. It worked once, at early when the device had just booted up....
by cheery
Wed Jun 20, 2012 9:00 pm
Forum: Troubleshooting
Topic: USB jams when trying to use a keyboard
Replies: 5
Views: 1082

USB jams when trying to use a keyboard

[ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.1.9+ ([email protected]) (gcc version 4.5.1 (Broadcom-2708) ) #125 PREEMPT Sun Jun 17 16:09:36 BST 2012 [ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d [ 0.000000] CPU: VIPT nonaliasing data c...
by cheery
Wed Jun 20, 2012 12:39 pm
Forum: General discussion
Topic: Design flaw? Polyfuses for USB current limiting
Replies: 245
Views: 96116

Re: Design flaw? Polyfuses for USB current limiting

I can confirm now. Whenever I plug in an *any* keyboard, the USB port just straight out trips at that same moment.

If I want to connect ANYTHING on it, I have to get a powered USB hub.
by cheery
Tue Jun 19, 2012 11:19 pm
Forum: General programming discussion
Topic: Structural Editor (Essential Editor Research Project)
Replies: 10
Views: 4981

Re: Structural Editor (Essential Editor Research Project)

The very next version will bring us a new, improved layouter which is bit more flexible than the last one. It'll be combined with a partial implementation of context-aware syntax-preserving editing mechanism. Code's not in repository yet, because I want to refactor the changes slightly and add some ...
by cheery
Tue Jun 19, 2012 6:00 pm
Forum: General discussion
Topic: Bulk Order
Replies: 28
Views: 3824

Re: Bulk Order

I can gladly say I'm out of the backlog now. My package was processed at Birmingham and it started moving towards my general direction.
by cheery
Tue Jun 19, 2012 9:36 am
Forum: General discussion
Topic: Bulk Order
Replies: 28
Views: 3824

Re: Bulk Order

Patience is golden. Raspberry Pi is going to be still relevant after two months. :lol: I'm sure the momentum is huge enough already that the companies are doing everything to get to the bulk orders. After all there's more money in them! I'm more concerned about the fact that I still don't have my ra...
by cheery
Mon Jun 18, 2012 9:38 pm
Forum: Advanced users
Topic: I replaced the USB connector on my PI.
Replies: 38
Views: 17701

Re: I replaced the USB connector on my PI.

I think the official raspberry pi foundation should do it like this. ;)
by cheery
Mon Jun 18, 2012 12:06 pm
Forum: Gaming
Topic: Iridium Rising - 3D space combat for the Pi
Replies: 64
Views: 13087

Re: Iridium Rising - 3D space combat for the Pi

I'm going to look at it once I RS or Farnell delivers. Looks like rather interesting. Closed source in games is least of harms to users, but can impact usability when the platform changes. Also prevents learning from the sources (which would be helpful for those who want to make games). If people be...

Go to advanced search