Posts

package - What to do with setup.cfg in Python? -

in disutil2, seemed used for entire setup . disutils , setuptools have merged, see setup.cfg used stuff small options in addition setup.py, there. i hoping replace setup.py static config file. seems not can't replace it, have 2 files : .py , .cfg. is willingly have file little ? or can replace setup.py ? if not now, 1 day ? or stay additional config file have add bunch vars because of failed attempt @ making new standard ? what suppose ?

Does Liferay uses active internet connection to deploy to localhost? -

i using liferay first time. , saw 1 thing today. if not connected internet won't allow deploy project on localhost. is in built in functionality of liferay or there can problem @ end? mean in machine. i think yes, if haven't stored certificate locally in system, looks online. if have certificate stored problem @ end.

ios - Black launchscreen -

i have problem when run application. launchscreen black , have following message inside console: objc[4358]: class `springboard' not linked application corefoundation = 1240.100000 do have ideas ? is related question ? if yes, suggesting restarting simulator.

javascript - Code appended with JQuery does not fire click event on input file -

this question has answer here: event binding on dynamically created elements? 19 answers i appending small block of code has inside of image when clicked triggers click event on input file uploading. when page loaded and/or refreshed, there 1 block once changed, fires event append new one. <div class="add_new_image"> <div class="img"> <div class="file-upload-trigger"> <input type="file" name="imagem[]" class="none file-chooser" required/> <img class="more" src="/assets/auto/images/add_image.png"/> </div> </div> </div> the jquery code appending: $('#novo_anuncio .file-chooser').change(function() { readurl(this); $('#novo_anuncio .add_new_image').append( ...

Java blocking local applet from running -

does know way enable java run local applet? work on os x java 8 update 71 java security settings go high high. don't know how add local file exception. doesn't accept it. this applet have html page links java class , run without ide, web browser. mean it's not complex program needs me jsp , sort of things.

iphone - iOS: Which function to override when I need to do something after the view is visible to the user? -

so first thing app list of movies api. i'm trying handle if there's network issue. currently, in viewdidload method, call "updateapiinfo", contains following code: if self.movies == nil { print("stuff went wrong") let alert = uialertcontroller(title: "network error", message: "there nework error.\nyou must connected internet use flicks.", preferredstyle: uialertcontrollerstyle.alert) alert.addaction(uialertaction(title: "exit", style: uialertactionstyle.default, handler: {(uialertaction) in uicontrol().sendaction(selector("suspend"), to: uiapplication.sharedapplication(), forevent: nil) })) self.presentviewcontroller(alert, animated: true, completion: nil) } when viewdidload calls updateapiinfo, message: warning: attempt present <uialertcontroller: 0x7fad10e3ad80> on <flicks.moviesviewcontroller: 0x7fad10e35cc0> view not i...

objective c - addSubView not working, attempting to switch views -

// viewcontroller.m 1: - (ibaction)done:(id)sender { 2: 3: [self.view removefromsuperview]; 4: [self.view addsubview:masterviewcontroller]; 4: } error on line 4: "unexpected interface name masterviewcontroller :expected expression". have 2 view controllers: viewcontroller , masterviewcontroller . i've set first view viewcontroller i'm trying button change view. you can move first oneviewcontroller anotherviewcontroller using this. - (ibaction)buttonpressed:(id)sender { masterviewcontroller *createusercontroller = [[masterviewcontroller alloc] initwithnibname:@"masterviewcontroller" bundle:[nsbundle mainbundle] keywrapper:keychainwrapper]; [self presentviewcontroller:createusercontroller animated:yes completion:nil]; } and if using uinavigationviewcontroller can push viewcontroller like [self.navigationcontroller pushviewcontroller:createusercontroller animated:yes]; and using [self.navigationcontroller popviewc...