Posts

angularjs - $scope variable has no content -

angularjs - $scope variable has no content - i had controller , function getdata shown. problem $scope.results outside loop has no content. while within sec http.get request, has content. appcontrollers.controller('myasellerorderctrl', ['$scope', '$rootscope', 'order', '$http', function($scope, $rootscope, order, $http) { $scope.results = []; $scope.getdata = function() { $http.get('api/orders/business/?user_id=' + $rootscope.user.user_id).success(function(data){ (var = 0; < data.length; i++) { $http.get('api/orders/seller/?business_id=' + data[i].business_id).success(function(data1){ // console.log(data1); $scope.results[i] = data1; }); } console.log($scope.results); }); }; $sc...

Can I write software using Unreal Engine 4 without compiling Unreal Engine 4 from source? -

Can I write software using Unreal Engine 4 without compiling Unreal Engine 4 from source? - i watched video on youtube: introduction ue4 on github basically explaining how unreal engine 4 source code github , how build in vs2013. now understand need if people want create modifications engine itself, if want utilize engine , programme games it, need this? i'm building right (75 minutes , counting), because watched ue4 programming tutorial , noticed missing few things programmer in tutorial had (thought maybe because didn't compile engine). figured needed build engine because ue4 programming tutorial said "i assume have downloaded engine source github , compiled in vs2013", nobody says why, nobody states whether or not required create game in c++ using unreal engine 4. no dont need whole engine. there difference between code builds editor , code builds game. if want programme game should create new "code project" , modify code you're...

path - File not found with subdomain and php's system() function -

path - File not found with subdomain and php's system() function - in php script want check file types, this: $info = explode('/',system("file -bi -- uploads/img/test.gif")); if ( $info[0]) echo 'ok'; this working fine, long url without subdomain, f.e domain.com, not working under en.domain.com. appears, file not found. on other hand, if in same script check existance of file: if ( file_exists("uploads/img/test.gif")) echo 'exists'; the file found, wheter current url domain.com or en.domain.com. why file not found, if system() function used? solved friends, figured out solution, after 3 working days. maybe can imagine how relieved am. the solution in php options activate mod_rewrite. allready activated in regular domain, not subdomains. guess have thought of earlier. though answers didnt lead me how solve this, still give thanks input, going in same directions trying solve myself past days. the shell command ...

.htaccess - apache 2.4 howto "Require not ip" per virtualhost? -

.htaccess - apache 2.4 howto "Require not ip" per virtualhost? - i know it's not efficient, have @ root htdocs (for "/") big .htaccess whith banned ip inside, this: <requireall> require not ip 1.163.1.5 require not ip 1.163.192.83 require not ip 1.163.193.136 ... (4000+ ips) </requireall> (it's scriptly updated upon analysis of access log files: scans 404 w00tw00t , script kiddies attempts, see mean). thought behind utilize of .htaccess dynamically updated , parsed when add together new ips :-) like many companies, have public virtualhost hear on http:80 multiple proxypass rules, multiple backend sites listening on localhost (or lan ips). the goal configure security stuff in reverse proxies, company does. hence, expected, every request backends have 127.0.0.1 (or local proxy ip) source ip. however noticed configuration not working expected: .htaccess evaluated backend sites only. not front end virtualhosts. excactly reverse ...

monodroid - Custom Visibility Converter - Android - Release (MvvmCross) -

monodroid - Custom Visibility Converter - Android - Release (MvvmCross) - i've developed application android using mvvmcross. there part of in should show either imageview or mvximageview. when test in debug mode works fine, when alter release mode visibility converter seem stop working. other converters work way should, converters stop working. a resume xml: <linearlayout android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center" android:orientation="vertical"> <imageview android:layout_width="120dp" android:layout_height="120dp" android:scaletype="fitcenter" local:mvxbind="visibility myobject, converter=byteinversevisibility; assetimagepath myobject, converter=attachmenttypetosource" /> <mvx.mvximageview android:layout_width="wrap_content" android:layout_he...

sqlite - Best way to store 100,000+ CSV text files on server? -

sqlite - Best way to store 100,000+ CSV text files on server? - we have application need store thousands of little csv files. 100,000+ , growing annually same amount. each file contains around 20-80kb of vehicle tracking data. each info set (or file) represents single vehicle journey. we storing info in sql server, size of database getting little unwieldy , ever need access journey info 1 file @ time (so need query in mass or otherwise store in relational database not needed). performance of database degrading add together more tracks, due time taken rebuild or update indexes when inserting or deleting data. there 3 options considering: we utilize filestream feature of sql externalise info files, i've not used feature before. filestream still result in 1 physical file per database object (blob)? alternatively, store files individually on disk. there end beingness half 1000000 of them after 3+ years. ntfs file scheme cope ok amount? if lots of files pr...

phoenix framework - What is Elixir Plug? -

phoenix framework - What is Elixir Plug? - as newcomer both elixir , web domain in general (no web framework experience) know, plug? understand cowboy web server (albeit in erlang, not elixir) , phoenix framework building web apps, plug come in? abstraction layer between 2 or perhaps plug-in scheme in same abstraction layer phoenix? is abstraction layer between two yes, exactly! plug meant generic adapter different web servers. back upwards cowboy there work back upwards others. plug defines how different components should plugged together. similar rack in ruby, wsgi in python, ring in clojure, , on. elixir phoenix-framework