Change Photo
Jacky Little

Questions by Jacky Little

How to make an activity background transparent and blur the background?

When I launch my app, it launches an Activity which should have transparent header and whatever is the currently sho...

Textarea with flexible background image that resizes with text input?

I have a textarea whose background is a hand-drawn box. I'd like for the height of the background image to stretch a...

How to arrange the functions in the order of growth rate? So that f(n) is O(g(n))?

I have the below functions that needs to be ordered in their growth rate. But how can we show that the function g(n)...

How do I automatically stack divs vertically inside a parent??

Here's what I am trying to accomplish... "parent" has position:relative "div 1-3" have position:absolute Howeve...

Contour detection person holding paper sheet?

I need to detect white paper held by a person. Problem here is fingers, which breaks contour lines. Some contours co...

'tsc command not found' in compiling typescript?

I want to install typescript, so I used the following command: npm install -g typescript and test tsc --version,...

What is the difference between Algorithm and Logic??

I know an algorithm is an effective method expressed as a finite list of well-defined instructions for calculating a...

Run Bash Commands from Mono C#?

I am trying to make a directory using this code to see if the code is executing but for some reason it executes with...

How to read numbers from file in Python??

I'd like to read numbers from file into two dimensional array. File contents: line containing w, h h lines conta...

Implement pull to refresh FlatList?

please help me out to implement pull to refresh on my app, I'm kinda new to react native, thanks. I don't know how t...

Why `null >= 0 && null <= 0` but not `null == 0`??

I had to write a routine that increments the value of a variable by 1 if its type is number and assigns 0 to the var...

Smart JScrollPane autoscrolling?

I am attempting to implmement smart autoscrolling on a JScrollPane containing a JTextPane. The JTextPane is used for...

How to put delay before doing an operation in WPF?

I tried to use the below code to make a 2 second delay before navigating to the next window. But the thread is invok...

Why is a generic typed property nullable??

I am trying to create a parameterized class with a lateinit non-nullable property of the generic type: class Test&l...

Default null generic type?

When i try to use prepare("", ""); I'm getting compile error why? I set default value null what is the point compile...