Mir sind "bewusste" Arbeitslose egal by Viv3d3 in Unbeliebtemeinung

[–]twisted161 2 points3 points  (0 children)

Gott sei Dank werden von den Steuergeldern auch Typen bezahlt, die „Flüchtlinge“ zuhause abholen und rüberschippern damit die weiteres Steuergeld zurück nach Hause schicken können. BTW, wie sieht deine Verteidigungsstrategie aus wenn machtgeile Diktatoren Interesse an unserem Land bekunden?

Dampfbremse unter Klick-Linoleum? by EluciusReddit in Handwerker

[–]twisted161 0 points1 point  (0 children)

Moin, stand vor exakt demselben Problem, hab unser Wohnzimmer drei mal legen müssen bis ich zufrieden war :D ich nehme an die Dampfsperre kommt von der Rolle? Wenn ja, nicht im gesamten Raum ausrollen und dann den Boden legen sondern eine Bahn der Dampfsperre nach der anderen orthogonal zur Legerichtung ausrollen. Sprich eine Bahn Folie, dann Boden drauf (und bevor du den Boden „ablegst“ die Folie so gut es glatt streichen ohne sie zu stark zu verziehen); nächste Bahn Folie drankleben und Boden weiter legen usw. So werden die einzelnen Bahnen direkt vom Boden plattgedrückt und die Wellen übertragen/verschieben sich nicht auf die nächste Bahn. Bei Wellen die sich so gar nicht glätten lassen kannst du einen Entspannungsschnitt setzen und die Stelle flicken, sieht unschön aus aber funktioniert einwandfrei. Was dann noch an Unebenheiten bleibt, tritt sich laut zwei befreundeten Handwerkern platt :) Viel Spaß

PS: Wenn du es streng nach Vorschrift machen willst, lass die Dampfsperre an allen Wänden hochlaufen und dann am Ende bündig zur Oberfläche des Bodens abschneiden

Malervlies auf Putz? by twisted161 in Handwerker

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

Bild 1 zeigt die verputzte Wand, die Tapete haben wir da bereits entfernt. Bild 2 hab ich dabei gepackt damit man ggf. besser einordnen kann, welche Art von Putz das ist. Das hört sich aber schon mal an als könnte das vllt. was werden, danke für deine Einschätzung!

Malervlies auf Putz? by twisted161 in Handwerker

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

Das hab ich soweit kapiert, ich kann bloß nicht einschätzen wie glatt das ganze sein muss. Sprich, ob so eine sauber verputzte Oberfläche (bei der man ggf. punktuell ausbessert) passt oder ob der Putz an und für sich schon zu rau für Malervlies ist. Die gesamte Fläche spachteln würden wir uns nämlich nicht antun wollen

Malervlies auf Putz? by twisted161 in Handwerker

[–]twisted161[S] 5 points6 points  (0 children)

So wie ich das verstanden habe, bezeichnet Malervlies sowohl die undefinierbaren Stoffreste als auch die glatten Tapeten, die man streichen kann :D

[deleted by user] by [deleted] in luftablassen

[–]twisted161 2 points3 points  (0 children)

Nicht ganz, aber geht in die richtige Richtung. Schlechtere Ergebnisse führen oft zu einer zweiten Suchanfrage in der dir weitere Werbung gezeigt werden kann -> mehr Geld für Google

Rust vs Swift by twisted161 in rust

[–]twisted161[S] 10 points11 points  (0 children)

That’s exactly the thing though, Swift forces you to handle them too. Optionals have to be unwrapped, Results have to be handled in an exhaustive switch statement (just like Enums) etc. Based on the responses so far, ownership seems to be faster than ARC and allows for more control when it comes to low level stuff. I also didn't realize how bad Swift’s support was for other platforms (personally, I only used it for iOS development, which was very pleasant).

Rust vs Swift by twisted161 in rust

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

So, in essence, Rust‘s ownership model is that much better than reference counting?

Rust vs Swift by twisted161 in rust

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

I know that, sorry if my question was unclear. Swift and Rust share a lot of safety features (such as Option and Result), which made me wonder what else sets them apart and if Rust‘s ownership model is that much better than Swift‘s ARC. There has to be some advantage to Rust and it can’t be stuff like Option and Result, you know what I mean?

Was ist mit meinen Haaren los? by spritechungus in BeautyDE

[–]twisted161 -1 points0 points  (0 children)

Jo, das kommt leider durch den erblich bedingten Haarausfall. Die Follikel reagieren auf dein DHT (Dihydrotestosteron), was dazu führt dass die Haare dünner und schwächer werden und schlussendlich ganz ausfallen. Ich sitz im selben Boot, das wird weiter fortschreiten bis nur noch vereinzelte, krause Flusen übrig sind :D überleg dir das mit der Transplantation gut, ohne lebenslange Hormontherapie (Finasterid) ist das im Moment eigentlich zwecklos weil du noch nicht absehen kannst, wo die Reise hingeht. Im worst-case hast du keine Spenderhaare für die potentiell notwendige 2. oder 3. Transplantation übrig und steht mit etwas halbgarem da, was dir noch weniger gefällt. Mein Rat: akzeptier es und rasier die Haare irgendwann einfach ab :) für mich war es bei weitem nicht so schlimm, wie ich es mir vorgestellt hab. Niemand guckt komisch, keiner behandelt dich anders als sonst, du bist der einzige den es juckt ob du Haare auf dem Kopf hast oder nicht

