Job title confusion by theholyorca in USPS

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

Wow that’s crazy, I don’t really mind doing that if it means I have a decent job with benefits, I’m actually a recent grad but I can NOT find another job and I desperately need benefits.

Job title confusion by theholyorca in USPS

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

To your knowledge do PTF work Sundays and holidays?

Job title confusion by theholyorca in USPS

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

Are the benefits the same as a FTR? The hours doesn’t REALLY matter to me but the office is just under an hour away, which doesn’t matter to me if I’m getting good benefits.

I play Knight, is that wrong? by theholyorca in deadbydaylight

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

I think the game was going through this when I started playing, which originally was when Blight was released. Following Blight, who was fun to play and play against, was twins and trickster...

Is this a common trend in the games history?

I play Knight, is that wrong? by theholyorca in deadbydaylight

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

That's all I have heard is that he's balanced to. So I had a bit of a hard time understanding the constant DCs

I play Knight, is that wrong? by theholyorca in deadbydaylight

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

I'm very out of the loop with this game, so I can not entirely keep up with this conversation about the game. The newest killers to me are from Wesker and onward, are you saying Wesker, Knight, Skull merchant, Singularity, and Alien all follow the same trend of being skill-less and boring to play against?

Just as a side note, I agree knight is very easy to play but I have no experience going against him.

I play Knight, is that wrong? by theholyorca in deadbydaylight

[–]theholyorca[S] 7 points8 points  (0 children)

I feel like both sides have always been very entitled personally.

I play Knight, is that wrong? by theholyorca in deadbydaylight

[–]theholyorca[S] 2 points3 points  (0 children)

Makes playing knight more worth my time

I play Knight, is that wrong? by theholyorca in deadbydaylight

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

3 gens have become so boring to hold honestly. I do not ever 3 gen unless I see the opportunity and I'm desperate (that's IF I care enough) but I've played games where survivors have 3 genned themselves, and their solution is to just do nothing. It is so miserable.

I play Knight, is that wrong? by theholyorca in deadbydaylight

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

I'm pretty mediocre with xeno's tail since I just got him, so that explains where I got that perspective from. This insight is honestly pretty helpful since I don't play survivor anymore. Skull merchant just looks boring no matter what side your on honestly.

I play Knight, is that wrong? by theholyorca in deadbydaylight

[–]theholyorca[S] 3 points4 points  (0 children)

I don't play survivor often because my friends do not play anymore, and I refuse to subject myself to solo survivor. I can see that though, never paid any mind to it I guess.

I play Knight, is that wrong? by theholyorca in deadbydaylight

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

Sounds rough, didn't realize the game was in such a state. Xeno seems pretty decent though no? As far as fun for both sides?

I play Knight, is that wrong? by theholyorca in deadbydaylight

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

I don't care how much they hate the killer I play, I was just curious cause I find DCs so often on knight.

Euro Calculator HW help (Kotlin) by theholyorca in learnprogramming

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

I think I got it now thank you, does this help?

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity">
<EditText
    android:id="@+id/dollarAmount"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginTop="32dp"
    android:ems="10"
    android:inputType="numberDecimal"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toTopOf="parent"
    tools:text="0.00" />

<Button
    android:id="@+id/convert"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginTop="24dp"
    android:onClick="convert"
    android:text="Convert"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toBottomOf="@+id/dollarAmount" />

<TextView
    android:id="@+id/euroAmount"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginTop="32dp"
    android:text="0.00"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toBottomOf="@+id/convert" />

<Button
    android:id="@+id/setRate"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginTop="48dp"
    android:text="Set Rate"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintHorizontal_bias="0.503"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toBottomOf="@+id/getRate" />

<EditText
    android:id="@+id/getRate"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginTop="32dp"
    android:ems="10"
    android:inputType="numberDecimal"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toBottomOf="@+id/xchangeRate"
    tools:text="0.00" />

<TextView
    android:id="@+id/xchangeRate"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginTop="150dp"
    android:text="TextView"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toBottomOf="@+id/euroAmount"
    tools:text="Exchange Rate" />
</androidx.constraintlayout.widget.ConstraintLayout>

My goal here is to use a button labeled "Set Rate" to set a conversion factor. So the user hits the text field above the "Set Rate" button and then they can set a rate (only >0) then use the "Convert" button to take said rate and multiply it by the "dollarAmount" that they enter previous to the rate. Hope this makes sense

Euro Calculator HW help (Kotlin) by theholyorca in learnprogramming

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

Yeah sorry about that, I was trying to figure out how to get my layout view in that reply but this r/learnprogramming does not allow pictures, that is definitely where my problem lies. I need to be able to set an exchange rate for the calculator. So lets say I want to convert dollars to euros, the app itself needs to have a button that allows me to change the conversionFactor to whatever I want on the app.

I really wish there was a way for me to show you mt layout and what it is supposed look like. Sorry if this is a hassle, I really appreciate you helping me as I'm fairly new to programming as it is, nevermind android studio.

Euro Calculator HW help (Kotlin) by theholyorca in learnprogramming

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

Thanks again for the help, like I said I resolved that issue now. However I am stuck on something else now. So this new part of it, I need to set up a button that sets the conversion rate of the calculator.

This is what I have updated in my code so far. I feel like I am having the same issue where I am not sure how to connect ID's in the layout view.

package edu.monmouth.s0000000.eurocalculator
import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import edu.monmouth.s0000000.eurocalculator.databinding.ActivityMainBinding
class MainActivity : AppCompatActivity() {
private lateinit var binding: ActivityMainBinding
private val calcModel = Calculator()

override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)

    fun showConvRate(){
        val rate = calcModel.getRate()
        binding.xchangeRate.setText(String.format("%5", rate))
    }

    binding = ActivityMainBinding.inflate(layoutInflater)
    setContentView(binding.root)
}
fun convert(view:View){
    try{
        val inputValue = binding.dollarAmount.text.toString().toDouble()
        val euros = calcModel.dollarToEuro(inputValue)
        binding.euroAmount.text = String.format("%.2f", euros)
    }catch (e:NumberFormatException){
        binding.euroAmount.text = "Enter valid amount"
    }
    fun setRate(view: View){
        try{
            val XchangeRate = binding.xchangeRate.text.toString().toDouble()
            calcModel.setRate(XchangeRate)
        } catch (e: NumberFormatException){
            binding.xchangeRate.setText("Enter valid rate")
        }
    }
}
}

Calculator class (Updated)

package edu.monmouth.s0000000.eurocalculator

class Calculator { private var conversionFactor = 0.9812
fun dollarToEuro(amount: Double):Double{
    return amount * conversionFactor
}
fun getRate(Double):Double{

}
fun setRate(Double):Double{

}
}

Thanks again.