pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
[personal profile] pauamma
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
[personal profile] pauamma
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
[personal profile] pauamma
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
[personal profile] pauamma
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
[personal profile] pauamma
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
[personal profile] pauamma
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
[personal profile] pauamma
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
[personal profile] pauamma
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
[personal profile] pauamma
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
roadrunnertwice: Yoshimori from Kekkaishi, with his beverage of choice. (Coffee milk (Kekkaishi))
[personal profile] roadrunnertwice

Hello, it's time for another code tour! This is mostly stuff that isn't live yet, but will arrive in the next code push.

Contents: a whole bunch of Stuff )

pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
[personal profile] pauamma
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
kareila: Rosie the Riveter "We Can Do It!" with a DW swirl (dw)
[personal profile] kareila
Every few months[*], I run through [site community profile] changelog compiling a list of who has been contributing patches to our code repository, with the understanding that this is not a competition, or any sort of "high score" list. It's intended as a guide for casual developers, to discern not only our most prolific contributors, but also those who have contributed to the project most recently and therefore would be more likely to provide a timely, informed response to development questions. That is why the list is sorted by "Latest" instead of "Changes".

In general, one commit on Github equals one point in the "Changes" column, but fractional points are awarded for collaborative efforts — the most common example being a new S2 theme, where usually half credit is awarded to the theme author and the other half to the person who converts the theme into a code patch. Due to the nature of development, some changes are massive contributions of new code, and others are tiny tweaks; there is no correlation with the amount of effort involved. We are grateful to everyone who helps to improve Dreamwidth, in ways large or small.

I last compiled this list in July of 2019. Since that time, we have welcomed [github.com profile] martindemello as a new contributor! Congratulations and thank you again!

[*] I'm not even going to apologize for the fact that I haven't posted one of these updates in over a year. Y'all know how it is.

  #  User                      Changes     Latest
  1. roadrunnertwice             348.5     Fri Jul 17 05:33:50 2020 UTC
  2. martindemello                   1     Fri Jul 17 03:16:42 2020 UTC
  3. kareila                      1465     Wed Jul 15 06:00:20 2020 UTC
  4. pinterface                     18     Sat Jul 11 03:07:04 2020 UTC
  5. alierak                      40.5     Sun Jul 05 21:32:57 2020 UTC
  6. momijizukamori             282.66     Tue Jun 30 02:50:56 2020 UTC
  7. mark                          682     Wed Jun 03 02:55:31 2020 UTC
  8. alexwlchan                      5     Sun May 26 04:56:47 2019 UTC
  9. allen                          64     Mon Apr 29 17:10:26 2019 UTC
 10. srukle                         13     Wed Dec 19 03:35:50 2018 UTC

 11. darael                         10     Sun Dec 09 01:41:18 2018 UTC
 12. swaldman                       86     Sat Jul 21 04:13:07 2018 UTC
 13. kaberett                     56.5     Sun Jun 17 18:46:15 2018 UTC
 14. chrisboyle                     18     Sun Jun 17 18:11:05 2018 UTC
 15. pauamma                       150     Sat Jan 20 17:42:28 2018 UTC
 16. hotlevel4                      54     Mon Jan 01 23:33:48 2018 UTC
 17. josh-berry                      1     Mon May 08 04:40:55 2017 UTC
 18. nightflyer                      1     Wed Apr 19 19:53:30 2017 UTC
 19. denise                     423.08     Fri Mar 31 06:03:58 2017 UTC
 20. fu                         2168.5     Thu Mar 30 04:12:07 2017 UTC
The rest of the list... (164 total) )
sporky_rat: A Dreamsheep dreaming of DW Support (_support)
[personal profile] sporky_rat
There was SO MUCH CODE CONVERSION oh my gosh. [personal profile] kareila finished a knitting project and didn't pick up another one so CODE MACHETE TIME. [personal profile] roadrunnertwice is still working on the spite-fueled redesign (also less DRAMATIC WOODCHUCK now).
80 issues, thirteen pages in the notepad before putting in the information. HAIL THE DEVS.

hang on your shoes folks, where we're going we don't need roads!...we do need seatbelts though )

80 total issues resolved
Contributors: [github.com profile] kaberett, [github.com profile] kareila, [github.com profile] martindemello, [github.com profile] momijizukamori, [github.com profile] nfagerlund

That's all for me today, make sure to thank your devs!
quirrc: dfghdf dfg hdfgh dfgdfg (Default)
[personal profile] quirrc
Hello. I want to make support of DW friends in Semagic client. I have 3 questions/bugs