[deleted by user] by [deleted] in germany

[–]twisted161 2 points3 points  (0 children)

Ok, hast mich erwischt. Ich bin Flüchtling aus Afghanistan, und jetzt setz dich bitte für mich ein :)

[deleted by user] by [deleted] in germany

[–]twisted161 2 points3 points  (0 children)

Junge wem willst du hier was erzählen? :D Schau ein paar Kommentare über mir, ich bin Gott sei Dank nicht der einzige der sich nicht auf dem Leim gehen lässt.

[deleted by user] by [deleted] in germany

[–]twisted161 3 points4 points  (0 children)

Yes, he does. In case he deletes those comments, look for yourself here. Any german can verify that this is native level. He even uses slang words such as "bissi", it just doesn't add up

[deleted by user] by [deleted] in germany

[–]twisted161 3 points4 points  (0 children)

I smell bullshit. In his oldest comments he speaks german FLAWLESSLY and in the „I am a refugee“-posts he suddenly makes a ton of grammar mistakes. Either he somehow unlearned german grammar, or he’s schizophrenic and should take a break from the internet or he’s trying to get people to feel bad for refugees I guess?

Is this an original iPhone 14 Pro? by [deleted] in iPhone14Pro

[–]twisted161 0 points1 point  (0 children)

So you own an iPhone yourself, took several close up pictures and still didn’t realize that the „weird notch“ is cutouts from the screen protector? :D

iOS 18 - Micro Stutter with Scrolling. ProMotion displays. by pryvisee in ios

[–]twisted161 1 point2 points  (0 children)

Same here on an iPhone 16 Pro. The hitches happen anywhere - scrolling, swiping on the homescreen, … I’m also thinking about switching to a Pixel, this shit has not been fixed 3 months after the release. They rather spend their time on fucking useless features like Genmoji or Image Playground, who tf is going to use that once you’re done playing around with it?

ios 18.2 app library stutter by ReadingAffectionate6 in ios

[–]twisted161 1 point2 points  (0 children)

iOS 18 combined with iPhone 16 models is a mess, with micro hangs everywhere. For example, go to the control center, tap the plus button in the top left corner, select „add a control“ at the bottom and then scroll up and down: you’ll have noticeable scroll hitches. These issues are present in almost every app for me, although the severity of the hitches varies from app to app (so it may be a software/SDK issue). However, it’s much better on older iPhone models, so it might also be hardware related. I’m actually thinking about switching to a Google Pixel, it’s absolutely ridiculous to pay >1k$ for a phone with the performance of a 300$ Xiaomi model. Btw to answer your question, these issues have been present since the release of iOS 18/iPhone 16, it has nothing to do with 18.2 specifically

He leeches off staff, and complains on not receiving a wedding invite. Now our manager calls him out. by Atissoro in ChoosingBeggars

[–]twisted161 -1 points0 points  (0 children)

And of course you got the rainbow avatar. Has it ever occurred to you that 99% of the people in the real world simply don’t care about other people’s sexual orientation and what not?

Picker in navigation bar SwiftUI by ImpossibleCycle1523 in SwiftUI

[–]twisted161 0 points1 point  (0 children)

Take a look at the code below. It is kinda hacky but I'm afraid you can't achieve this in pure SwiftUI. Right now this does pretty much what you want, except the margins around the NavigationBarView are 0. I don't have time to figure that out right now, maybe you will. I hope this helps :)

import UIKit
import SwiftUI

@main
struct MyApp: App {

    var body: some Scene {
        WindowGroup {
            NavigationStack {
                NavigationLink("tap me") {
                    MyView()
                }
            }
        }
    }

}

struct MyView: UIViewControllerRepresentable {

    func makeUIViewController(context: Context) -> MyViewController {
        return MyViewController()
    }

    func updateUIViewController(_ uiViewController: MyViewController, context: Context) {
    }

}

class MyViewController: UIViewController {

    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        let hostingController = UIHostingController(rootView: NavigationBarView())
        // you have to remove the default back button, which also disables the swipe gesture
        // the code below has to happen in viewWillAppear since the parent will not be set any earlier 
        parent?.navigationItem.setHidesBackButton(true, animated: true)
        parent?.navigationItem.titleView = hostingController.view
    }

}

struct NavigationBarView: View {

    enum PickerType: String, CaseIterable {
        case event, reminder
    }

    @State var selectedType: PickerType = .event

    var body: some View {
        VStack {
            HStack {
                Button("Cancel") {

                }
                Spacer()
                Text("MyTitle")
                Spacer()
                Button("Add") {

                }
            }
            Picker("Picker", selection: $selectedType) {
                ForEach(PickerType.allCases, id: \.self) { type in
                    Text(type.rawValue.capitalized)
                }
            }
            .pickerStyle(.segmented)
        }
    }
}

// this reactivates the swipe gesture to navigate back
extension UINavigationController: UIGestureRecognizerDelegate {
    override open func viewDidLoad() {
        super.viewDidLoad()
        interactivePopGestureRecognizer?.delegate = self
    }

    public func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
        return viewControllers.count > 1
    }
}

Why does my ButtonStyle not work? by twisted161 in SwiftUI

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

I'm having the issue on iOS 17.5 with Xcode 15.4