All Questions
0
votes
0answers
2 views
Modelica Time Dependent Equations
I am new to Modelica, and I am wondering if it is possible to write a kind of dynamic programming equation. Assume time is discretized by an integer i, and in my specific application x is boolean and ...
0
votes
0answers
2 views
from django.contrib.auth import login as auth_login. Where is the code for login function that is imported as auth_login?
i am currently trying to understand the django inbuilt login function and some of its relationship with the is_authenticated() function.
See below for the django login function in auth package
...
0
votes
0answers
2 views
Showing new ads with Adsense and Backbone.js
I'm currently migrating my website to Backbone.js and i got a question, is there a proper way to display new ads on a new page. These views are rather important since Adsense ads generate revenue on ...
0
votes
0answers
3 views
have a variable available in all Yii views
I would like to have a variable $user_profile available in most of my view files, without me having to create the variable in each controller file. At the moment I have things working but I was ...
0
votes
0answers
2 views
GMGridViewCell not shacking
I have used GMGridView inside my app. When I change the orientation all is fine, but if I change it again and enter edit mode all the cells are shacking except the visible one in the lower-right ...
0
votes
0answers
2 views
Use ViewHelper in alias-mapping in Typo3 Flow
I want to use the alias ViewHelper in Typo3 to set a context variable. This variable is calculated by a function call, so I wrote a custom 'ViewHelper' to achieve the function call (methodInvocation ...
0
votes
0answers
5 views
Big images, but narrow textfield in wordpress blog feed
I´m currently making a blog theme from scratch, with the good help of the theme _s.
What I want is the picture in my blog feed to be big, but the text centered, and narrow be left aligned.
I have ...
0
votes
0answers
4 views
Overriding method of module of gem
I need to override method "email_to_name" of gem omnicontacts as it doesn't work with ruby 1.8.7.
I have error for named regex in this method
lib/omnicontacts/parse_utils.rb:32: undefined (?...) ...
0
votes
0answers
7 views
To much blanks in variable (Uncaught SyntaxError: Unexpected token ILLEGAL )
alert(name);
The output should be 'pikkertonnode_1334187978'
The 2nd ' is to far away from the end of the text.
This is my code:
var name;
var namehelp;
// For individually tab
function ...
0
votes
0answers
3 views
autoscale with margin in matplotlib
in order to have a plot with autoscale axes with matplotlib, I use this code :
axes.set_autoscale_on(True)
axes.autoscale_view(True,True,True)
It works well, and I have this plot :
But I’d like ...
-2
votes
1answer
10 views
ON clause in mysql query
I use this following query ,it works fine,but i have doubt about why we use 'ON' in this
select * from test_table
left outer join test_table_1 on test_table.id = test_table_1.ref_id
0
votes
0answers
6 views
Start activity on boot
I'd like to start my app just after the phone boot. I have already read and tried different solutions (link1, link2) and actually the same code works fine with another app I was developing. Here's the ...
0
votes
0answers
2 views
Convert java.ws.rs.core.Response to JSON for jUnit testing
We have to test our JavaEEServer with jUnit. For this reason we want to test our REST get-methods. We implemented these methods with the Jersey framework. For this reason, the methods return responses ...
0
votes
0answers
2 views
alphanumeric sort in VIM
Suppose I have a list in a text file which is as follows -
TaskB_13
TaskB_2
TaskB_112
TaskB_15
TaskB_116
TaskB_106
TaskB_100
TaskB_102
TaskB_18
TaskB_105
TaskB_115
TaskB_110
TaskB_113
TaskB_104
...
0
votes
0answers
2 views
Defining equations for simplify in a loop (Maple)
I am starting to get used to Maple. I have an old copy of it (Maple 7). I am trying to simplify an equation using the simplify command by typing something like this:
simplify(eqn1, {x[1]^2+y[1]^2 = ...