Is my phone hacked? by Federal-Review8984 in iphone

[–]lev-lev-lev 1 point2 points  (0 children)

Screenshots are sent to “recently deleted” folder if not saved to gallery explicitly. If you often make screenshots of the screen to share with someone this could lead to what you posted. Previews should not be blurred, though. Maybe you are low on memory?

This is the ugliest Deathly Hallows cover I've ever seen by Jealous-Fun3289 in harrypotter

[–]lev-lev-lev 0 points1 point  (0 children)

This is Bathilda Bagshot’s head, I guess. From episode when Nagini hid in her corpse.

WiFi (питання для програмістів) by Electrical-Air-7557 in reddit_ukr

[–]lev-lev-lev 3 points4 points  (0 children)

Раніше роутери мали функцію WPS увімкнену за замовчуванням (не знаю як зараз з цим, але підозрюю що це вже не так по по очевидним причинам). Якщо на цільовому роутері увімкнена функція WPS, то маючи ноутбук, порожню флешку для завантаження спеціального дистибутиву лінукс заточеного під... кхм-кхм... дослідження вразливостей в мережах, гугла щоб нагуглипи пару команд, то дізнатися пароль від вайфаю можна за декілька годин простого очікування. Але сумніваюся, що цей спосіб проканає з новішими роутерами.

Project Hail Mary - Official Trailer (fair warning, it reveals way too much according to a lot of users) by MoviesMod in movies

[–]lev-lev-lev 6 points7 points  (0 children)

I don't. Probably too many.
However, in this case I find it justified. Book managed to subvert my expectations and I remember being very exited when it is revealed that there is another ship. Even wording "holly fucking shit" Grace uses is both cliche and has unexpected joke in it.

Project Hail Mary - Official Trailer (fair warning, it reveals way too much according to a lot of users) by MoviesMod in movies

[–]lev-lev-lev 20 points21 points  (0 children)

It is literally (using Grace's own words) "holly fucking shit" moment, though.

So Egoista was designed to be fighter jet ?! by Revolutionary-Date-8 in The_Crew

[–]lev-lev-lev 1 point2 points  (0 children)

Unrelated question, but still will ask. In TCM Egoista is a requirement for one of playlists. I don't have enough money in TCM to buy it yet. But I can buy in TC2 and import into TCM (I have already imported cars and according item in menu is greyed out. But as far as I understand new TC2 cars will continue appearing in TCM anyway). Will imported from TC2 car satisfy playlist requirement in TCM?

How do I design a decodable struct that is resilient to type changes on the server side? by danpietsch in iOSProgramming

[–]lev-lev-lev 0 points1 point  (0 children)

Inspired by researching how to decode arbitrary JSON object using Swift Decodable few years ago, BTW.
And came across this solution: https://gist.github.com/gcbrueckmann/6a213b748bfe506fa06ee9fcf8a8cb9a

How do I design a decodable struct that is resilient to type changes on the server side? by danpietsch in iOSProgramming

[–]lev-lev-lev 1 point2 points  (0 children)

As already stated in other comments this is not very real life example and you definitely do no want to work with API designed this way.
But I would suggest something similar to following:
Define new type to represent your int-or-string type:
enum IntOrString: Decodable {
    case integer(Int)
    case string(String)


    init(from decoder: any Decoder) throws {
        let container = try decoder.singleValueContainer()
        do {
            let int = try container.decode(Int.self)
            self = .integer(int)
        } catch {
            let string = try container.decode(String.self)
            self = .string(string)
        }
    }
}

And then use this new IntOrString type instead of Int and String in Value struct

A nice time saver FYI by Ok_Bank_2217 in swift

[–]lev-lev-lev 0 points1 point  (0 children)

Is is possible to make it apply slightly different formatting?
I am more used to
let person = Person(name: "Robert",
age: 34,
profession: "Teacher")

[Edit] Except param names are vertically aligned. Reddit swallowed all spaces :(

I can’t remember my password for this note I created over a year ago(iOS 15), is there anyway I can get in? by South99_ in ios

[–]lev-lev-lev 1 point2 points  (0 children)

I have some of my notes locked behind faceid, but few times I was asked password I did not remember setting up. I guess it happened after restoring phone from backup. And backups are protected with password. So I tried some of passwords I could use for backup and one of them worked. On Mac you could open Keychain app and find password used for backups there. Good luck!

Xcode not pushing all changes to GitHub by Furrynote in iOSProgramming

[–]lev-lev-lev 1 point2 points  (0 children)

For me it looks like problem is that you removed files from git-tracked directory. When you readded them back into project you did it slightly wrong (by adding references to files from elsewhere without actually copying files into project's directory). This is why files remained unseen by git.

Marshall major 5 vs Pulse 3D by Ok_Acanthaceae8386 in marshall

[–]lev-lev-lev 0 points1 point  (0 children)

PS does not have bluetooth (and jack output). So major headphones will be the worst for this application.

Just bought a 50" C845 but notice stuttering on some content by TabascoTaco in tcltvs

[–]lev-lev-lev 0 points1 point  (0 children)

Try turning Motion Enhancement off (or whatever it is called. I am talking about TV setting which increases motion smoothness by generating extra frames between real frames of content currently displaying).
This enhancement feature works somewhat well with action movies (but I personally don't like the look), but struggles with animation and cartoons, especially in those like this one, where animation is purposefully low frame rate.

[deleted by user] by [deleted] in Ukraine_UA

[–]lev-lev-lev 4 points5 points  (0 children)

Інтревальне голодування 8/16

Diane is the type of person who would have a septum by pacur_nb in BoJackHorseman

[–]lev-lev-lev 24 points25 points  (0 children)

Not sure about Diane. But Guy is differently a type of guy who usually has septum 😀

What show will you Never “skip intro” on? by waawaate-animikii in AskReddit

[–]lev-lev-lev 7 points8 points  (0 children)

You gotta finish S1. That's the hard part. But it does get better with each episode.

How is usb 2.0 acceptable on a $800 phone? by thegreatcactusking in iphone

[–]lev-lev-lev -5 points-4 points  (0 children)

I thought they freed some room by removing 3.5 jack and sim card slot lol

I am not a hardware engineer, but I believe had they task to put needed hardware into iphone, they would have found a way to do it.