momijizukamori: (dreamsheep | styles)
[personal profile] momijizukamori
Writing this down for future documentation purposes because I don't feel like fighting with the wiki today.

1) Create a new folder in $LJHOME/htdocs/img/mood with a short-but relevant name
2) Put all the images for the new moodtheme in the new folder. Each image filename should be in the format <emotion>.<file extension>, with the emotion in lowercase, eg, 'cheerful.png'. There is a list of valid emotion names on the wiki
3) In a commandline, run $LJHOME/bin/misc/mood-maker.pl --dir <dir name from step 1> --name "<visible title for mood theme>" --desc "<short description of mood theme>". Neither the name nor the description should contain any : characters. This will output formatted text, or error if there's a file that doesn't match one of the available preset moods.
4) Take the formatted output from (3), including the line beginning with MOODTHEME, and paste it at the end of $LJHOME/bin/upgrading/moods.dat
5) Update the database, following the regular dev maintenance update steps.
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.
kareila: Rosie the Riveter "We Can Do It!" with a DW swirl (dw)
[personal profile] kareila
Every once in a while, 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 October of 2023. Since that time, we have welcomed [personal profile] testify as a new contributor! Congratulations and thank you again!

  #  User                      Changes     Latest
  1. lenlen                          1     Thu Jun 06 17:52:08 2024 UTC
  2. kareila                    1671.5     Fri May 24 16:51:26 2024 UTC
  3. alierak                      67.5     Fri May 24 16:26:49 2024 UTC
  4. momijizukamori             404.16     Wed May 22 20:34:13 2024 UTC
  5. mark                        825.5     Mon May 20 13:59:42 2024 UTC
  6. veryroundbird                  24     Fri Jul 28 15:34:08 2023 UTC
  7. pauamma                       151     Wed Jul 05 18:54:26 2023 UTC
  8. dependabot                      1     Tue Apr 25 20:48:48 2023 UTC
  9. vivtek                          1     Mon Feb 13 18:48:36 2023 UTC
 10. alansill                        2     Tue Nov 22 15:47:35 2022 UTC

 11. chebegeek                       3     Wed Oct 26 01:30:42 2022 UTC
 12. rmholsen                        1     Fri Jun 17 19:28:18 2022 UTC
 13. batrachian                     19     Mon Jan 17 19:44:30 2022 UTC
 14. martindemello                   4     Thu Aug 12 04:59:14 2021 UTC
 15. roadrunnertwice               416     Sun Feb 28 04:09:21 2021 UTC
 16. pinterface                     18     Sat Jul 11 03:07:04 2020 UTC
 17. alexwlchan                      5     Sun May 26 04:56:47 2019 UTC
 18. allen                          64     Mon Apr 29 17:10:26 2019 UTC
 19. srukle                         13     Wed Dec 19 03:35:50 2018 UTC
 20. darael                         10     Sun Dec 09 01:41:18 2018 UTC
The rest of the list... (171 total) )
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
I can't login to the dwiki right now to update it, so have a post here instead. When updating your dreamhack's database as part of maintenance, you also need to update your test database by running
DW_TEST=1 $LJHOME/bin/upgrading/update-db.pl -r -p --innodb
DW_TEST=1 $LJHOME/bin/upgrading/update-db.pl -r --cluster=all --innodb
DW_TEST=1 $LJHOME/bin/upgrading/texttool.pl load
before restarting Apache. Failure to do that may cause mysterious fatal errors when running automated tests.
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.

date range

Jan. 27th, 2024 04:52 pm
juan_gandhi: (Default)
[personal profile] juan_gandhi

 I recently found I need to have dates in my posts before 01/01/1970. The reason being, I want to enter some diary records. I guess there may be other reasons for entering posts dated before 01/01/1970.

Had a discussion with support; they reasonably answered that 01/01/1970 00:00:00UTC is unix time zero.

The thing is, negative time does no harm; we can successfully go down to about Dec.13th, 1901 (as Wikipedia says). Maybe when we get closer to 2038, and 64-bit timestamps will make more urgent sense, we'll be able also to go down to ancient times, and record Roman or Egyptian history, but that's in the future.

