pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
Res facta quae tamen fingi potuit ([personal profile] pauamma) wrote in [site community profile] dw_dev_training2013-07-20 01:12 pm
Entry tags:

Question thread #10

Again, it's been way too long since the last question thread (why didn't anyone poke me?) so let's have another one!

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 since no one poked me this time either: do these still serve a useful purpose? And how often would you like to see them, if at all?
sporky_rat: XKCD's Internet Map showing Dreamwidth, with a Dreamwidth D Spiral. Text:  'This is my home'. (home)

[personal profile] sporky_rat 2013-07-20 01:59 pm (UTC)(link)
I enjoy reading the comments to these because they're usually worded in a way that makes sense to someone who doesn't grok code very well.

I would say they are useful.
kaberett: Trans symbol with Swiss Army knife tools at other positions around the central circle. (Default)

[personal profile] kaberett 2013-07-21 03:44 pm (UTC)(link)
Yes, this.
liv: Stylised sheep with blue, purple, pink horizontal stripes, and teacup brand, dreams of Dreamwidth (sheeeep)

Compiling

[personal profile] liv 2013-07-25 08:39 am (UTC)(link)
I think these threads are really useful. I'm only just getting to the point where I can formulate meaningful questions, but I always learn something from reading other people's questions and the answers they receive.

This week I started writing a question about a bug I was stuck on, and putting the question together made me realize what the answer was, so the thread has already helped me.

So now I have another, more general question: working on a Dreamhack, how do I check whether my code compiles? Up to now I've been working in S2, where I can compile either in the S2 editor or by doing a database update via the command line. But for patches that are back-end, rather than S2, how do I screen out syntax errors? So far I've mostly been working on code that directly generates webpages, so I can go to my hack and sometimes get a meaningful error on the page. But what if I'm working on code that doesn't print anything, how can I tell whether it compiles correctly?
liv: Stylised sheep with blue, purple, pink horizontal stripes, and teacup brand, dreams of Dreamwidth (sheeeep)

Re: Compiling

[personal profile] liv 2013-07-25 04:58 pm (UTC)(link)
Many thanks, this is exactly what I needed to know, Apache error log, that's a very good place to start. And thank you for the clear definitions of what counts as frontend and backend too.