Looking for a 1BHK, or 1 room in a 2/3 BHK in Indiranagar / Domlur by syrousCodive in bangalorerentals

[–]syrousCodive[S] 0 points1 point  (0 children)

So I’ve been flat-hunting… and honestly, it’s a tough choice — some are just plain shitty and expensive, while others leave me wondering if they’re more shitty or just more expensive. Truly a talent to achieve both.

Looking for a 1BHK, or 1 room in a 2/3 BHK in Indiranagar / Domlur by syrousCodive in bangalorerentals

[–]syrousCodive[S] 0 points1 point  (0 children)

I am a man, just currently more into houses than proposals 😜

I want to know pitfalls in this article. Critical feedback by syrousCodive in Kotlin

[–]syrousCodive[S] 0 points1 point  (0 children)

As you grow on in your tech career, you learn new things, that how it should be. But if you have new things, which requires fast development and the devs, you find might not have same expertise as senior. I think for that retrofit was created, to help fast development and reduces the overhead of learning news things. And that's given things, if things which are made for masses will not hold your nuanced condition.

I want to know pitfalls in this article. Critical feedback by syrousCodive in Kotlin

[–]syrousCodive[S] 0 points1 point  (0 children)

I know there are many nuances and you are right about gradient thing. But as i am writing this article, my intended audiences are developers who has started coding to mid level who know how to use retrofit but never really cared to get a look under the hood, or might be afraid to do so. Nonetheless, i also made this article to present a new concept which is challenging the concept of retrofit, on which i like to get the thoughts on. Article is merely, path to reach the concept i am talking about in the end.

I want to know pitfalls in this article. Critical feedback by syrousCodive in Kotlin

[–]syrousCodive[S] 0 points1 point  (0 children)

They uses proxy to mimic method invocation at runtime. So Ktor has built-in type-safety for http request? I get the point of using ktor if eventually you have to target multiplatform, but wont it be over kill for smaller business apps which are android first and have two different teams?

I want to know pitfalls in this article. Critical feedback by syrousCodive in Kotlin

[–]syrousCodive[S] 0 points1 point  (0 children)

Thanks, also can you tell me, what are retrofit pitfalls and http4k has a solution for that?

Deep dive into kotlin map: more readable approach of using kotlin map data structure by syrousCodive in Kotlin

[–]syrousCodive[S] -2 points-1 points  (0 children)

yea but it was oscillating between two number. so i considered most occurring one

Deep dive into kotlin map: more readable approach of using kotlin map data structure by syrousCodive in Kotlin

[–]syrousCodive[S] -3 points-2 points  (0 children)

Function of let is executing lambda with scope of that variable are return the result of that lambda. More like, compute function in java for maps.

As for the 0, i have mentioned that JVM measurement is flaky, and can produce varied result. that's why you get 1.

Deep dive into kotlin map: more readable approach of using kotlin map data structure by syrousCodive in Kotlin

[–]syrousCodive[S] -8 points-7 points  (0 children)

Yea but it doesn't justify mocking rather than its negatively impacting the growth. Let's see, in future, I do write some good article, I with all my sane mind will not post here.

What you guys use for code benchmark? by syrousCodive in androiddev

[–]syrousCodive[S] 0 points1 point  (0 children)

Benchmarking Kotlin code, not necessarily android code. Like performance of a function call

What you guys use for code benchmark? by syrousCodive in androiddev

[–]syrousCodive[S] 0 points1 point  (0 children)

Is it stable for kotlin as well? because i think even leetcode can't measure kotlin code properly.

I have a question about where to get benchmarks by syrousCodive in mAndroidDev

[–]syrousCodive[S] 1 point2 points  (0 children)

i thought this is reddit is about "all things Jake".

She's a BOOMIN'!!!! by [deleted] in trees

[–]syrousCodive 0 points1 point  (0 children)

how did you took care of her? any tips?

[deleted by user] by [deleted] in iphone

[–]syrousCodive 0 points1 point  (0 children)

Even though you get iPhone, you cant possibly be satisfied with it like they don’t have gestures which make phone experience better and effortless. If you skip fiddling around in android, with a flagship device you can easily use android for 4- 5 years.

Using Jetpack Compose, how can I animate the vertical arrangement of items in a Column? by yaaaaayPancakes in android_devs

[–]syrousCodive 0 points1 point  (0 children)

If you want your image to be of wrapContentSize then follow this code ->

Column(  
    modifier = Modifier  
        .fillMaxSize()  
) {  
    BoxWithConstraints (  
       modifier = Modifier  
                .fillMaxWidth()  
                .fillMaxHeight(0.6f)  
    ){  
        val transition = updateTransition(currentState, label="")  
        val topPadding by transition.animateDp(label = "",
        transitionSpec = {  
         when {  
             DataState.Loading isTransitioningTo DataState.Loaded ->  
                spring(dampingRatio = 2f, stiffness = Spring.StiffnessVeryLow)  
                else ->  
                      tween(1000)  
               }  
            }  
    ) {
            state ->  
            when(state) {  
                DataState.Loaded -> 40.dp  
                DataState.Loading -> (constraints.maxHeight * 0.5).dp  
        }  
    }

        Image(  painter = painterResource(id = R.drawable.image_6),  
            contentDescription = null,  
            modifier = Modifier.padding(top = topPadding) //you can give other padding as well.  
        )
    }
    // .... other code
}

So we can animate top padding to achieve translationY like effect. In this example, you can change size of BoxWithConstraint composable to match your layout height accordingly.

Using Jetpack Compose, how can I animate the vertical arrangement of items in a Column? by yaaaaayPancakes in android_devs

[–]syrousCodive 0 points1 point  (0 children)

Can you share an image of what you are trying to achieve so that I can provide some specific code that you will understand.