Barcode with silverflight8 on top and numbers underneath
[personal profile] silverflight8
Thirty four bugs, new and old, big and small. Something for everyone!

Watch your step! There's a lot of squished bugs round here )

And that's it for this round! Hope you enjoyed the ride, and stay tuned for the next code tour!
Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome
[staff profile] denise
I've just realized I can change the values in Bugzilla for the RESOLVED status; I've removed MOVED (which we have never used and which just takes up space) and added BYPROXY, to be used for bugs that we fixed accidentally while fixing something else or bugs that pixies spontaneously manifested a fix for by working their magic in the depths of the code while we weren't looking.

(Now why do the pixies never add new features? That's what I'd like to know.)
Cartooney crab holding drink
[personal profile] pauamma
Has anyone tried using the SPORE specification, Net::HTTP::Spore, or any of the other implementations (Ruby, Python, and PHP IIRC) to implement similar-but-not-identical clients for services based on LiveJournal or Dreamwidth? Any opinion of the modules themselves (if you've used them) or the spec and APIs (if you only read the docs) you'd like to share?
Computer Science is my girlfriend
[personal profile] exor674
I have noticed certain in-journal links such as next and previous do not preserve the style= setting and really should.

Can people please look at links and compile a list of places that do not preserve this option so I can open a bug.

Thanks.
Dreamwidth: Dream wide, dream deep
[personal profile] rb
Right before my brain got refried by this stupid disease I was working on a script to turn the theme layers copied from DW itself into the right format to paste into the s2 code in the sourcecode. I was doing it as I learned how so it's only been tested on about 5 different situations at the moment and I'm quite sure it doesn't do everything so check all output please!!

And yes, my brain got fried (again) by this stupid disability so I'm on indefinite leave from developing for the mean time - and VERY disappointed about it.

At the moment you want to pipe the theme layer through STDIN to the script, so something like

$ ./newtheme.pl NewThemeName Rising "Tabula Rasa" yes < ~/file-with-theme-layer.txt

it will tell you what file it writes the output to, it will be something in $LJHOME/temp/

Script



Feedback, cases that break it, improvements, etc. would all be great.

r

Edit: Now with super bonus functioning HTML tags!
Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome
[staff profile] denise
In an effort to make sure that older bugs don't get lost, I'm going through over the next few days and unassigning any bugs that have been in the ASSIGNED (now IN_PROGRESS) state for over six months with no activity on the bug, unless I know for sure that a) the assignee is still active in DW development and b) the bug is part of a larger project that the assignee is still working on.

If I accidentally hit a bug of yours that you're still working on, I apologize in advance! Just snag it back for yourself.
Destination sign of a Japanese train; it reads "前橋 - For Maebashi"
[personal profile] shadowspar
Welcome, and thank you for riding along with us today. This is regular Code Tour #92, bound for Bug 4114, making stops at Bug 1385, Bug 1220, and a total of 7 new and 1 old bugs before reaching our final destination.

The doors are closing...be careful, please. )

Thanks to [personal profile] kaberett for assembling the list of new vs duplicated bugs for this code tour, and to [personal profile] john for rocketing through dozens of bugs last week, leaving little for me to steam through.

That's enough for today! Please be sure to collect all of your code snippets, thinky-thoughts, and other personal belongings before leaving the tour. Thanks again for riding with [site community profile] dw_dev, and enjoy the rest of your day!
A top tenor B, from Schubert's Nachthelle, with "Tenors do it on top" caption.
[personal profile] john
Darlings! Happy Friday, the last of the year! It's time for another code tour!

Of course, if you're in Samoa, where there is no Friday (Samoa has no Friday. Samoa needs no Friday), I suggest just popping open another bottle of bubbly and dealing with it. (On the plus side, Samoans, that's 1/52nd less of an opportunity than the rest of the world to hear Rebecca Black. Silver linings, darlings, silver linings.)

We have a wonderful 46 presents under the nondenominational Code Tour seasonal shrub today. (Ours is pohutukawa, on account of me being in New Zealand. Yes, we get New Year's first, on account of being the most awesome country ever. True facts.)

That may sound like a lot of presents! I mean fixed bugs. But many of them are related to journal styles or FAQs, so don't think that we're going all Dudley Dursley on you.

So sit back, relax, pop open a bottle of bubbly (or two! 46 bugs, remember?) and join me on this three hour (code) tour.

WARNING: Code tour may contain the occasional naughty word, naughty innuendo, and dangerous amounts of wine related puns. Do not read code tour while drinking hot beverage. Or cold beverage. Except for perfectly chilled champers.

Keep Drinking. I mean 'Reading' )

