[go: nahoru, domu]

Skip to main content

Reddit and its partners use cookies and similar technologies to provide you with a better experience.

By accepting all cookies, you agree to our use of cookies to deliver and maintain our services and site, improve the quality of Reddit, personalize Reddit content and advertising, and measure the effectiveness of advertising.

By rejecting non-essential cookies, Reddit may still use certain cookies to ensure the proper functionality of our platform.

For more information, please see our Cookie Notice and our Privacy Policy.

Get the Reddit app

Scan this QR code to download the app now
Or check it out in the app stores
Feitan21 u/Feitan21 avatar

Feitan21

u/Feitan21

New
Open sort options
Change post view

r/AMDHelp icon
A banner for the subreddit

Troubleshooting help Subreddit for all things AMD!


Members Online
r/AMDHelp
A banner for the subreddit

Troubleshooting help Subreddit for all things AMD!


Members Online

TPM2.0 not detected in windows, B650 Tomahawak, last bios version

Feitan21
replied to giberonic

Thank you for your detailed response.

I thought that the TPM 2 module would be present by default, as my B450M Bazooka includes one. I was it would be standard on motherboard of this price range.

My friend needs TPM 2.0 for Riot Vanguard, so we will look into purchasing a module.

Thank you !


TPM2.0 not detected in windows, B650 Tomahawak, last bios version
r/AMDHelp icon
r/AMDHelp
A banner for the subreddit

Troubleshooting help Subreddit for all things AMD!


Members Online
TPM2.0 not detected in windows, B650 Tomahawak, last bios version
Help (General)

Hello,

I've been running into an issue on a friend's computer. We can't get Windows to recognize TPM 2.0.

We updated the BIOS after reading this thread, but it is still not working: https://www.reddit.com/r/AMDHelp/comments/13xgm41/tpm_20_not_detected/

Unfortunately, Windows is still not able to detect it, despite the TPM 2.0 device being found and a firmware version being present. Did we miss something?

Here is an image of the issue: https://imgur.com/a/SnzkjCr

Configuration:

MB : B650 Tomahawk Wifi
CPU : R5 7600X
OS : Windows 11

Thanks !



Is it worth it to try to make a disfunctional TheCus N5200pro work ?
r/HomeNAS


Members Online
Is it worth it to try to make a disfunctional TheCus N5200pro work ?

Hello,

I was just given a N5200pro of thecus, it came with 5 disks of 2To and the firmware 2.0.18.8

It would be perfect to save some of my data, I don' t really need something super fast or more storage. However after turning it on I am unable to connect to it via the web server, even after reseting the NAS to default. The address 192.168.1.100 but I can't connect to it.

It is possible that the unit is just defective as it was not use for maybe 10 years, but I would like to be sure about it before I part with it. I tried to ping from both W11 and Debian to both LAN and WAN with direct Ethernet connection between the NAS and the computer but without success, all packet fails. Ethernet cable is working if used between computer and router

I am using a computer with W11 and I also have Debian via WSL2 so both a linux or windows solution would suit me. I also have a Raspberry Pi 4 and I would be okay if I could just bypass the NAS OS by buying a cable to connect to the PI. To try to summarize my thought I am looking to :

What do you think is the best solution ?


r/bapcsalescanada icon
A banner for the subreddit

Canadian sale subreddit for your PC needs. Deals on monitors, cables, processors, video cards, fans, cooling, cases, accessories, anything for a PC build. News and current events related to PC building in Canada. Inspired by /r/buildapcsales and /r/buildapc.


Members Online
r/bapcsalescanada
A banner for the subreddit

Canadian sale subreddit for your PC needs. Deals on monitors, cables, processors, video cards, fans, cooling, cases, accessories, anything for a PC build. News and current events related to PC building in Canada. Inspired by /r/buildapcsales and /r/buildapc.


Members Online

/r/BuildAPCSalesCanada General Discussion - Daily Thread for Wed Oct 25

Feitan21
commented

One of my DDR4 stick started to generate a lot of error. The RMA is costing almost the price of a new stick, any deal on a single stick of DDR4 3200MHz 16Go or 2*16 ?




Can connect via DSM but not via SMB
r/synology icon
r/synology

A community to discuss Synology NAS and networking devices


Members Online
Can connect via DSM but not via SMB
Networking & security

We have a NAS and we can connect to it via DSM without any problem when we are connected to the VPN of our organisation via Cisco AnyConnect. I am now trying to connect via SMB to map the drive. However I am not able to do it from both Windows and MacOS. I have created a test drive with every user having read and write access. However I can't connect to it.

On MacOS if I try to connect to smb://ArmenLab/test or smb://ArmenLab/ I receive the error that the server is not reachable.

On Windows when I connect to \ArmenLab or \ArmenLab\test in the map network drive I am invited to enter my credentiels and after some time I am invited to give my credentials again and again.

What I am doing wrong ? Is my NAS configured correctly ?

https://imgur.com/a/LePVn57


