Categories
Ask

[ Sociology ] Open Question : Making a big social mistake?

I met a 55 year old woman 3 weeks ago going by the name of Anita. Being 55, she was born about the year 1964. We started socializing casually. There are a few mistakes I made here. 1. Not having it in my mind that there is no better time than today to be alive […]

Categories
Development

Name server lookup with server argument

Do we have any library for Name server lookup in go language, other than net library as we can’t pass server argument in it?

Categories
Development

how to source .sh file in python

I am basically doing python ssh connection code to my server which is basically a Ubuntu server 16.04. Then I want to source this demo-openrc.sh file with almost 10 environment variables but 1 need user input which is basically a password but the problem is that when I source this .sh file in > python […]

Categories
Development

How to add a title to a text type input

I have an input which is text type and user can type in it to search something he wants. Now I don’t know how to add a title to left of my search bar. I have tried label tag but it doesn’t work! Below is what I have tried and doesn’t show anything. <body> <!– […]

Categories
Development

why is this query skipping on STRING_SPLIT

I am trying to split one of the data on GLACCTNBR column into multiple columns but some record did not get split correctly and end up with a Null value. WITH C AS( SELECT distinct m.ACCTID ,m.ITEMDESC ,m.GLACCTNBR ,m.TOTAL ,m.DEPFILENBR ,m.DEPFILESEQ ,m.ITEMACCTID ,m.AMOUNT ,value ,ROW_NUMBER() OVER(PARTITION BY m.GLACCTNBR ORDER BY (SELECT 1)) as rn FROM […]

Categories
Development

Display dates from DatePickerDialog more easier

Now display the date as follows: val calendar = Calendar.getInstance() val currentYear = calendar.get(Calendar.YEAR) val currentMonth = calendar.get(Calendar.MONTH) val currentDay = calendar.get(Calendar.DAY_OF_MONTH) pickDate.setOnClickListener { val datePickDialog = DatePickerDialog( activity, DatePickerDialog.OnDateSetListener { view, year, month, dayOfMonth -> val dateFormat = SimpleDateFormat(“d MMMM yyyy”) calendar.set(year, month, dayOfMonth) val dateString = dateFormat.format(calendar.time) currentDateView.text = dateString }, currentYear, currentMonth, […]

Categories
Development Vue

How to update VueJS left panel user list while update user information from right panel

I have a VueJS application where I have a user’s listing and user’s information. I am using two columns layout so in a left panel I am loading user’s listing and when I click to any user, user’s information will be loaded to the right panel. I can view and edit the user’s information from […]

Categories
Development Swift

VPN Creation swift from scratch

I want to create VPN but not finding the aligned doc for the coding. I am unable to do with the apple doc. Anyone have the idea?

Categories
Development

how to find matching patterns from a python dataframe of numbers

I have a dataset in .CSV format. The columns are all numbers.Each column represent a particular entity. I wish to find the occurrence of any patterns from the available data. Also I need to find the specific patterns and the related groups separately. For this I have used FP growth(after converting df to list) in […]

Categories
Development

Boolean does not returning from true to false

I have mp3 songs playing in listview. When I click shuffle button, its highlighting and stay focused colorful and this moment boolean became true. Then when I click again shuffle button, the highlight gone and this moment boolean should be false and shuffle should stop to play songs continiously. But unfortunately, the boolean does not […]