Quantcast
Channel: User Chris - Stack Overflow
Browsing latest articles
Browse All 42 View Live
↧

Comment by Chris on Scrum: Technical items in a backlog that is managed by a...

More than one backlog leaves the product owner and dev team in conflict. If there is trust between both sides then this isn't a problem. If there isn't trust you have larger issues.

View Article


Comment by Chris on Good practice to 'authorize' HTTP-File-Upload to...

This will work if the session cookie is on the same domain. You don't want to pass the PHP Session ID around.

View Article


Comment by Chris on Dates difference wrongly stored in MySQL database

I would start by checking the format of the date your sending, and the format it becomes when its in MySQL. This is a classic problem a lot of PHP developers have when dealing with date/time math...

View Article

Comment by Chris on Finding out which Javascript methods are never called

The only way to be 100% sure is to write tests.

View Article

Comment by Chris on Why underscorejs use blocking style without callback?

Can you post an example?

View Article


Comment by Chris on tooltip doesn't work in a table cell

If there is a way to manually show the tooltips without binding them to elements this would be a good use case for delegate

View Article

Comment by Chris on Can't make admin landing page work

Look at your apache logs, and see whats going on in there. You may need to configure it to show redirects. Secondly make sure Rewrite is enabled, or it will never hit codeigniter's .htaccess file.

View Article

Comment by Chris on how to disable button jquery or html

This looks like a mixture of PHP and javascript. PHP can't execute Javascript and vice versa. If you enclose the javascript in script tags and echo it as a string It will probably get you what you...

View Article


Comment by Chris on Run the remote script in linux without login

@Ashwin using public key authentication you won't need a password. You should still have some kind of authentication but ssh key auth won't require a password unless you put a password on the key.

View Article


Comment by Chris on Show parks in terrain view

Sorry it took me so long to see your tweet. I don't remember doing anything special when we did instaearth. Our zoom level is very high so we're right down on top of the map when you zoom in. I think...

View Article

Comment by Chris on Why does adding an unnecessary ToList() drastically speed...

If you're only going for a single record you should use .Single, by using .First you run across the chance that there is more than one matching row and you may not be getting the data you expect.

View Article

Comment by Chris on Content-Security-Policy (CSP): how to allow svg image in...

It should be noted that this opens the page up for an attack vector for any item on the page using object-src data. If your goal is security you'd be better off using a sha hash of the script trying to...

View Article

Answer by Chris for MySQL - What JOIN should i use? 2 Tables, Not the same...

I think you need to rethink your table structure. Having member_1, member_2, member_3, member_4 is just going to cause more problems in the long run. Especially when your trying to relate data.I'd...

View Article


Answer by Chris for JQuery UI: Drag-and-drop disables mouseover events?

You have to re-assign the event to the object after dropping it.The drag and drop is probably removing the old object and putting a clone of it in the new place. Rather than maintaining the same...

View Article

Answer by Chris for Is there += for window.onload in Javascript?

