Ruby on Rails is maybe the most praised web development framework exist. There are tons of reasons for that, but every framework, even the best of its kind, has its drawbacks.
I'd like to know the most common problems you run into when developing Ruby on Rails applications and the issues you often struggle with.
Hey, I have put together an iPhone web app and i'm currently reading and displaying data from a MySQL database. I have added a search bar to this page and was wondering what the best way would be to search the content on the page.
http://j.mp/c6lV8c
Hey,
I'm trying to create a C# application which allows me to extract just the audio from YouTube videos. I've come across sites that already do that, but I'm not sure how they actually work. What would be the best way to do this programmatically?
Thanks for any advice
I'm trying t build a somekind a clone to wordpress and have some problems understanding the functions that are used there. But that's not the problem..
The thing I'm looking for is good book that detailed explains what aspects to be aware of during the creation of the cms and some code snippets or something in that direction..
With best regards
I want to store locations in my Android phone and be able for the application to tell me if I am inside these points&radius.
What is the best way to store many point&radius locations and efficiently query for them?
I want to loop through a Python list and process 2 list items at a time. Something like this in another language:
for(int i = 0; i < list.length(); i+=2)
{
// do something with list[i] and list[i + 1]
}
What's the best way to accomplish this?
Pretty simple question: when doing some pretty intense drawing with CoreGraphics on the iPhone, how can I specify the pixel format to get optimal performance? Is the format that I get from the context via UIGraphicsGetCurrentContext per definition the best one? I know that RGB565 is supposed to be the fastest to use in OpenGL. Does that go for CoreGraphics as well? General advice?
What are my best options for creating a financial open-high-low-close (OHLC) chart in a high level language like Ruby or Python? While there seem to be a lot of options for graphing, I haven't seen any gems or eggs with this kind of chart.
http://en.wikipedia.org/wiki/Open-high-low-close_chart (but I don't need the moving average or Bollinger bands)
JFreeChart can do this in Java, but I'd like to make my codebase as small and simple as possible.
Thanks!
Has anyone tried to make Android and Arduino communicate with each other?
I found a couple of projects online:
Amarino
Android-Arduino
What do you guys suggest is the best way to make those two communicate?
How do I move a project to a different folder in Visual Studio? I am used to this structure in my projects.
-- app
---- Project.Something
---- Project.SomethingElse
I want to rename the whole namespace SomethingElse to SomethingNew, what's the best way to do that (without manually going into .sln file)?
Hello everyone.
I need to bind an enum to a combobox that is inside a DataGridTemplateColumn, but only some of the options that the enum has.
Example:
Enum options:
Unknow, One, Two, Three, Four, All
Bindable ones: One, Two, Three, Four
Any way to do this?
Many thanks.
Best regards
Hi,
I'm just wondering should I use std::size_t for loops and stuff instead of int?
For instance:
#include <cstdint
int main()
{
for (std::size_t i = 0; i < 10; ++i)
// std::size_t OK here? Or should I use, say, unsigned int instead?
}
In general, what is the the best practice regarding when to use std::size_t?
I need to be able to store the current height and width of a div at any point in time.
Currently I am using div.style.height/width which works fine when the styling is applied inline.
The problem is that this returns for example 600px and not 600.
Is there a better way to do this? If not, whats the best way to get just the number 600?
I build some dlls to be used in a big application, and have a team working in the dlls heart of the application and another team working in the gui, but i am having a problems in the deployment of the dll's when a change is done, because the gui team needs or copy the new dll to the project folder, or delete the old reference and add the new one. Is there a best practice to deal with this problem?
I am using Visual Studio 2008 and devoloping int VB and C#
Thanks !!!
What is the best way to remove all merge fields from a word 2010 document using openxml sdk 2.0, and replace them with a simple text? I have some difficulties to remove them cleanly. Have tried to remove all Run objects that includes a FieldCode with a "MERGEFIELD" defined, and appended a new Run with my text. But I am missing something crucial since the field seems to stay defined for this element.
I often see things like this in rails views:
<% form_tag some_path do -%>
<% end -%>
Why is there a "-" at the end of each of those lines? My code works fine without it, but is it a best practice or some kind of security measure?
hi
param can be one
of the following
a,b, f,d
a, b, c,e
r , q ,c , d
but we want a,b,c,d without spaces
for example if we get: a , b ,c,d
need to change it to a,b,c,d
sytax to do that
yael
what the best sed syntax to change it
I need to be able to make a program that looks through a mailbox of bounced messages, where the messages come back with the initial message in a .msg attachment, and open the .msg attachment for processing in ASP.NET 2.0. Is there any sort of code that might help in this? I've been looking at http://stackoverflow.com/questions/44383/reading-email-using-pop3-in-c as a starting point, but can't figure out how best to open the attachment from there, or if there's some easier way I'm missing.
I want to Zend_Auth and Zend_Session to save user sessions and logins information
whats the easy and best way for implements following items:
1-Disallow multiple concurrent logins for the specific user
2-List all of all user currently logged in
3-Admin could logout of specific user or destroy specific session
Is there any special ZF or PHP API or library that can do the above?
thanks
Hi,
I have to login with a username / password with a c# program with asp.net form.
I have already do that with HttpUtility on PHP website but how to do that with ASP.NET website ?
In ASP.NET, I must handle postback and so on... Any ideas ?
Thanks in advance
Best regards
What's the best way to add foreign keys to my existing tables in Rails with an underlying MySQL database? clearly the solution should be done in a migration, as I want this versioned. Otherwise I'd create the constraints myself.
I can't seem to find one, conducive response to they above. Again, the tables have already been created with previous migrations. I'm just going back now and adding referential integrity wherever it's applicable.
Hey,
I'm a freelance web developer. I'm borred of my hometown, so I want to hit the road. Do you know any shared hacker houses in Europe? Do you have any ideas what is the best way to look for a shared flat? France, Spain, Holland, Italy... I'm interested in virtually any country :)
P.S. I speak English and Lithuanian only, so it's hard to look up shared flat in local languages...
Best to explain with an example.
TabControl has Tab1 and Tab2.
I'm trying to make it so when Tab1 is selected, Button1 is visible and stays visible.
When Tab2 is selected, Button1 is invisible and stays invisible. I need it to work when the Tab is clicked, not when the content area of the Tab is clicked.
Thank you.
I'm going to have my website hosted soon on a VPS or dedicated server (with Windows 2008), so I'm trying to plan ahead. I wonder whether the built-in SMTP server that comes with IIS7 is reliable enough for a production server or should I look for an alternative? I heard good things about hmailserver and best of all it's free, do you have any experience with using the bulit-in SMTP on a high traffic website.
Thanks a lot for any suggestions