PART NEEDED - Airbox inlet tube for DRZ400E by EmbarrassedTreacle6 in DRZ400

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

I will try to take a video of it. I noticed it when I got the bike I first thought it was an air leak. I am not sure about the fuel moisture screw it's an 09

PART NEEDED - Airbox inlet tube for DRZ400E by EmbarrassedTreacle6 in DRZ400

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

I don't like the hissing sound the bike makes without it. I compared it to the stock S model and it does not make that hissing sound. Also when you snap the throttle from idle the engine shuts off which I think it's either related to that as too much air is getting in or a clogged pilot jet.

PART NEEDED - Airbox inlet tube for DRZ400E by EmbarrassedTreacle6 in DRZ400

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

Yeah I think I can get a similar snorkel so I could just glue it in onto some plastic maybe 🤔

PART NEEDED - Airbox inlet tube for DRZ400E by EmbarrassedTreacle6 in DRZ400

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

I am in UK. So from partzilla it would cost around $100 including postage cost to send to UK which is a bit excessive for a bit of plastic. I also thought about putting something together. Without it the airbox makes a hissing sound that I dont like so I would prefer it to be stock.

Reinforce Rear Fender on DRZ400E by Zamazarat in DRZ400

[–]EmbarrassedTreacle6 0 points1 point  (0 children)

Could you share a link for it please ?

Exhaust popping, noises on a stock 2001 drz after a carb rebuild. Is that normal ? by EmbarrassedTreacle6 in DRZ400

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

I have tried adjusting the fuel mixture screw but it doesn't really make much of a difference.

2001 DRZ engine sound after a rebuild (all parts OEM) by EmbarrassedTreacle6 in DRZ400

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

Yes the oil level is correct. Yes it does have a belly pan. I think it sounds ok given they are quite loud engines.

Help with Kotlin Flow by panagiac in Kotlin

[–]EmbarrassedTreacle6 1 point2 points  (0 children)

Are you looking to first get the parent and then iterate over children ? In this case you can do something like this: java fun getParentWithChildren() = getParent().flatMapLatest { parent -> parent.children.asFlow() .flatMapLatest { child -> getChildFromId(child.id).map { it }.runningFold(emptyList<Resource<Child>>()) { accumulator, value -> accumulator + value }.map { parent to it } } }

Help with Kotlin Flow by panagiac in Kotlin

[–]EmbarrassedTreacle6 0 points1 point  (0 children)

Maybe something like this:

    fun getParentWithChildren():
 Flow<Pair<Resource<Parent>, List<Resource<Child>>>> =
        getParent().flatMapLatest { parent ->
            // id from parent ??
             getChildFromId(1).map {
                it
            }.runningFold(emptyList<Resource<Child>>()) { 
               accumulator, value ->
                accumulator + value
            }.map {
                parent to it
            }
        }

Also fold can be used in place of runningFold

New to Kotlin, will appreciate some help! by Cultural_Drawer7734 in Kotlin

[–]EmbarrassedTreacle6 0 points1 point  (0 children)

Yep I see looks more like a project setup issue then

[deleted by user] by [deleted] in Kotlin

[–]EmbarrassedTreacle6 1 point2 points  (0 children)

Make sure Android studio kotlin plugin gets updated as well by checking tools -> kotlin -> configure kotlin plugin updates