In jquery you can do $(document).onload(function() { // do something}//then later on do $(document).onload(function() { // do something here too!}jQuery will intelligently add both events to the onload...

View Article


Answer by Chris for How to prevent subview from overlapping tab bar?

In the interface builder make sure that you've set the navigation bar and tab bar spacers up. It should be the first list of options on the first tab in the Interface builder Properties view. This will...

View Article

Answer by Chris for Callback function is not executed

take $.ajax({ type: "POST", url: action, data: formData, dataType: "html", success: function(msg){ alert('23'); } });and adderror: function(error) { console.log("an error", error);}using firebug.it may...

View Article


Answer by Chris for Object Oriented Programming with PHP: Refreshing Kills my...

PHP isn't statefull every request is a new process on the serverYour best bet is to use session data and hand the session data to the objects when you instantiate them. Have the contructors pull the...

View Article

Answer by Chris for What is safer? Should I send an email with a URL that...

I've always been a fan of setting a hashcode and giving them a link. Sending an email to the user afterwards letting them know they requested a password recovery link, and after they set one telling...

View Article

Answer by Chris for How do I store a persistent array of objects on the iphone?

Look at the settings moduleStraight tutorial from appleCovers using the settings bundle to allow a user to change preferences or to just store them for yourself.I personally like using Core Data and...

View Article

Answer by Chris for JSON Spawning mysql sleep processes

Do the processes stick around? Mysql likes to keep a few threads open to recieve requests, i wouldn't worry about them unless it leaving a lot of them open and there taking up resources.If your hitting...

View Article


Answer by Chris for Safest way to pass credit card number through a...

Take the credit card number as the last step so you don't have to store it. There are many legal issues around storing that information.

View Article


Answer by Chris for What does an extraordinary release process look like?

I'd say the fist step is to start using version control if your not, and if you are using version control research branching and tagging. Using branching you can keep code that isn't production ready...

View Article

Answer by Chris for Javascript anonymous functions sync

Taking a brief look at widgetkit here is one possible solution. Using jquery you can search for any objects that have a class of slides with a child of next and click all others. The code provided...

View Article

Answer by Chris for Ruby windows installer: cannot run gem - required files...

Verify that the gem binary is in your executable path.

View Article


Answer by Chris for Unexpected Token '

Typically that means that you're request is failing and you're probably getting an html page instead of a JSON response. Parse is failing because it's receiving html and not a JSON object. Verify that...

View Article

Answer by Chris for Jquery statement that won't J

in chrome try using console.log(placeToPutData) to make sure you're finding what you're looking for. Alternatively you should be able to just do $('.sl_share_hide_me').after(sometext) If there is only...

View Article

Answer by Chris for can't access model in backbone.js

I'm fairly certain that Backbone by default uses JSON for all requests and has no idea what to do with XML, you'll probably need to override the sync method for the collection in order to us use...

View Article

Answer by Chris for Ruby if else syntax

You need to look at look into user.image.nil? user.image.empty? and user.image.blank? depending on what you're using and apply the same to the rest of your conditional. You need to find out...

View Article



Answer by Chris for Lua: How do I have it change a variable into a number in...

If what your trying to do is print "H" as "HHH" provided the user provided 3, you can just use a loop to concatenate a string with all three, then just print that.

View Article

Answer by Chris for How to store facebook user's information(except password)...

$my_url is the postback URL. It's where Facebook will post its response when you're asking for oauth credentials. If you're using localhost you can provide that as the URI for facebook. You can even...

View Article

Answer by Chris for Codeigniter session data lost after redirect

Make sure your app has permissions to create the session files to /tmp (where file sessions are stored) if your not using a database for the sessions.More than likely you need to look at php.ini on the...

View Article

How can simulate the IPhone app upgrade process in the SDK simulator

I'm working on an iPhone app and about to release version 2. We'll be changing the core data model and I'd like to simulate the upgrade process in the simulator before releasing it to users and...

View Article


Answer by Chris for Use variable value on php webpage in separate javascript...

You could treat it like html, update your doc to add a tag around the result. "true" at which point your almost using XML.You should be able to get the raw response. I usually don't recommend consuming...

View Article

Answer by Chris for Good practice to 'authorize' HTTP-File-Upload to...

I believe using a token IS the best practice. If you can setup a common 3rd party server to handle the key verification that would probably be a good starting point and I've included a basic setup for...

View Article

Answer by Chris for Write and upload file to remote temp directory , PHP

Anyone can upload using your PHP form. If you're talking about, without using your PHP form the answer is NO.What 777 says is that any user on the machine can read, write, execute and delete files in...

View Article


Answer by Chris for MYSQL triple database selection

You need to do 3 separate queries, unless there are millions of rows to display in each select box the cost of these queries is very cheap, and you won't see any database load from it. Combining them...

View Article


Answer by Chris for Hide /toggle if clicked outside

You're going to need to create an absolutely positioned div covering the content area you want to click to hide the sidebar you'll have to specify its width and height via CSS. It will also need its...

View Article

Answer by Chris for How to find out if IE11 loaded a resource from cache

It looks like cached resources show up as greyed out 304's in the network capture when "always reload from server" is turned off.Also, I would first check if expiration headers are set on the resource....

View Article

Answer by Chris for Most smallest lossless image format and/or library?

Different images have different compressions. With JPEG you sacrifice quality for smaller size and with PNG 24 you get alpha transparency. What you're probably more interested in is getting the...

View Article

Comment by Chris on JavaScript runs in Firefox, but not IE or Chrome?

is your templating engine javascript or server side based? If its js and you fire your listener before the html is rendered, it won't pick up all the TD columns.

View Article

Browsing latest articles
Browse All 42 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>