1) It looks like communities and feeds when added to access list without groupmask, are added not with zero groupmask but with one particular groupmask ("2305843009213693952" or 0x2000000000000000) while personal accounts are added with another ("2305843009213693953" or 0x2000000000000001).  Both are added through editcircle add edge=1, i.e. without groupmask explicitly specified.

2)Are DW groups 64bit as opposed to LJ 32bit? Or it is an error?

3) Journal name that is returned by getcirle equals to username. When I added dw_news via editcirle, it returns fullname as "Dreamwidth news", but after that getcirle returns dw_news as fullname.

Update: also, groupmask for trustgroups in getcirle is not returned at all, only id and sortorder, which do not correspond to the actual group bit number.
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
[personal profile] pauamma
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
sporky_rat: XKCD's Internet Map showing Dreamwidth, with a Dreamwidth D Spiral. Text:  'This is my home'. (dreamwidth)
[personal profile] sporky_rat
Holy flying carp there’s been a lot going on since the end of April. Bringing code into the Century of the Fruitbat, making things a lot less Eldritch Horror Under the Hood, some Stylin’, and last but certainly not least, User Functionality! (Plus some bonus TEAMWORK)

Hands in feet in don’t stare into the laser LET’S GO

much modernization. such future. wow! )

49 total issues resolved, HAIL CONTRIBUTORS
Contributors: [github.com profile] kareila, [github.com profile] momijizukamori, [github.com profile] nfagerlund, [github.com profile] rshatch, [github.com profile] zorkian


Dunno when this will all go live, but it will be announced in [site community profile] dw_maintenance before the code is pushed and afterwards.
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
[personal profile] pauamma
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
roadrunnertwice: Dee perpetrates some Mess. (Arts and crafts (Little Dee))
[personal profile] roadrunnertwice

I've been working on a thing, and I could use some feedback on the implementation. It might take a little explaining (because there's a fair amount of backstory), but I'll try and be as concise as possible.

Backstory: Raw and transformed text

DW stores the text of entries and comments raw, exactly as the user entered it. Then, whenever we need to display that text, we transform it to produce nice legible HTML. Those transformations include:

  • Turning <user> tags (which aren't real HTML) into [profile] user, which is really like a span plus an image plus a link.
  • Handling <cut> tags.
  • Several other things, etc., not important right now.

Most of those get applied to everything we display. But there are also some OPTIONAL transformations:

  • Turning normal line breaks into HTML <br> tags.
  • Turning bare URLs into clickable links.

Those get applied by default, but we've always had a "don't autoformat" checkbox (inherited from LJ) that could be used to disable them for an entry or comment. (BTW, under the hood the RTE saves entries as "don't autoformat.")

Then, later, DW added some other optional transforms, which had their own special enabling conditions:

  • Turning Markdown into HTML. (For entries that start with a special !markdown glyph, or comments submitted by email.)
  • Turning @mentions into user tags. (Currently applies to everything except "don't autoformat," but gets suppressed within certain HTML elements or their Markdown equivalents.)

ALL of these transforms get handled by something called the "html cleaner," at LJ::CleanHTML. At this point "cleaner" is kind of a misnomer; in actual fact, it's the central place where we handle all transformations of raw user-entered text into a fragment of display HTML.

The problems

In my understanding, the current state of affairs has two main problems:

  • The interface for choosing text transforms is incoherent. That happened gradually; we've added new transformations over time, and changed the interactions between them, and now it's weird:
    • Half of the interfaces for entering entry/comment text don't even include the "don't autoformat" checkbox anymore.
    • The way you enable Markdown has always been a mystery. For example, I want to use Markdown in comments (because typing html angle brackets on a telephone is bullshit), but currently it's impossible except when responding via email.
  • Introducing new text transforms is dangerous and chaotic. In mid-2019, we enabled @mentions for HTML-formatted content (previously they only worked in Markdown content), and about 40% of hell broke loose:
    • Current content suffered because we didn't have a good way to beta-test @mentions, so we didn't have a chance to learn about bugs and edge cases from our users (who are more ingenious at doing weird textual shit than we are) before enabling them globally.
    • Old posts weren't written to expect @mentions, so we ended up totally vandalizing any historical post that ever discussed CSS code (@media (min-width: etc...)), Perl or Ruby or Objective-C code, or a wide variety of other things that involve @ signs.

Questions: Does anyone disagree with those two problems or my characterization of them? Does anyone see any closely related problems that I'm not recognizing here?

The solution, maybe

Read more... )

pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
[personal profile] pauamma
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.

Profile

dw_dev: The word "develop" using the Swirly D logo.  (Default)
Dreamwidth Open Source Development

March 2026

S M T W T F S
1234567
8910 11121314
15161718192021
22232425262728
293031    

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 23rd, 2026 06:06 am
Powered by Dreamwidth Studios