r/bapcsalescanada icon
A banner for the subreddit

Canadian sale subreddit for your PC needs. Deals on monitors, cables, processors, video cards, fans, cooling, cases, accessories, anything for a PC build. News and current events related to PC building in Canada. Inspired by /r/buildapcsales and /r/buildapc.


Members Online
r/bapcsalescanada
A banner for the subreddit

Canadian sale subreddit for your PC needs. Deals on monitors, cables, processors, video cards, fans, cooling, cases, accessories, anything for a PC build. News and current events related to PC building in Canada. Inspired by /r/buildapcsales and /r/buildapc.


Members Online

[Monitor] Acer Nitro Gaming 34" XZ342CU 3440x1440 165Hz 1ms VA HDR400 1500R Curved ($550-$170=$380)[Canada Computers]

Feitan21
replied to ThatsMyBacon3

Is it still fine compare to IPS ? I was looking for the same spec with IPS panel but the price difference looks huge


r/swift icon
A banner for the subreddit

Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.


Members Online
r/swift
A banner for the subreddit

Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.


Members Online

[deleted by user]

Feitan21
replied to djryanash

I second this, you should definitively use PythonKit. It is exactly what you are looking for



r/swift icon
A banner for the subreddit

Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.


Members Online
r/swift
A banner for the subreddit

Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.


Members Online

iOS 11 and Swift 4 for Learning

Feitan21
commented

Swift evolves quickly. A lot of good improvements were made in different versions of Swift 5.x. I think it's definitely worth to follow a course of Swift 5


r/HeadphoneAdvice icon
A banner for the subreddit

A place for making the right decision when purchasing new headphones. Here you can ask which headphone is better, which amp you should buy, which gear best fit your budget and anything related to headphone comparisons and purchasing.


Members Online
r/HeadphoneAdvice
A banner for the subreddit

A place for making the right decision when purchasing new headphones. Here you can ask which headphone is better, which amp you should buy, which gear best fit your budget and anything related to headphone comparisons and purchasing.


Members Online

Moondrop Nekocake vs Anker life P3

Feitan21
replied to peperoni69_

Thank you, I ordered the Moondrop's one !


Moondrop Nekocake vs Anker life P3
r/HeadphoneAdvice icon
r/HeadphoneAdvice
A banner for the subreddit

A place for making the right decision when purchasing new headphones. Here you can ask which headphone is better, which amp you should buy, which gear best fit your budget and anything related to headphone comparisons and purchasing.


Members Online
Moondrop Nekocake vs Anker life P3
Headphones - IEM/Earbud

Hello I'm from Canada. The Anker life P3 is 70 CAD on Amazon and Nekocake 49 CAD on ShenzenAudio, my budget is <100CAD. I am looking for BT earbuds or earphone, if possible with ANC, presence of microphone would be appreciated. I will use it at the office (1 time per week) and in the commute time. I have a Philips shp9500 at home and I'm happy with the sound. I don't listen to a lot of music and don't need to have a very good quality because I use my headset most of the time. During commute I mostly listen to podcast.

Have a good day


r/Python icon
A banner for the subreddit

The official Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language. --- If you have questions or are new to Python use r/LearnPython


Members Online
r/Python
A banner for the subreddit

The official Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language. --- If you have questions or are new to Python use r/LearnPython


Members Online

What's New In Python 3.12 — Python 3.12.0a2 released

Finally !


Timeout a role above yourself with a bot
r/discordbots icon
r/discordbots
A banner for the subreddit

A subreddit to discuss & get involved with Discord bots, including recommendations, development and conversations.


Members Online
Timeout a role above yourself with a bot

Hello, For our server we created a bot to allow user to timeout another one. Unfortunately, we can timeout only user without role. How to timeout same level role or higher role. Even by giving administrator role to the bot (for testing purpose) we are still unable to timeout group users.

Have you got an idea ?



r/swift, how do you use swiftlint ? Do you create your own rules or use the rules by default
r/swift icon
r/swift
A banner for the subreddit

Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.


Members Online
r/swift, how do you use swiftlint ? Do you create your own rules or use the rules by default
Question

Hello, Recently we decided to use Swiftlint. We are now thinking about which rules we should follow. Are you using all rules included in Swiftlint or do you think it's necessary to define your own set of rules. Is there some rules deprecated or too restrictive, is there some rules that are a must-have ?



r/MultiVersus icon
A banner for the subreddit

Welcome to the Official MultiVersus Subreddit for the free-to-play crossover fighting game developed by Player First Games and published by Warner Bros. Games for PlayStation 4, PlayStation 5, Steam, Epic Games, Xbox One, and Xbox Series X/S. The game features characters from Warner Bros. Entertainment franchises, such as Cartoon Network, Looney Tunes, Adult Swim, Game of Thrones, DC Comics, and more!


Members Online
r/MultiVersus
A banner for the subreddit

