[T] [USA-CA] Ricoh GR4 HDF for GR4 with ND filter

[T] [USA-CA] Ricoh GR4 HDF for GR4 with ND filter

Timestamp: https://imgur.com/a/Bkgv6lw

In Bay Area

I have had this Ricoh gr4 hdf for a month and a half and would like to trade for an equivalently like new standard Ricoh gr4 standard with an nd filter

Would prefer to meet up in person for the exchange.

u/max123246 — 1 day ago

Looking to exchange GR4 HDF for standard GR4 [Bay Area]

Hello! I realized I didn't quite like the hdf filter but would prefer the nd filter but unfortunately I am outside of my return period. If anyone was interested in the hdf filter, I'd love to trade down for a gr4 with the nd filter. The camera still looks brand new, I bought it a month and a half ago and have not taken more than 100-200 photos on it so far

reddit.com
u/max123246 — 1 day ago

What to say to my psychiatrist to be screened for ADHD?

I've tried probably 4 different depression meds over 4 years at varying strengths and they have either stopped helping after 2 weeks or made things worse. Prozac, Lexapro, Wellbutrin+Lexapro, Cymbalta.

I see too many things lining up with my symptoms and people's experiences for ADHD. I would like to at least rule that out as a potential underlying cause instead of treating with depression/anxiety meds that have not helped create long-term effects.

However, last time I brought this up 6 months ago, my psychiatrist said "I should treat my depression and anxiety before we consider screening me for ADHD."

I have had severe depression and anxiety my entire life. For those who have been through this process with Kaiser, how do I say the right things that force them to escalate the situation and get me the care I deserve?

This is all time-sensitive because I have been skating by the skin of my teeth at work for 2 years and they are finally starting to notice (don't worry I've guilt-tripped myself for it every single day). If I don't get things together soon, my financial stability is at stake.

Thank you. Appreciate it. Any help is useful.

reddit.com
u/max123246 — 3 days ago
▲ 0 r/vscode

Copilot is down and it blocks local models from running through Copilot -_-

Good job microslop! Why would my local model through the Vscode copilot extension need Github to be online?

reddit.com
u/max123246 — 19 days ago
▲ 3 r/learnrust+1 crossposts

When should derived struct own values vs take references?

Hello! I'm working on a loadout solver, given an inventory and a desired list of items, it outputs a plan to Craft/Buy/Sell/Recycle to get the desired list of items from what you have currently if it's possible

One of the key things is that there is a notion of "all available items in the world" vs "what is available to this particular player that they have unlocked". The Inventory is intended to be derived from the manifest, you can't have an item in the inventory that doesn't exist in the manifest

There seems to be a lot of potential ways to design such a data structure but I don't know what is best. Should I use references, and if so slices or iterators? Should I use a shared Id that is cheap to copy everywhere? Or should I clone everything by value and duplicate data?

Here is what I have so far:

pub fn solve_loadout(
    manifest: Manifest,
    current_inventory: Inventory,
    desired_loadout: &[item::ItemCount],
    strategy: SolverStrategy,
) -> Result<Solution, PartialSolution> {
    strategy.solve(manifest, current_inventory, desired_loadout)
}

pub struct PartialSolution {
    pub plan: Vec<plan::Action>,
    pub missing_items: Vec<item::ItemCount>,
}

#[derive(Debug, Clone, Default)]
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct Solution {
    pub plan: Vec<plan::Action>,
}


#[derive(Debug, Clone, Default)]
#[derive(PartialEq, Eq)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
/// All items and traders in the "world".
/// This is irrespective of what the player has unlocked.
pub struct Manifest {
    pub items: HashMap<ItemId, Item>,
    pub traders: Vec<Trader>,
}

pub struct Inventory {
    pub items: Vec<ItemCount>,
    pub unlocked_blueprints: Vec<Recipe>,
    pub coins: Coin,
    pub cred: Cred,
}





#[repr(transparent)]
#[derive(Debug, Clone, Default)]
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash)]
#[derive(From, Deref, AsRef)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub struct ItemId(pub Cow<'static, str>);

#[derive(Debug, Clone, Default)]
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub struct Item {
    pub id: ItemId,
    pub display_name: Cow<'static, str>,
    pub sell_price: Currency,
    pub recycles_into: Vec<ItemCount>,
    pub crafting_materials: Vec<ItemCount>,
}

#[derive(Debug, Clone, Default)]
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub struct ItemCount {
    pub id: ItemId,
    pub count: i64,
}

#[derive(Debug, Clone, Default)]
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub struct ItemOffer {
    pub item: ItemId,
    pub quantity: i64,
    pub limit: Option<i64>,
    pub price: Currency,
}

#[derive(Debug, Clone, Default)]
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub struct Trader {
    pub name: Cow<'static, str>,
    pub inventory: Vec<ItemOffer>,
}

Why is formatting code so hard on reddit ):

reddit.com
u/max123246 — 19 days ago

Alternative to the Waterfield Shinjuku Crossbody?

I really love the style of the brand and have their all nylon vertical crossbody. The Shinjuku Crossbody is horizontal and would be great to supplement my current bag but I don't like the leather accent which is a deal breaker for me

Does anyone know of similar styled bags like this? I really like their style of Nylon and waxed canvas but I'm willing to take any suggestions in the same vague ballpark

Thanks!

https://www.sfbags.com/collections/slings/products/shinjuku-crossbody

u/max123246 — 1 month ago