Happy New Year, darlings. May the rest of your 2011 be filled with champagne, sugared violets and lickable people, and may your 2012 not be the end of the whole bloody world. After all, there's lots of champers to drink.
A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀
[personal profile] sophie
Hi all!

As the maintainer of the Dreamhacks service, I'm curious about how everybody's getting on with it and whether there's anything people would really like to have to make dev work easier.

For example, one thing I'm going to be working on is a way to make it easier to set up, start and stop the various auxiliary services that Dreamwidth uses, such as memcached, Gearman, and TheSchwartz. I'm hoping that this'll make it easier to work on bugs that need these services.

But I'd also really like to hear from people about the things they find most difficult when working on a Dreamhack. This can be anything - maybe our wiki's confusing or not quite up-to-date, or maybe you can't figure out the command you need to type to do something.

I want to make things as accessible as I can to everybody, new and experienced alike, so please let me know in the comments what you really wish was easier to do on a Dreamhack! I'll go through the comments later and see what I can do to help - for example, by programming a script for everybody to use on the server, editing the wiki, or simply answering a question if that's all that's needed!
Close-up of Fu, bringing a scoop of water to her mouth
[staff profile] fu
We put out two changes to the protocol with this code push:


  • addcomments now has a journal parameter, a feature adopted from LiveJournal code

  • getreadpage is a new function that's been added, and is equivalent to getfriendspage does on LiveJournal.

    getfriendspage is deprecated, and will return an error message telling you to use getreadpage instead.



If you're writing a client and there's some data you're interested in that's not currently available through the protocol, let us know!
fish jumping out of bowl
[personal profile] ghoti
Two new code-bus drivers, this week, me ([personal profile] ghoti) and [personal profile] brainwane. Keep all appendages inside the bus, and as you exit the vehicle, please lower your head and watch your step. If you fail to do so, please lower your voice and watch your language.

Keep reading... )
Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome
[staff profile] denise
Mark and I were talking tonight about "ninja releasing" little things that are heavily-asked-for features or bugfixes/UI improvements, and I thought it might be cool to do a "New Year's Resolutions" type thing in the next news post: show the link to the effort-minor Bugzilla search and let people name the one thing they most want to see, then browse the list and try to implement as many of them as we can during January.

Would anybody be interested in coding for that type of hackathon?
Phil and guitar
[personal profile] philkmills
This is somewhat related to someone's earlier post, but a bit more specific. I'm attempting to create a (different!) client application that would work with both LiveJournal and Dreamwidth. I'm discovering that there are modes that neither fail nor truly succeed when used with DW.

For example, 'getfriendspage' returns no error, also no information. Since DW uses a different concept around reading and subscribing, the idea that the mode doesn't work isn't too surprising.

Looking at Protocol.pm is confusing in that it appears to support getfriendspage (at least, there's code to implement it). I don't see that there is any equivalent interface for retrieving reading page events.

Since the functions of Protocol.pm call internal routines that may or may not do anything, is there a better way of discovering what things are actually supported and what they return?

(I've seen http://wiki.dwscoalition.org/notes/XML-RPC_Protocol but obviously that's not definitive either.)
Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome
[staff profile] denise
And with this, we are caught up to present day on code tour, finally. *G* All of these are now live. This code tour is current through 12/7.

Code tour! )
Ferret
[personal profile] feignedapathy
Hi, everyone.

I'm the primary developer for ElJay, an Android client for sites based on the LiveJournal codebase. Right now, the client has a pretty decent feature set for livejournal.com, but varies in ability for sites based on that code.

Dreamwidth, obviously, deviates from the LJ code a great deal. I am currently working on getting DW circles working as first class filter providers in the application, and would like to eventually support some of the other less documented features like viewing the friends list and supporting the inbox. Generic posting for DW works just fine.

Generally, on LJ, I look through ljprotocol.pl to decipher how to get these features working, and that works well on LJ and those who have updated to the latest LJ code. However, this file disappeared at some point in the Dreamwidth Mercurial repository, and now I'm lost. It seems there are a lot of DW fans using Android, and I'm getting badgered. :)