Welcome to the Official MultiVersus Subreddit for the free-to-play crossover fighting game developed by Player First Games and published by Warner Bros. Games for PlayStation 4, PlayStation 5, Steam, Epic Games, Xbox One, and Xbox Series X/S. The game features characters from Warner Bros. Entertainment franchises, such as Cartoon Network, Looney Tunes, Adult Swim, Game of Thrones, DC Comics, and more!


Members Online

Can MultiVersus Be Played On Mac?

Feitan21
commented

No But you can still play via remote play together in Steam if you have a friend but except higher latency


r/MultiVersus icon
A banner for the subreddit

Welcome to the Official MultiVersus Subreddit for the free-to-play crossover fighting game developed by Player First Games and published by Warner Bros. Games for PlayStation 4, PlayStation 5, Steam, Epic Games, Xbox One, and Xbox Series X/S. The game features characters from Warner Bros. Entertainment franchises, such as Cartoon Network, Looney Tunes, Adult Swim, Game of Thrones, DC Comics, and more!


Members Online
r/MultiVersus
A banner for the subreddit

Welcome to the Official MultiVersus Subreddit for the free-to-play crossover fighting game developed by Player First Games and published by Warner Bros. Games for PlayStation 4, PlayStation 5, Steam, Epic Games, Xbox One, and Xbox Series X/S. The game features characters from Warner Bros. Entertainment franchises, such as Cartoon Network, Looney Tunes, Adult Swim, Game of Thrones, DC Comics, and more!


Members Online

MultiVersus feedback: Please add the bots to the local mode, thank you.

Feitan21
commented

Also, you can't play in FFA with only 3 players in local


r/swift icon
A banner for the subreddit

Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.


Members Online
r/swift
A banner for the subreddit

Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.


Members Online

Swift: defer

Feitan21
replied to KevSib

Sorry for the long wait time for answer. I was talking about assync/await. Here is an example with a code to download video : https://designcode.io/swiftui-advanced-handbook-download-files-locally-part-1

In this code

func downloadFile() {
    isDownloading = true

    let docsUrl = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first

    let destinationUrl = docsUrl?.appendingPathComponent("myVideo.mp4")

    if let destinationUrl = destinationUrl {
        if FileManager().fileExists(atPath: destinationUrl.path) {
            print("File already exists")
            isDownloading = false
        } else {
            let urlRequest = URLRequest(url: URL(string: "https://file-examples-com.github.io/uploads/2017/04/file_example_MP4_480_1_5MG.mp4")!)

            let dataTask = URLSession.shared.dataTask(with: urlRequest) { (data, response, error) in
                if let error = error {
                    print("Request error: ", error)
                    self.isDownloading = false
                    return
                }

                guard let response = response as? HTTPURLResponse else { return }

                if response.statusCode == 200 {
                    guard let data = data else {
                        self.isDownloading = false
                        return
                    }
                    DispatchQueue.main.async {
                        do {
                            try data.write(to: destinationUrl, options: Data.WritingOptions.atomic)
                            DispatchQueue.main.async {
                                self.isDownloading = false
                            }
                        } catch let error {
                            print("Error decoding: ", error)
                            self.isDownloading = false
                        }
                    }
                }
            }
            dataTask.resume()
        }
    }
}    

isDownloading is set to true one time at the beginning and then to False 5 times. I think that highly unconvenient and not clear. All these 5 calls could be replace by one defer

isDownloading = true
defer {  isDownloading = false } 

With this syntax, when you read the function you know exactly that the variable will be set to True, and at the end, no matter the result, will be set to False. You don't have to think about putting this variable to False in each cases.

I think defer is very strong in this case.


r/swift icon
A banner for the subreddit

Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.


Members Online
r/swift
A banner for the subreddit

Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.


Members Online

Swift: defer

Discovered it with this post but I use it when I need to update progress variable (so boolean) in async functions. Like this I know at the beginning of my function that I'm putting the variable at true and that I will change it to false no matter if my function succeeded or not. I don't know if it's a good practice or a good user case but I instantly think about this when reading about defer. My team uses do and catch but I think it's less clear than defer. It will be a talk tomorrow so I will see their view on this


r/Python icon
A banner for the subreddit

The official Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language. --- If you have questions or are new to Python use r/LearnPython


Members Online
r/Python
A banner for the subreddit

The official Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language. --- If you have questions or are new to Python use r/LearnPython


Members Online

Guide to host your python scripts online for free

Feitan21
replied to pubs12

Ok thank you, I will give it a try. I don't need a lot of performance, I just needed a database and scheduling. Maybe it will suits me better than Heroku


r/Python icon
A banner for the subreddit

The official Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language. --- If you have questions or are new to Python use r/LearnPython


Members Online
r/Python
A banner for the subreddit

The official Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language. --- If you have questions or are new to Python use r/LearnPython


Members Online

Guide to host your python scripts online for free

Feitan21
replied to tommytwoeyes

What are the main advantages of Deta compare to Heroku ?


Feitan21 u/Feitan21 avatar