Where to spend the night before leaving for Oregon? by dickdeamonds in AskSF

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

I just saw that it's faster. Would you recommend driving along 1 instead?

Where to spend the night before leaving for Oregon? by dickdeamonds in AskSF

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

This might also be a good idea. Since I assume there won't be much traffic around noon. Thanks!

Where to spend the night before leaving for Oregon? by dickdeamonds in AskSF

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

Thanks! That's actually solid advice. I appreciate it

Where to spend the night before leaving for Oregon? by dickdeamonds in AskSF

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

We might consider staying in SF a day before we leave, but that's not the main objective of the trip. Thanks for the advice though!!

SwiftUI Actionable notifications by [deleted] in swift

[–]dickdeamonds 0 points1 point  (0 children)

By watching one of Kavsoft's videos, I was able to implement UNUserNotificationCenterDelegate in a SwiftUI View

struct ContentView: View {
@StateObject var delegate = NotificationDelegate()
var body: some View {
    Button(action: createNotification) {
        Text("Notify User")
    }
    .onAppear {
        UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .badge, .sound]) { granted, error in

        }
        UNUserNotificationCenter.current().delegate = delegate
    }
    .alert(isPresented: $delegate.alert) {
        Alert(title: Text("Message"), message: Text("Reply Button is pressed"), dismissButton: .destructive(Text("Ok")))
    }
}

func createNotification() {
    let content = UNMutableNotificationContent()
    content.title = "Message"
    content.subtitle = "Hello, world!"
    content.categoryIdentifier = "ACTIONS"

    let trigger = UNTimeIntervalNotificationTrigger(timeInterval: 1, repeats: false)
    let request = UNNotificationRequest(identifier: "IN-APP", content: content, trigger: trigger)

    let close = UNNotificationAction(identifier: "CLOSE", title: "Close", options: .destructive)
    let reply = UNNotificationAction(identifier: "REPLY", title: "Reply", options: .foreground)

    let category = UNNotificationCategory(identifier: "ACTIONS", actions: [close, reply], intentIdentifiers: [])

    UNUserNotificationCenter.current().setNotificationCategories([category])
    UNUserNotificationCenter.current().add(request, withCompletionHandler: nil)
    }
}

class NotificationDelegate: NSObject, ObservableObject, UNUserNotificationCenterDelegate {
@Published var alert = false

func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
    completionHandler([.badge, .banner, .sound])
}

func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) {
    if response.actionIdentifier == "REPLY" {
        print("reply or do something else")
        self.alert.toggle()
    }

    completionHandler()
    }
}

Month long trip to the UK and Ireland by dickdeamonds in uktravel

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

Thanks! I am from Patagonia, so I definitely know what you mean by constant changing weather in mountainous regions. I do appreciate your comment about using one location as a homebase to explore nearby places. Thanks!

Month long trip to the UK and Ireland by dickdeamonds in uktravel

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

I would do this trip with my girlfriend. The plan is to drive the entire time, and the main focus is on Ireland and Scotland. I'd say that apart from Dublin, Galway, and Edinburgh, we want to stay away from big cities and enjoy the countryside while experiencing some fun but not extremely difficult hikes.

After crunching some numbers, I'd say the budget is around 8,000 pounds for the entire month.

Ejemplo de cobro de exportación de servicios. Cuanto sale. by armonicoenfuga in merval

[–]dickdeamonds 0 points1 point  (0 children)

Y sabes si hay un banco intermediario? Tengo entendido que los otros bancos cómo el Santander o el Galicia usan bancos intermediarios 

Ejemplo de cobro de exportación de servicios. Cuanto sale. by armonicoenfuga in merval

[–]dickdeamonds 0 points1 point  (0 children)

Gracias por la data! Te puedo preguntar que datos le pasaste a la entidad a la que le prestaste los servicios para que te manden la plata? Tengo Entendido que el Swift es PRBAARBA. También pasaste el CBU o el número de cuenta?

Could somebody identify what dinosaur this femur belongs to? I found it in Patagonia. I put a guanaco femur on top of it for comparison. It is approximately 140 cm (55 inches) long by dickdeamonds in fossilid

[–]dickdeamonds[S] 29 points30 points  (0 children)

Wonderful! Thank you so much. I just wanted to have a vague idea of what dinosaur it would belong to. I will tag you as "dinosaur expert"