does one create an admin front-end from scratch for every application?
are there any tools for aiding this process?
some tutorials?
share your thoughts and experiences!
Does anyone know how to return an ordered list of strings with null values last? I have something like this:
using(var context = new DomainEntities())
{
var result = context.Users.OrderBy(u = u.LastName).ThenBy(u = u.FirstName);
}
My problem though is that this query returns null values before non-null values.
Any thoughts?
ok I know that this should be simple... anyways say:
line = "$W5M5A,100527,142500,730301c44892fd1c,2,686.5 4,333.96,0,0,28.6,123,75,-0.4,1.4*49"
I want to strip out the spaces. I thought you would just do this
line = line.strip()
but now line is still '$W5M5A,100527,142500,730301c44892fd1c,2,686.5 4,333.96,0,0,28.6,123,75,-0.4,1.4*49' instead of '$W5M5A,100527,142500,730301c44892fd1c,2,686.54,333.96,0,0,28.6,123,75,-0.4,1.4*49'
any thoughts?
I'm trying to use GroovyShell to evaluate some snippets of code from within a Grails application, but I don't seem to be able to access our Grails domain classes. For example when I try to evaluate something like this:
Eval.me("my.package.MyDomainClass.get(1)")
I see an error like this:
groovy.lang.MissingPropertyException: No such property: my for class: Script1
Any thoughts on how I can get this to work?
Thanks.
Apache keeps serving up my Rails files with a Content-Type of 'text/plain' in the header. I have mod_mime installed, a mime.types files with all the correct MIME assignments, and the following code in my configuration. Any thoughts?
DefaultType text/plain
<IfModule mime_module>
TypesConfig /etc/apache2/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
</IfModule>
Arg! When I save my product kit, with several product selected, I land on a blank product kit node (as in no sub products). The message confirms the update, however when I return to the node edit page the products are no longer selected, hence the blank kit node page.
Thoughts on debugging this, or what might lead to it?
Is speed of the (main/only viable) implementation of an interpreted programming language a criteria today?
What would be the optimal balance between speed and abstraction?
Should scripting languages completely ignore all thoughts about performance and just follow the concepts of rapid development, readability, etc.?
I'm asking this because I'm currently designing some experimental languages and interpreters
Hi, I have a string and I want to check if it represents a proper namespace, eg. System.IO is ok, but System.Lol is not.
I guess some reflection should be used, but I can't figure this out.
Any thoughts?
Let's say I have a string like:
$text = "<object>item_id1a2b3</object>xxx<object>item_id4c5d6</object>"
I want to convert it to:
%ITEM:1a2b3xxx%ITEM:4c5d6
Here's what I've got:
$text = preg_replace("/<object.*item_id([a-zA-Z0-9]+).*<\/object/","%ITEM:$1",$text);
This isn't quite right, as the search is greedy.
Thoughts?
Thanks!
I have seen how to add google calendar, but when I run it, it create's a new calendar, even though the selector I am using, refer's to an existing calendar.
$calendar.fullCalendar({
events: $.fullCalendar.gcalFeed($feed_url.val())
});
I have other functions, that use renderEvents, but I am not sure how to use that with google calendars...
Any thoughts or suggestions?
Thank You.
Hi
Its been on the cards for a while, but now that Amazon have released Elastic Load balancing what are your thoughts on deploying this solution for a high-traffic web app.
Should we replace HAProxy or consider ELB as a complimentary service in front of HAProxy
Appreciate any comments or suggestions
Thanks
Dom
I need to connect to a password protected MS Access 2003 DB using the JDBC-ODBC bridge. I can't find out how to specify the password in the connect string, or even if that is the correct method of connecting.
Any thoughts?
I was wondering if there were any suggestions for how to best roll with full text searching in your Rails 3 apps? Thinking Sphinx and acts_as_ferret aren't updated for Rails 3 yet, and even basic activerecord search helpers like Searchlogic also aren't there yet.
Any thoughts? Are you using any forked versions of the above gems that have been updated to Rails 3?
i wonder if large web applications like twitter and facebook have admin panels to handle CRUD for users, posts, images, themes and so on just like in CMS like drupal?
so programmers have to code the front for the regular users AND back for the administrators?
if i develop an web application is it recommended that i also code the admin part? or is it unnecessary since i can handle all directly in mysql and by editing php scripts directly?
share your thoughts!
thanks
I have an array of numbers:
@numbers = 1,2,3,6,8,9,11,12,13,14,15,20
and I want to print it this way:
1-3,6,8-9,11-15,20
Any thoughts? Of course I tried using the most common "looping", but still didn't get it.
Im writing a php script to compare the similarity of 2 strings. This works pretty good at the moment, but what I would like to do is match words when one is a synonym of the first.
Any thoughts?
hi all,
I am wondering what the best approach is for creating a horizontal list with custom buttons. I read there is no native control for that:
I am considering a UIView with a scroll view inside. On this scrollview I visualize my array of button objects.
Any thoughts?
If you are looking for /Resource/Id and that resource does not exist, I had always though that 404 was the appropriate response. However, when returning "null" from a Jersey handler, I get back a "204 No Content". I can likely work with either one, but am curious to others thoughts on this.
To answer my own next question. To get jersey to return 404 you must throw an exception.
if (a == null)
throw new WebApplicationException(404);
Hi,
The performance of bit blit on Small monitor(16 bpp,60Hz,1280X1024 resolution) it gives 0.9909ms. The performance of big monitors(8bpp,60hz,2048X5260) it gives 52.315ms .
I use SRCCOPY to do the bit blit operation.how we can optimize the performance of bit blit
on big monitor?
Please share your thoughts.
Thanks
kk
Hello,
I have a password hash that is stored in a table and is put there by the following coldfusion script-
#Hash(EnCrypt(UCase(GetPass.username),EnCode))#
I am trying to add some outside functionality within a c# application. I would like to be able to take advantage of the data that already exists so that I can authenticate users. Does anyone know how I can replicate the above coldfusion code in c#?
Thanks for any thoughts.
I'm looking for the fastest, least memory consuming, stand alone storage method available for large amounts of data for my C# app.
My initial thoughts:
Sql: no. not stand alone
XML in flat file: no. takes too long to parse large amounts of data
Other Options?
Basically what i'm looking for, is a way that i can load with my applications load, keep all the data in my app, and when the data in my app changes just update the storage location.
Hey guys, I have a situation where a MediaElement may loose visibility, which cause the video to stop, I want to override this behavior and let it continue in the background. Thoughts?
Hi,
The following code will not work for me in ie6 but unsurprisingly, it does work in every other browser:
$('#myDropdown').val('value');
I have no idea why this is happening.
Any thoughts?
Paul
Hi I'm working with a project (asp.net mvc) where I need to show pictures on one site. They gone have jquery and be surrounded by a div like <div><img/></div>
I'm relatively new on MVC so I'm not sure what ways are the best to work in it yet. Should I do a ImageHelper so i can access it like <% Html.ImageJquery() %> or should i just do it plain in the view
what are your thoughts on this?
I have an array of numbers:
@numbers = 1,2,3,6,8,9,11,12,13,14,15,20
and I want to print it this way:
1-3,6,8-9,11-15,20
Any thoughts? Of course I tried using the most common "looping", but still didn't get it.