So, to make this short: It looks like ljprotocol.pl became LJ/Protocol.pm, but some of the calls don't seem to actually map to what I see in that file. Are there certain options shut off for DW in production? Is there another file I should be looking at that corresponds to /interface/xmlrpc?

I appreciate any help, and forgive me if this is the wrong community to post this.
Barcode with silverflight8 on top and numbers underneath
[personal profile] silverflight8
Hi, everyone! Here's the third tour in the mega-tour being made for November. Mad props for everyone in the #dreamwidth chat who helped me understand all the bugs!

Fifteen bugs under the cut! )
That wraps the code tour! Stay tuned for the fourth installment, coming to you soon!
Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome
[staff profile] denise
As part of the Bugzilla upgrade that we did recently, [staff profile] mark today ran the upgrade script that changes the available statuses for bugs.

The available statuses are now:

UNCONFIRMED, for bugs that are newly reported
CONFIRMED, for bugs that someone has verified that yeah, this is a valid bug
IN_PROGRESS, for something you're working on
RESOLVED, which is the same as we've been using

So, now when you take a bug for yourself, you'll set it to IN_PROGRESS, not ASSIGNED!
Stick man from xkcd holding up a protest sign saying "Things are pretty okay!"
[personal profile] delladea
Hello Dreamwidth, it's time for another code tour! This is part of a solid month of theme-adding and bug-smashing that will all be live as of the next code push.

In this tour, we have patches by [personal profile] rb, [personal profile] ninetydegrees, [personal profile] sophie, [staff profile] denise, and [personal profile] laitaine. New themes were contributed by [personal profile] asenathwaite, [personal profile] rising, [personal profile] dancing_serpent, [personal profile] bindingthreads, [personal profile] timeasmymeasure, and [personal profile] nornoriel. Thank you to all who contributed!

Some of these are already live on the site (mostly the documentation related categories).

Fasten your seat belts kids, 30 bugs ahead )

The next code push is scheduled for tomorrow (Friday). Keep an eye on [site community profile] dw_maintenance for more information.

And thus this part of the tour is concluded. Stay tuned for the next part of what will go live in the next code push!
Image of a black cat in a tie with the text, "Business cat will code for food."
[personal profile] delladea
I'm not sure how to fully explain bug 4026, since vCards are something I had never heard of before. The helpful folks in IRC linked me to an article explaining what they were, so I can now explain the "what" of the bug, but not the "why". Mainly because I have no idea how vCards are used on Dreamwidth, and I couldn't find anything in the FAQ or wiki to do with them.

So, how are vCards used on Dreamwidth?

Edit: I think I can explain the bug enough for the tour, but I'm still quite curious as to how DW uses vCards. :)
Close-up of Fu, bringing a scoop of water to her mouth
[staff profile] fu
I stumbled across this useful article which describes how you can quickly set up a VM to run IE:
Internet Explorer for Mac the Easy Way: Run IE 7, IE8, & IE9 Free in a Virtual Machine

Article just mentions a Mac, but Virtual Box also works on Linux, and so do the bash scripts.

Be warned that that it's not all that magic: it makes it easy to set up a testing environment, but it doesn't eliminate the need to have the entire Windows OS downloaded and running in a virtual machine, so you *do* need hard drive space, a decent internet connection, and decent RAM to support all those. Following these instructions will download the entire Windows OS three times, in ~700MB chunks. Right now they're taking up > 40GB on my hard drive; I didn't have enough space on my laptop, so I had to tweak the command from the article to install them to an external hard drive:

curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | INSTALL_PATH="/my/external/harddrive" bash


Also, even though the images are officially from Microsoft and for testing, they don't count as genuine, so you get the annoying Windows Genuine popups and warnings. Just ignore them and move on with your day -- and testing!

Profile

The word "develop" using the Swirly D logo.
Dreamwidth Open Source Development

January 2012

S M T W T F S
1234 5 6 7
891011121314
15161718 192021
22 23242526 2728
293031    

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Style:
[personal profile] branchandroot
Resources:
P r o l o g u e

Expand Cut Tags

No cut tags
Page generated Jan. 29th, 2012 01:13 am
Powered by Dreamwidth Studios