Update "Online Balance" realtime
◷
تاریخ انتشار: 1396/2/24 | ساعت: 18:07
Vote count: 0I am building a quota system, where every client(merchants) has its own "online balance" persisted in the database, these "online balances" are expected to be updated real time for every successful transactions.It's importa
Issues with connecting to the internet via the terminal?
◷
تاریخ انتشار: 1396/2/24 | ساعت: 9:10
Vote count: 0I have a laptop that was broken. Everything works fine except co ecting to the wifi. If this is relevant, I have elementary OS which is a linux distro. Normally I updated it every chance I got but before I had trouble co e
Spark - Task not serializable: java.io.NotSerializableException: java.lang.reflect.Field
◷
تاریخ انتشار: 1396/2/24 | ساعت: 9:10
Vote count: 0I was getting below error for one of my spark job -Task not serializable: java.io.NotSerializableException: java.lang.reflect.FieldI realised that I had a class in one of the closures which was using keeping a java.lang.re
How to take backup by schemawise in SAP HANA
◷
تاریخ انتشار: 1396/2/24 | ساعت: 9:10
Vote count: 0I am performing a backup in hana usinghdbsql HDB=> BACKUP DATA USING FILE ('/backup/HDB/data/BACKUP_FULL_20170514/SAPHANA') Instaed of this I would like to have a backup by schema wise and make it as a cronjob. How to tak
How to Install Java Darcula look and feel?
◷
تاریخ انتشار: 1396/2/23 | ساعت: 20:01
Vote count: 0I want to install the Darcula look and feel so I can change the appearece of my Java projects.I executed this code to know which look and feels I have installed:for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.U
Execute Stored Procedure with less Input Parameters
◷
تاریخ انتشار: 1396/2/23 | ساعت: 20:01
Vote count: 0I have a stored procedure, which need 4 parameters to execute. But I want to execute it with passing only 3 parameters. How can I achieve that?For Example:My SP usually executes like this. EXEC usp_my_sp @fname = 'Sandeep',
Extracting complex data from a DataFrame
◷
تاریخ انتشار: 1396/2/23 | ساعت: 20:01
Vote count: 0I have to analyze some complex data which is in a Pandas DataFrame. I am not aware of the exact structure of the data inside the dataframe. I have pulled the data from a Json file. I used the "head" syntax to look at top lev
How to read csv file and train data by Softmax regression in Tensorflow
◷
تاریخ انتشار: 1396/2/23 | ساعت: 13:28
Vote count: 0I have one problem when training data. My problem is read csv file, then use softmax classification to estimate the grade of student (A,B or C) based on their time of study and attendance the class.Grade of students with stu
Regular Expression for minimum value 18 and maximum 99 with leading zero
◷
تاریخ انتشار: 1396/2/23 | ساعت: 13:28
Vote count: 0Regular Expression for minimum value 18 and maximum 99 with leading zero. Means my number should be from 18 to 99. With one condition of leading zero i.e 1 == 01, 09 == 9 asked 29 secs agoHimanshu ShekharLet's bloc
Using nodejs to make Slack bot , Slack events not working
◷
تاریخ انتشار: 1396/2/23 | ساعت: 13:28
Vote count: 0I am using one Slack bot library, https://github.com/blocktrail/slack-tipbot/tree/master/liband using this nodejs library ,var Slack = require('slack-client');There are 4 events that are working perfect:slack.on('open', func
Play animation when content get into view
◷
تاریخ انتشار: 1396/2/23 | ساعت: 6:04
Vote count: 0I've been searching on many posts but almost all of them are confusing.I'm working with animate.css into a which is at the middle of my page. For default the animation is played when the page is loaded, but i want that it p
Loop through Checkboxes in Kendo ui-Menu on Toolbar in Kendo Grid
◷
تاریخ انتشار: 1396/2/23 | ساعت: 6:04
Vote count: 0I am trying to implement a Kendo ui-Menu in the toolbar of a Kendo Grid in Angular. I am manually creating the column list on the menu. I am able to show/hide the columns when clicking the checkboxes. I need to iterate th
Wordpress - output specific div on category page by targeting the div class
◷
تاریخ انتشار: 1396/2/23 | ساعت: 6:04
Vote count: 0I am creating a custom archive page to display all the podcast posts together. Currently, the page outputs the featured image and the post excerpt.I want to also include the podcast player contained in the post.My goal is to
Axis2 migration error DOCTYPE is not allowed
◷
تاریخ انتشار: 1396/2/23 | ساعت: 0:37
Vote count: 0Used versions: Tomcat 7 jre 6I created a new dynamic web project and I added axis2 web service client in this new project. Then I tu ed this project into a jar file. When I exported, I only selected src file. And I added t
Rails concerns vs. helpers vs. services
◷
تاریخ انتشار: 1396/2/23 | ساعت: 0:37
Vote count: 0Would I be correct in saying that conce s are methods shared by controllers, helpers are methods shared by templates, and services are methods shared by models? asked 27 secs agostackjleiLet's block ads! (Why?)
Role of master in Spark standalone cluster
◷
تاریخ انتشار: 1396/2/23 | ساعت: 0:37
Vote count: 0In a Spark standalone cluster, what is exactly the role of the master (a node started with start_master.sh script)?I understand that is the node that receives the jobs from the submit-job.sh script, but what is its role when
On swiping RecylerView's canvas drawText show text only on first item
◷
تاریخ انتشار: 1396/2/22 | ساعت: 16:55
Vote count: 0Here's my code. the drawtext methods draws the text only on first on first item the remaining items doesn't show them but they all the icons.what am i doing wrong here. `if(actionState == ItemTouchHelper.ACTION_STATE_SWIPE)
vba: print inverted commas string in a file
◷
تاریخ انتشار: 1396/2/22 | ساعت: 16:55
Vote count: 0I have to write a string in a txt file:Option Explicit Dim path As String Dim filename1 As String path = Application.ActiveWorkbook.Path filename1 = "OutputHtml.txt" Open path & "" & filename1 For Output As #1 Prin
Refactor to extract a local variable from a function call in VS 2012
◷
تاریخ انتشار: 1396/2/22 | ساعت: 16:55
Vote count: 0I know that is possible to extract a method from a piece of code (Refactor->Extract method), but I miss the same tool to extract a local variable as other IDEs do.For example:if (someFunctionCall()) {...} I want to extrac
Add grid lines only for minor breaks in ggplot
◷
تاریخ انتشار: 1396/2/22 | ساعت: 10:30
Vote count: 0I was trying to make a chart as the below in ggplot. I wanted the y labels to show the entire set of values from 1 to 50 but I only wanted to generate horizontal gridlines every 10 numbers. I thought adding minor_breaks and