I wonder how hard it would be to go ahead and widen the limits of timestamps. In my view, it must not be a big deal, right.

In our company, HealthExpense, now, unfortunately, nonexistent, we used this feature to mark patients dates of birth (since we had no patient born before December 1901). I think I even have some Scala classes for that, but have to ask whether they can be used. 

Anyway, dw is not written in Scala, but still, this can feature can be added as an experiment.

What do you think? 

(I've just joined this group, and this is my first post, so I might be missing something, please correct me in this case.)

[personal profile] dreamishtest
Good Morning! I currently have someone trying to install the Dreamwidth code on a server for my friends and I to use. They are having some issues and may not be able to complete the task, so I was curious if there might be anyone in the community I could pay to install it for us? Regardless, when they are done installing there are two modifications I would love to have done, and was wondering if someone might be interested in being contracted to do that. Thanks for your time! They were able to install the code, but I have some additional questions and am unsure how to make a few modifications and change the layout. If anyone has some spare time I would gladly pay for their assistance :).
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.
momijizukamori: Grey tabby cat with paws on keyboard and mouse. The text reads 'code cat is on the job', lolcats-style (CODE CAT)
[personal profile] momijizukamori
Quick code tour, all of which is now live on the site!

I apologize in advance for the less-clever-than-usual categories )

46 total issues resolved (plus some duplicates closed)
Contributors: [github.com profile] alierak, [github.com profile] cmho, [github.com profile] kareila, [github.com profile] momijizukamori, [github.com profile] rahaeli
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
[personal profile] pauamma
It's past 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 once in a while, 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 June of 2023. Since that time, we have welcomed [github.com profile] dependabot and [personal profile] veryroundbird as new contributors! Congratulations and thank you again!

  #  User                      Changes     Latest
  1. kareila                    1668.5     Sun Oct 01 00:56:09 2023 UTC
  2. momijizukamori             380.16     Thu Sep 21 22:53:47 2023 UTC
  3. alierak                      57.5     Wed Aug 02 16:21:24 2023 UTC
  4. veryroundbird                  24     Fri Jul 28 15:34:08 2023 UTC
  5. pauamma                       151     Wed Jul 05 18:54:26 2023 UTC
  6. dependabot                      1     Tue Apr 25 20:48:48 2023 UTC
  7. mark                        806.5     Thu Apr 06 05:51:43 2023 UTC
  8. vivtek                          1     Mon Feb 13 18:48:36 2023 UTC
  9. alansill                        2     Tue Nov 22 15:47:35 2022 UTC
 10. chebegeek                       3     Wed Oct 26 01:30:42 2022 UTC

 11. rmholsen                        1     Fri Jun 17 19:28:18 2022 UTC
 12. batrachian                     19     Mon Jan 17 19:44:30 2022 UTC
 13. martindemello                   4     Thu Aug 12 04:59:14 2021 UTC
 14. roadrunnertwice               416     Sun Feb 28 04:09:21 2021 UTC
 15. pinterface                     18     Sat Jul 11 03:07:04 2020 UTC
 16. alexwlchan                      5     Sun May 26 04:56:47 2019 UTC
 17. allen                          64     Mon Apr 29 17:10:26 2019 UTC
 18. srukle                         13     Wed Dec 19 03:35:50 2018 UTC
 19. darael                         10     Sun Dec 09 01:41:18 2018 UTC
 20. swaldman                       86     Sat Jul 21 04:13:07 2018 UTC
The rest of the list... (170 total) )
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.
kareila: "Mom, I'm hungry." "Hush, I'm coding. You ate yesterday." (coding)
[personal profile] kareila
Coming soon... to a web site near you... very near... here, in fact. Right here in front of you. This is the site. The one that you're reading right now. Yes, you! Here is your personal guide to our last month's worth of code changes, which should be going live sometime in the next few days.

Step right this way... )

89 total issues resolved
Contributors: [github.com profile] alierak, [github.com profile] cmho, [github.com profile] kareila, [github.com profile] momijizukamori, [github.com profile] pauamma, [github.com profile] zorkian
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. 22nd, 2026 10:49 am
Powered by Dreamwidth Studios