The node export module (http://drupal.org/project/node_export) and install profile API can work well together to export nodes, it does CCK taxonomy etc too. Mostly, it just makes exporting a lot easier.
I don't believe this is a bug, but actually a feature ;). I also don't think this is an issue in D7. I guess in an ideal world system_theme_data() would have a reset parameter.
hook_update suffers a similar issue but in two ways.
Update is run in a batch (as I though install was) and if you statically cache something and the batch iterates on (eg it took a long time and had to "tick" to update the screen) then it's essentially a new request and I had a LOT of trouble with static variables getting reset when I didn't expect them to.
The other issue I had was basically the same as above - a function which statically cached with no way of overriding. My solution (during update) was to test if that function returned an expected value, if not, variable_set a semaphore and fail that update. This would cause me to have to run update.php twice, but the second time the function's static cache would be cleared and would return the expected results (and thus the sempahore could be reset).
Copying a function and then undoing the parts that are going to fuck you is nearly the only way to accomplish some things.
It can sometimes get out of hand though, if one of the functions you need to call makes use of this function waaaay down the tree, and you end up having to micro-fork all the functions down. (see anything relating to themes).
whoops :) bunk permissions on the upload viewing. Yeah, I thought about doing this as a feature with a bit more options. And I don't think it would take a much work to make the aggregator module exportable either, not a lot of settings there (but that would be for another day). In the end pretty much all the work was in the view, so it seemed to be simplest just to post that.
No attachment? Oh, and also, turning this into a Feature instead and sticking it on Github would be cool. Although, not sure if the aggregator module is exportable (I don't think it is).
When I've looked I've not at all been impressed with the selection of South African wines in Canada. I've even found that some of the SA wines in BC you can buy don't even exist in South Africa, which is pretty odd (export only I guess). I think BC has a pretty decent selection of Australian and South American wines though, yeah.
South Africa /does/ have their own port actually. It's referred to as Cape Port (I think the term Port can only properly refer to fortified wines from Portugal). The port here is IMHO as good as any I've had too. Though I've never had a really expensive port before either.
I love South African viognier! Though the selection of SA reds in BC is probably fine, it has to compete with reds priced slightly cheaper from South America--though in BC terms "slightly cheaper" means $14 instead of $15. South Africa also distills brandy too. I have a cheap bottle that's not very good on its own (from Paarl), but they probably make much nicer stuff that could stand to be sipped. How about port? Does South Africa have their own? Have you tried any? Cheers!
I have been with VoiceNetwork.ca for 3 years almost and I love the service they provide. The support is fast, I can download all my calls into excel. And they have a huge selection of Canadian and USA DID numbers.
They have also setup web banking so I can pay them directly from my TD CANADA trust account. I don't think a lot of providers have Web banking setup.
I said: "In 2001, the first person who wasn't born into a rich family was elected (Thaksin Shinawatra)."
You said:
"Please do you research better than this. Thaksin Shinawatra is not the first rich boy who become Thai Prime Minister. Please search "Chaun Likphai". He is born to a normal family."
I never said he was the first rich boy... I said he was the first person who /wasn't/ born into a rich family. So I don't think we're disagreeing here...
In fact, I don't think anything you said here contradicts what I've written. You're just clearly someone who dislikes Thaksin and you have your reasons. I'm not Thai, nor have I ever lived in Thailand so I have no strong opinion one way or the other on the matter. What I do know, is that the corruption he was accused of sounds no different than what the leaders of any other democratic country do :).
Please note that this post was written on Dec 5, 2009, months before the current uprising began.
With regards to the current political crisis, as far as I can tell what the protesters want is an election, since the current government was not elected. I don't know a lot about the situation though, and this post merely provides a very high level overview and a little background information from the past few years.
Please do you research better than this. Thaksin Shinawatra is not the first rich boy who become Thai Prime Minister. Please search "Chaun Likphai". He is born to a normal family.
Thaksin Shinawatra is born to at least to say an upper middle class family. His family owns one of the biggest silk store in Chiang Mai. If he is so sincere, how can you become more rich when you were Prime minister.
Previous political uprising in Thailand will always support by highly educated people such as university students. However, do you see any students at this time?
Please search the situation about how his daughter get into the university. Thailand has a standard one test for get into university and never have any rumor about disappearing exam until his daughter's exam year.
If he is so clean, why upon he becomes Prime minister, his company bought out the news channel and newspaper.
He had several great project which actually in place with a new name or have an underlying agenda.
His medical plan brings the country to a crisis of hospital bankruptcy. His 30 Baht cures every disease is failing. Before poor people get treat for free or pay something like 100 baht and get medicine for a whole month. This is just an example. Now they need to pay 30 Baht and get medicine for a week. Some people travel like 3 hours to go to hospital. Going 4 times a month cause people more money. These are people who get paid by days.
Yeah when I visited Japan I noticed that nobody eats and walks. It is a big culture shock when you compare it to America where we are eating everywhere and anywhere.
Ya I'm currently with them also and getting out, I have been having simular problems with thereservice and can no longer make outgoing calls and now I have tried several times to reach them. I have left messages to call me but no one ever does, also no one there knows what they are doing, I have bills which have been overcharged and they have never rectified it. They are the worst company i have ever delt with there customer service support is terrible.
The node export module (http://drupal.org/project/node_export) and install profile API can work well together to export nodes, it does CCK taxonomy etc too. Mostly, it just makes exporting a lot easier.
My über-factor is missing:
Tell me author(s) and/or maintainer(s) of a project, and I tell you what to expect.
.
Nice theme! :)
I guess I think that you SHOULD be able to enable more than one theme in your install profile -- hence, bug. If it's fixed in D7, great.
I don't believe this is a bug, but actually a feature ;). I also don't think this is an issue in D7. I guess in an ideal world system_theme_data() would have a reset parameter.
There are some related issues I found with this search.
This is obviously a bug in core. Can you file an item in the issue queue at least as a placeholder and link to it from this post?
hook_update suffers a similar issue but in two ways.
Update is run in a batch (as I though install was) and if you statically cache something and the batch iterates on (eg it took a long time and had to "tick" to update the screen) then it's essentially a new request and I had a LOT of trouble with static variables getting reset when I didn't expect them to.
The other issue I had was basically the same as above - a function which statically cached with no way of overriding. My solution (during update) was to test if that function returned an expected value, if not, variable_set a semaphore and fail that update. This would cause me to have to run update.php twice, but the second time the function's static cache would be cleared and would return the expected results (and thus the sempahore could be reset).
Or should that be an anti-pattern.
Copying a function and then undoing the parts that are going to fuck you is nearly the only way to accomplish some things.
It can sometimes get out of hand though, if one of the functions you need to call makes use of this function waaaay down the tree, and you end up having to micro-fork all the functions down. (see anything relating to themes).
Sweet! You rock :)
It is added now ...
Thanks Khalid :) I actually do have a planet tag. Just waiting for someone to have time to look at this request http://drupal.org/node/826198
Why not have a tag specially for the Drupal Planet? Seems a lot of posts would be interesting to many Drupal developers.
Do it!
whoops :) bunk permissions on the upload viewing. Yeah, I thought about doing this as a feature with a bit more options. And I don't think it would take a much work to make the aggregator module exportable either, not a lot of settings there (but that would be for another day). In the end pretty much all the work was in the view, so it seemed to be simplest just to post that.
No attachment? Oh, and also, turning this into a Feature instead and sticking it on Github would be cool. Although, not sure if the aggregator module is exportable (I don't think it is).
Thanks Boris, I hadn't seen that one. I also updated your link with the _ instead of the -
There is also http://drupal.org/project/twitter_pull, which is mainly convenience functions in PHP.
When I've looked I've not at all been impressed with the selection of South African wines in Canada. I've even found that some of the SA wines in BC you can buy don't even exist in South Africa, which is pretty odd (export only I guess). I think BC has a pretty decent selection of Australian and South American wines though, yeah.
South Africa /does/ have their own port actually. It's referred to as Cape Port (I think the term Port can only properly refer to fortified wines from Portugal). The port here is IMHO as good as any I've had too. Though I've never had a really expensive port before either.
I love South African viognier! Though the selection of SA reds in BC is probably fine, it has to compete with reds priced slightly cheaper from South America--though in BC terms "slightly cheaper" means $14 instead of $15. South Africa also distills brandy too. I have a cheap bottle that's not very good on its own (from Paarl), but they probably make much nicer stuff that could stand to be sipped. How about port? Does South Africa have their own? Have you tried any? Cheers!
we can hardly wait too!!
It looks gorgeous there - I can hardly wait to come and visit you.
I have been with VoiceNetwork.ca for 3 years almost and I love the service they provide. The support is fast, I can download all my calls into excel. And they have a huge selection of Canadian and USA DID numbers.
They have also setup web banking so I can pay them directly from my TD CANADA trust account. I don't think a lot of providers have Web banking setup.
I said: "In 2001, the first person who wasn't born into a rich family was elected (Thaksin Shinawatra)."
You said:
"Please do you research better than this. Thaksin Shinawatra is not the first rich boy who become Thai Prime Minister. Please search "Chaun Likphai". He is born to a normal family."
I never said he was the first rich boy... I said he was the first person who /wasn't/ born into a rich family. So I don't think we're disagreeing here...
In fact, I don't think anything you said here contradicts what I've written. You're just clearly someone who dislikes Thaksin and you have your reasons. I'm not Thai, nor have I ever lived in Thailand so I have no strong opinion one way or the other on the matter. What I do know, is that the corruption he was accused of sounds no different than what the leaders of any other democratic country do :).
Please note that this post was written on Dec 5, 2009, months before the current uprising began.
With regards to the current political crisis, as far as I can tell what the protesters want is an election, since the current government was not elected. I don't know a lot about the situation though, and this post merely provides a very high level overview and a little background information from the past few years.
Please do you research better than this. Thaksin Shinawatra is not the first rich boy who become Thai Prime Minister. Please search "Chaun Likphai". He is born to a normal family.
Thaksin Shinawatra is born to at least to say an upper middle class family. His family owns one of the biggest silk store in Chiang Mai. If he is so sincere, how can you become more rich when you were Prime minister.
Previous political uprising in Thailand will always support by highly educated people such as university students. However, do you see any students at this time?
Please search the situation about how his daughter get into the university. Thailand has a standard one test for get into university and never have any rumor about disappearing exam until his daughter's exam year.
If he is so clean, why upon he becomes Prime minister, his company bought out the news channel and newspaper.
He had several great project which actually in place with a new name or have an underlying agenda.
His medical plan brings the country to a crisis of hospital bankruptcy. His 30 Baht cures every disease is failing. Before poor people get treat for free or pay something like 100 baht and get medicine for a whole month. This is just an example. Now they need to pay 30 Baht and get medicine for a week. Some people travel like 3 hours to go to hospital. Going 4 times a month cause people more money. These are people who get paid by days.
Yeah when I visited Japan I noticed that nobody eats and walks. It is a big culture shock when you compare it to America where we are eating everywhere and anywhere.
Cheers!
Collin LaHay
uber link building
Ya I'm currently with them also and getting out, I have been having simular problems with thereservice and can no longer make outgoing calls and now I have tried several times to reach them. I have left messages to call me but no one ever does, also no one there knows what they are doing, I have bills which have been overcharged and they have never rectified it. They are the worst company i have ever delt with there customer service support is terrible.
cool pics scoot!