Active Topics

 


Reply
Thread Tools
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#41
Originally Posted by byte_76 View Post
It would be great if you could recreate conversations with speech bubbles using the techniques that improve performance / scrolling while providing room for customization.
I took a quick crack at seeing if I would have any scrolling issues with the GtkTable approach I was suggesting. None. I don't have markup yet 'cause GtkBuilder doesn't actually let you have markup inside UI files, and I was too lazy to produce a corresponding JSON file. That goes double for adding timestamps. Maybe tomorrow, but my proof-of-concept has just about run its course.

Also, adding bubble background pixbufs wouldn't be that difficult, and shouldn't cause any performance issues.

Anyway, no scrolling issues, and this is Python. Here's a screen shot of a 105 message conversation:

Name:  Screenshot-20100316-231225.jpg
Views: 913
Size:  25.2 KB
__________________
N9: Go white or go home
 

The Following 4 Users Say Thank You to daperl For This Useful Post:
Posts: 120 | Thanked: 33 times | Joined on Jan 2010
#42
Originally Posted by daperl View Post
I took a quick crack at seeing if I would have any scrolling issues with the GtkTable approach I was suggesting. None. I don't have markup yet 'cause GtkBuilder doesn't actually let you have markup inside UI files, and I was too lazy to produce a corresponding JSON file. That goes double for adding timestamps. Maybe tomorrow, but my proof-of-concept has just about run its course.

Also, adding bubble background pixbufs wouldn't be that difficult, and shouldn't cause any performance issues.

Anyway, no scrolling issues, and this is Python. Here's a screen shot of a 105 message conversation:

Attachment 8142
It's great to have tmo members like you that are willing to do these kinds of things.
It looks good so far. Perhaps a new thread could be created for this so that we don't hijack the current thread since this stuff is a bit off-topic.

Thanks for the efforts so far!
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#43
@byte_76:

I appreciate the kind words, but I'm afraid I've misled you, and I apologize for that. You probably have heard this cliche before, but I'm just scratching an itch, and I have many that need my attention. But I am here to help as well as learn, so if you do find someone to champion your cause, I'm happy to answer any technical questions that I can.

After what qole wrote, and then seeing your post in the conversations thread, I was disturbed. I have a running conversation with my young son; we have great fun sending messages back and forth to each other from an iPod touch to my n900. I hadn't given it much notice, but sure enough, even using the conversations app default settings, scrolling is jerky and painful. That's why I did what I did.

Again, sorry, I'm not the goto guy on this one, but I did want to inspire someone else to pick up the ball. In my opinion, Nokia used a hammer where a screwdriver would do, but the promise of this environment is that the right community can fix such things. I see myself as just one cog here at tmo, but for my own selfish reasons I choose not to be a single point of success or failure. I tend to be a FOSS purest, so when it comes to anything software, my motto is simply: "Love it or leave it." That's where the best stuff comes from, and believe it or not, that quote is a paraphrase of something Steve Jobs believes. But he just seems to want to keep all the love for himself. Good luck!

P.S. Not to tease you further, but I'm not sure I've finished scratching this particular itch, so don't be surprised if I continue to post updates here. Considering that we know Harmattan will have a WRT front end, and kind of knowing the spirit of the OP's intent, I consider what I've been doing mildly relevant to this thread.
__________________
N9: Go white or go home
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#44
Granted, a very ugly first attempt at balloons, but it scrolls nice and I added some markup. Copy-and-paste is going to be the tricky part. I either have to create a lite version of GtkTextView, or just expand GtkLabel.

Name:  Screenshot-20100318-104818.jpg
Views: 672
Size:  25.0 KB
__________________
N9: Go white or go home
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#45
I just came up with one of my best algorithms in about 2 years. The speedup and memory savings are possibly optimal. I should have a demo early this week, but I'm so excited that I just had to share. It's basically 5 mem copies per label background. The one-and-only, per-person background pixbuf grows to max-width and max-height as necessary. Since the corners never change, there's just four border copies and one middle section copy. No scaling, no Cairo, no extra memory, and no unnecessary memory creation/destruction. Just pixel-pushin' speed. And I get copy-and-paste for free. After that, it will be time to see about creating an entire read-only GtkTextView/GtkTextBuffer that could be exported as a document of a user's chosen format.
__________________
N9: Go white or go home
 

The Following 3 Users Say Thank You to daperl For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#46
daperl: package it and they will come...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#47
@qole:

I'm just hackin' around, but I think I did what I came to do.

Name:  Screenshot-20100322-212704.jpg
Views: 493
Size:  24.7 KB
__________________
N9: Go white or go home
 

The Following 2 Users Say Thank You to daperl For This Useful Post:
Fargus's Avatar
Posts: 1,217 | Thanked: 446 times | Joined on Oct 2009 @ Bedfordshire, UK
#48
Originally Posted by daperl View Post
...
If WRT is suppose to be the answer for opening up the platform to gather more developers, are these the types of developers we want for front facing apps? I say no. And f*ck no. I was all ready for Qt and hardcore C++ programmers.

Does Nokia have it backwards? The OS is suppose to be easy and joyful to use. I'm going to paraphrase Einstein: Make API's and programming languages as easy as possible, but no easier. Isn't WebOS the only example we need of what not to do? It's a beautiful OS that seems to be choking on Javascript. Oh, the virus of the browser. Me frightened. Rant over.
At last: someone else that finds this a scarey possibility! I got told by qgil that I was being paranoid and the only one!
 

The Following User Says Thank You to Fargus For This Useful Post:
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#49
Originally Posted by Fargus View Post
At last: someone else that finds this a scarey possibility! I got told by qgil that I was being paranoid and the only one!
All I can figure is that it must have something to do with advertising. There's already a well established ad infrastructure built-in to the web. Otherwise, I can't make much sense out of it. It's a 180° from where I want to be going; the Web is a desktop technology, but relatively speaking, tcp and udp are lean-and-mean communication technologies.

I want to be running my own light weight walwart push server that is my instantly-connected proxy workhorse. It can filter and ping the crap out of other poorly implemented services for me. I want more fine-grain control of how I use my battery and CPU. I can't see WRT being that answer. But I can see the big players, Nokia included, wanting their own piece of push services. How much longer can the cellcos get away with being a messaging mafia?

Wow, I can't seem to stop this tangential ranting. Time for bed.
__________________
N9: Go white or go home
 
qgil's Avatar
Posts: 3,105 | Thanked: 11,088 times | Joined on Jul 2007 @ Mountain View (CA, USA)
#50
Web Runtime is for offline apps as well! The main point is "easy and fast to develop with a technology familiar to most web developers", not online push or something.

About security, I keep saying that security experts are confident about the Web Runtime so if you have concrete arguments please just expose them. Blunt conclusions based on the use of Javascript leave little space for constructive discussion. fwiw
 

The Following User Says Thank You to qgil For This Useful Post:
Reply

Tags
firefox, mozilla, web runtime, webkit, wrt


 
Forum Jump


All times are GMT. The time now is 04:53.