امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبVote count: 0I need to store data so I have; restaurantName, categories for that restaurant(which would be an array of Strings), an array of Items for each category, and a number for each item in theopen class Item{ var name = String() v...
ادامه مطلبVote count: 0@SpringBootApplication @Slf4j public class Starter { public static void main(String[] args) { SpringApplication.run(Starter.class, args); } } Applicaiton.ymlspring: profiles: default allowedIPPatte: 127.0.0.1|0:0:0:0:0:0:0:1|::1 jpa.hibeate.ddl-au...
ادامه مطلبVote count: 0 I'm creating this flowchart for program i created for an assignment in c++. I used classed, objects and made some function calls. We were only required to do the pseudocode and a flowchart. my question is, how do i represent a class in a flowchart, in my knowledge of flowcharts, you stick to main and just show the object initializations and function calls. When i make a function call to my class, would i have to show the logic of the function too or should i just continue the flow in main after the call. asked 25 secs agoJuice Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I am trying to subclass a UILabel so that it has a default keing set to 1.5 then i am going to use that in my app with multiple labels. goal is to have default ke set out of the box so i can avoid repeated code all over the place also labels are set as mix of attributed and regular text Exapmple: @IBoutlet weak var myLabel: CustomeLabelWithKe! myLabel.attributedText = myAttributedText @IBOutlet weak var myOtherLabelInADifferentViewController: CustomeLabelWithKe! myOtherLabelInADifferentViewController.text "Foo Bar" both of these label should have ke of 1.5 asked 14 secs agoSwift_Leaer Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I've created a custom dropdown element. The number of options it can have is based on a Database Table (I haven't created the Table yet). Like the number of options can be 4 or even 5 or anything for that matter. I'll use PHP to give the number of options for the dropdown. Each of the options are in an li tag. The li siblings are inside the ul tag. I have a CSS file which animates the li items. But instead of animating them all at once (in which case I would just animate the ul and would get the same effect), what I want to do is to animate them one by one. Each li will have a delay which is progressive. For example if the first li has a 0s delay and a duration of 300ms then th...
ادامه مطلبVote count: 0 im creating a class where i would be able to have in my constructor dynamic variables, but im not sure if im doing the right way or if it is valid. Example static: my class: class MyClass{ constructor(options){ this.propertyname = options.value; this.propertyname = options.value; this.propertyname = options.value; } } Does this example would be the same of the above? My only issue would be that the example i have wasnt making the options value assign to "this." my class: class MyClass{ constructor(options){ for (var property in options) { if (options.hasOwnProperty(property)) { this[property] = options[property]; } } } } Calling: var example = new MyClass({ property1: "Somethin...
ادامه مطلبVote count: 0 Help, I can't seem to get an output from my inherited shape, whats is wrong with my code? Anyone? I have shortened the code to exclude all the extra constructors and getters and setters, but I hope this provides enough context. public class Shape { public String color; public Boolean filled; public Shape(String color, Boolean filled) { this.color = color; this.filled = filled; } public String toString() { retu "Shape[color = " + color + "filled = " + filled; } ----------------------------------------- public class Rectangle extends Shape { public double width; public double length; public Rectangle(double width, double length) { this.width = width; this.length = length; } @Over...
ادامه مطلبVote count: 0 When ruing testng tests with Surefire 2.19.1, I am ruing with setting 0. When I add this setting, some of my tests fail where the File class is being used. Tests that normally succeed now fail with errors around not being able to find the file. The files exist in the same location as before, it seems that the classpath is being changed when not using forks. If I use the following code, the File issue goes away, however I can't do this for all problems. f.exists() -- This fails f = new File(f.getAbsolutePath()); f.exists() -- This now works. Is there a way to make the classpath the same as when forkcount is non zero? asked 1 min agoTodd Patch Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I am currently facing an issue related to logging messages in my WPF application. I am keeping a static class for logging messages throughout my application which contains a function private SomeService service = new SomeService(); private void LogMessage(string message) { service.Log(message); } My issue is in my screens where I require logging, I append strings from different places in the screen and pass it to the LogMessage function. I have very large data to be logged from different places within the screen. Now the issue I am facing is that a new member has been introduced ie public bool IsLoggingEnabled = false; Now I need to check this condition each time before appendi...
ادامه مطلبVote count: 0 I am populating a QGraphicsScene with instances of a custom item class (inherting QGraphicsPathItem). At some point during runtime, I try to remove an item (plus its children) from the scene by calling: delete pItem; This automatically calls QGraphicsScene::removeItem(), however it also leads to a crash in the class QGraphicsSceneFindItemBspTreeVisitor during the next repaint. asked 24 secs agoPhilip Allgaier 1 Answer Vote count: 0 TL;DR: The solution is to ensure that QGraphicsItem::prepareGeometryChange() gets called before the item's removal from the scene. The problem is that during the item removal from the scene, the scene inteal index was not properly updated, resulting ...
ادامه مطلبVote count: 0 like php code below : how to make a class an method an stored to a variable, and call again by method? like $mysqli and $query above? asked 43 secs agoBar O Kuiawan This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.Recommended article from FiveFilters.org: Most Labour MPs in the UK Are Revolting....
ادامه مطلبVote count: 0 I am trying to add $ sign using bootstrap class 'input-group-addon' with mvc Razro TextboxFor but its not working. Below is my code. @Html.LabelFor(x => x.PaymentAmount, new { @class ="control-label col-sm-2" }) $ @Html.TextBoxFor(m => m.PaymentAmount, new { @class = "form-control col-sm-10" }) @Html.ValidationMessageFor(m => m.PaymentAmount, "", new { @class = "help-block" }) asked 1 min agomaxspan Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I have a form in controller Authentication.scala: package controllers import javax.inject._ import play.api._ import play.api.mvc._ import play.api.data._ import play.api.data.Forms._ import play.api.i18n.Messages.Implicits._ import play.api.libs.concurrent.Execution.Implicits.defaultContext import models.User import models.UserProfile /** * This controller creates an `Action` to handle HTTP requests to the * application's home page. */ @Singleton class Authentication @Inject() extends Controller { val registerForm = Form( tuple( "user" -> mapping( "email" -> nonEmptyText, "password" -> nonEmptyText )(User.apply)(User.unapply), "profile" -> mapping( "firstname"->nonEmptyText, "...
ادامه مطلبVote count: 0 I have a problem. Im using Bounce.js to create nice menu animations (with some cool effects). Bounce.js using css keyframes animations which can be problematic to restart. I got menu and when I click a button and when .show class is added it should fire show animation. But when I press that button again hide class should be added with hide animation (which is just reverse version of previous animation). Js is working (classes are adding and removing properly) but animation is fired only once - and there is no hiding animation (menu element just disappears with out animating it self). asked 1 min agobo2fr4g 1 Answer Vote count: 0 You can do it in a serval ways. One way is to tri...
ادامه مطلب