Posts

hadoop - How can I access HDInsight Blob Storage from C# Mapper? -

i have "hadoop on windows" cluster blob storage ( log-container @ logfstore ) default storage configured (input , output read , written from/to there). i'm using mapreduce sdk write , manage mapper , reducer in c#. how can access other files on blob storage within c# code? i tried following: file.readalllines(@"/log100by10/input/filelist_short.txt"); result: not find part of path 'c:\log100by10\input\filelist_short.txt' exception file.readalllines(@"log100by10/input/filelist_short.txt"); result: not find part of path 'c:\apps\temp\hdfs\nm-local-dir\usercache\admin\appcache\application_1453123456785_0006\container_1453123456785_0006_01_000002\log100by10\input\filelist_short.txt' file.readalllines(@"wasb://log100by10/input/filelist_short.txt"); result: given path's format not supported file.readalllines(@"wasb://log-container@logfstore/log100by10/input/filelist_short.txt"); result: given pa...

scala - How do I add a dependency to an SBT build file -

i have sbt build file lots of lines this: "org.apache.mahout" % "mahout-math" % "0.5" specifying dependencies. have new jar want add dependencies. how figure out "blah" % "blah" % "blah.0" form should write in? i know basic question. thank in advance help. if dependency want not available repository can put jar "lib" folder in root of project, otherwise dependency should information (groupid, name, version , repository) of artifact (try searching 'maven' + library name in google). everything explained in great detail in sbt documentation .

ios - Google Drive GTL framework, dyld: Library not loaded: @loader_path/../Frameworks/GTL.framework/GTL -

Image
i have app called tripla can sync data via google drive ios 8- devices. however, got crash when synchronizing data on ios 9 devices. therefore, tried upgrade google frameworks latest library , follow tutorial https://developers.google.com/drive/ios/quickstart . this update, got error msg - dyld: library not loaded: @loader_path/../frameworks/gtl.framework/gtl ....... image not found when debugging on real devices. after looking many similar solutions such as: add "gtl.framework" "embedded binary" in tab "general", add "gtl.framework" "linked frameworks , libraries" in tab "general", add "gtl.framework" "copy files" in tab "build phrase", add dynamic path "runpath_search_path" in tab "build settings", the issue still not been solved. does have same issue , solved? ps. debugging on simulator working when clicking "run" on xcode. it, however, get...

Bluemix - MQA : Stop notification that keeps on popping up on screen in android -

i trying integrate bluemix mqa mobile app. using mqa-android-2.7.4.arr file in project. have 1 query related notification popups in android below. how stop notifications keep popping on screen in android? the popup notification cannot suppressed in qa (pre-production) mode not displayed in market (production) mode.

pdfsharp - How to remove border in .FillRectangle garphics method in c# -

Image
i using following code print graphics rectangle var gr = xgraphics.frompdfpage(1); color color = system.drawing.color.white; var brush = new system.drawing.solidbrush(color); gr.fillrectangle(brush, item.position.x, item.position.y, item.width, item.height); but when execute above code there border on rectangle.that rectangle in following image. in image border showing when execute above code, there way can remove border? how when skip fillrectangle ? think "border" there , reactangle little small.

javascript - convert executable to node module/object -

i tried searching, not luck. i want convert/wrap executable use , nicely in node, , not calling child_process.exec time. example, if wanted git, instead of git help or git clone git://repo.git i'll have somethings like: var git = new cmd('git'); git.help(); git.clone('git://repo.git'); etc.. doe's knows if exist? the closest thing i've found far run-cmd can somethings not automatically. i'll need create object parameters want. thanks, ariel

python 2.7 - Adding new line on a one2many computed field with inverse odoo -

i have one2many computed field want users able add new line of records into. added inverse field it, thing allow existing records modified @api.one def accumulate_files(self): documents = self.env['document.customer'] document_gotten = documents.search([('name','=', self.name)]) docs in document_gotten: self.res_line_ids |= docs.customer_line_ids @api.one def edit_accumulate_files(self): documents = self.env['document.customer'] lines in documents.customer_line_ids: lines.write(self.res_line_ids) i did workaround, not sure how can values of one2many field in inverse method, in new api, in old api. works me @api.multi def _save_telefone(self): partner in self: phone in partner.phone_number_ids: try: # write on exisiting record int(phone.id) # write possible values phone.writ...