« first day (663 days earlier)      last day (1525 days later) » 

12:26 AM
0
Q: Age Limits to start programming

EIGRP 100I am 37 years old, and I have a university degree in Computer Systems Enginnering. Sadly I got 2:2 at the end of the course, and now its been 7 years and still didn't manage to get a job in my choosed field of studies. I struggled so much in programming at university. Our lecturer was not so help...

 
 
3 hours later…
3:09 AM
0
Q: How to disable the 'create' and 'create_edit' of a field based on condition? [Odoo]

Anonymous101I want to disable the create and create_edit for my field when the type is outgoing. I tried the code below but doesn't work. Is there something wrong (like syntax) or it is just impossible? <xpath expr:"//field[@name='my_field']" position="attributes"> <attribute name="options">{'limit: 10...

 
 
9 hours later…
12:03 PM
0
Q: Building a heap

Colonel PanicI tried building a max-heap following http://rosalind.info/problems/hea/ The goal of this problem is to build a heap from the given array. For this, go from the end to the beginning of a given array and let each element "bubble up". I understand there's a smarter algorithm to build a heap, ...

 
 
3 hours later…
3:20 PM
var inputFile = $("<input type='file'>"),
	div = $("div");
div.on("click", function(){
	inputFile.trigger("click"); // Now user can choose a file
});
inputFile.on("change", function(){
	var wrapperDiv = div.detach();
	// Check if the file chosen is an image if it is then show a preview to the user
	$(".cancelButton").on("click", function(){
		$(".previewImage").remove();
		$(".containerDiv").append(wrapperDiv);
	});
});
 
1 message moved from JavaScript
 
 
3 hours later…
6:37 PM
create failed:
java.io.FileNotFoundException: /storage/emulated/0/balaiah.mp4: open failed: EACCES (Permission denied)
at libcore.io.IoBridge.open(IoBridge.java:452)
at java.io.FileInputStream.<init>(FileInputStream.java:76)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1090)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1069)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1023)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:968)
at android.media.MediaPlayer.create(MediaPlayer.java:875)
 
1 message moved from Android
 
7:09 PM
0
Q: Python: Control subprocess from calling thread

albertI am working on a database interface to a MongoDB using Python Eve as an API. The database stores several documents containing parameters and values needed for some calculations. I wrote a Python module containing all the calculation routines which need to have access to the desired data. Since...

 
7:53 PM
0
Q: Python: Monty Hall Simulation [Beginner Seeking Feedback]

murtyI wrote the below code as my first self directed effort and would appreciate any input on things that I've done seriously wrong. I worry that perhaps I'm over-relying on if-statements, for example, but am not sure how to change the pieces of code to use them less. Disclaimer: This is my second w...

 
 
Abe
8:46 PM
1 message moved from HTML / CSS / WebDesign
 
 
2 hours later…
10:33 PM
-2
Q: How to approach your first side project?

Luca FülbierI am currently learning Python. After reading a beginners tutorial and practicing the learnt stuff on small coding excercises i thought it was time to start a small side project. The goal is to build a small application and then learn other parts of software development while expanding it (databa...

 

« first day (663 days earlier)      last day (1525 days later) »