• Register

Recent questions without answers

0 votes
0 answers 2 views
Problem: What Benefit do we get from “ write-through vs write-back ”
asked 7 hours ago Azlan2020 540 points
0 votes
0 answers 2 views
Problem: What is the difference between the left join and the left outer join?
asked 13 hours ago sasha 12.9k points
0 votes
0 answers 2 views
Problem: I'm trying to do some of the golf code challenges, but all of them require action to be taken from stdin. How can I get that in python?
asked 13 hours ago sasha 12.9k points
0 votes
0 answers 2 views
Problem: I have a input type="image". This acts like cell notes in Microsoft Excel. If someone enters a number in the textbox that this input-imageis linked to, I have to install an event handler for it input-image. Then when the user clicks on it image, they get a ... the input-image's event handler. I have tried the following but to no avail. $('#myimage').click(function { return false; });
asked 13 hours ago sasha 12.9k points
0 votes
0 answers 2 views
Problem: For a list ["foo","bar","baz"]and a list item "bar", what is the cleanest way to get its index (1) in python?
asked 13 hours ago sasha 12.9k points
0 votes
0 answers 1 view
Problem: I have a database named foo and a database named bar. I have a table in foo called tblFoobar that I want to move data (and all) to the database from the database bar of foo. What is the sql statement to do this?
asked 13 hours ago sasha 12.9k points
0 votes
0 answers 2 views
Problem: What are null pointer exceptions, what causes them in general, and how do you trace the cause so that you can fix them?
asked 13 hours ago sasha 12.9k points
0 votes
0 answers 1 view
Problem: I had SQL Server 2008 R2 and Visual Studio 2008 and 2010 on my laptop (we are a training company, hence the need for multiple versions). I have installed SQL Server 2012 and have finally got SQL Server Data Tools to show, so that I can create SSRS reports ... I really don't want to uninstall Visual Studio, as this will bring you a number of other problems. How can I solve this problem?
asked 13 hours ago sasha 12.9k points
0 votes
0 answers 2 views
Problem: I'm trying to write a function that will accept a list of strings, or a single string. If it is a string then I want to convert it to an array with only one element. Then I can loop over it without fear of a mistake. So how can I check if the variable is an array?
asked 13 hours ago sasha 12.9k points
0 votes
0 answers 1 view
Problem: I will have the url with parameter as follows: www.test.com/ t.html? a = 1 & b = 3 & c = m2-m3-m4-m5 I need to get the integer value of c. I tried to read the url but I have only m2, I need to do it using javascript.
asked 13 hours ago sasha 12.9k points
0 votes
0 answers 1 view
Problem: How can I get the current time and date in an android application?
asked 13 hours ago sasha 12.9k points
0 votes
0 answers 2 views
Problem: Why is null considered an object in javascript? It is checking if ( object == null ) do something the same as if ( !object ) do something And also what is the difference between null and undefined?
asked 13 hours ago sasha 12.9k points
0 votes
0 answers 1 view
Problem: I am trying to find the most effective way to align the text with a div. I have tried a couple of things and nothing seems to work. .testimonialText { position: absolute; left: 15px; top: 15px; width: 150px; height: 309px; vertical-align: middle; text-align: center; font-family: Georgia, "Times New Roman", Times, serif; font-style: italic; padding: 1em 0 1em 0; }
asked 13 hours ago sasha 12.9k points
0 votes
0 answers 1 view
Problem: How can I see the change history of an individual file in git, populated with what has changed? I've come as far as: git log -- [filename] which shows me the commit of the history of the file, but how can I get the content of each of the changes? I am trying to transition from MS SourceSafe and that used to be a simple right click → show history.
asked 13 hours ago sasha 12.9k points
0 votes
0 answers 4 views
Problem: I have the following error when starting my angular application, even if the component is not showing. I have to comment on the way my app works. zone.js:461 Unhandled Promise rejection: Template parse errors: Can't bind to 'ngModel' since it ... /details/intervention.details.css'] }) export class InterventionDetails { @Input() intervention: Intervention; public test : string = "toto"; }
asked 1 day ago sasha 12.9k points
0 votes
0 answers 2 views
Problem: Given the following html code: <div id="container"> <!-- Other elements here --> <div id="copyright"> Copyright Foo web designs </div> </div> I would like #copyrightto stick to the bottom of the #container. Can I achieve this without using absolute positioning? If the float property supports a 'background' value it seems like it could do the trick, but unfortunately it doesn't.
asked 1 day ago sasha 12.9k points
0 votes
0 answers 2 views
Problem: What is the maximum length of a url in different browsers? Do you switch between browsers? Does the http protocol mark it?
asked 1 day ago sasha 12.9k points
0 votes
0 answers 2 views
Problem: Is this possible through css?I tried: tr.classname {border-spacing:5em} in vain. Maybe I am doing something wrong?
asked 1 day ago sasha 12.9k points
0 votes
0 answers 2 views
Problem: In the code below I have an error when running my android project for RssReader. URL url = new URL(urlToRssFeed); SAXParserFactory factory = SAXParserFactory.newInstance(); SAXParser parser = factory.newSAXParser(); XMLReader xmlreader = parser. ... ); return theRSSHandler.getFeed(); And an error is displayed: android.os.NetworkOnMainThreadException How can I solve this problem?
asked 1 day ago sasha 12.9k points
0 votes
0 answers 2 views
Problem: Duplicate Possible: Detection of an Object Property Defined in JavaScript How can I determine if the variable is 'undefined' or 'null'. My code is the following: EmpName = $("div#esd-names div#name").attr('class'); if(EmpName == 'undefined'){ //DO SOMETHING }; But if I do this, the JavaScript interpreter stops execution.
asked 1 day ago sasha 12.9k points