Jump to content

Ominous

Member
  • Posts

    762
  • Joined

  • Last visited

Everything posted by Ominous

  1. Hobby subreddits usually fostered insightful discussions about technical subjects, much like regular internet forums do. Community moderation made subreddits more orderly compared to other social media like the shit-flinging contest that is Twitter. I'm not saying the place is devoid of glue huffers, but you'd usually have to go out of your way to find them. However, most of the site has devolved into an echo chamber. Good luck having even a mildly different view from the hivemind.
  2. I wasn't aware of the other thread on this. Reading through the original part of the thread, it does look like the card is legitimate. Yet the serial number not being accepted by XFX seems weird. If you're still inclined to find out what's happening, you should maybe message XFX on Twitter/Facebook (if you can't raise a ticket with them) to see if they can help. Either way, as you can't return the card now, you may as well use it.
  3. Pictures of the GPU won't help. The fact that XFX refuses to accept the serial number says enough. It's not genuine. Have you tried emailing them with this info to double-check? If the seller says it's never been used, you must be able to register the card for warranty. Again, the biggest concern is the cheap components used to build the card. It might perform fine just now, but prolonged stress (i.e. gaming) has a much higher chance of killing the card, and you're out of pocket when that happens.
  4. It's not a good idea. Counterfeit cards are usually built with less-than-optimal components. Shitty components and typically poor cooling performance can lead to the premature death of the card. If that happens, OP is screwed, as the manufacturer won't support them. The card might identify as a 6900XT, but that can be faked, so there is a chance it's an entirely different card. Additionally, it might become impossible to update the drivers for the card. @Mahdi87 I would return the card, if possible.
  5. Where are you searching for your serial number? That shouldn't give you any results because it is unique to your graphics card. Have you attempted to warranty your card at all?
  6. Reddit is by far the most used app on my phone. If I'm ever waiting around somewhere alone, I'll usually open Apollo and read something to pass the time. I'm not going anywhere near the cesspit that's modern Twitter. Spez is supposed to be doing an AMA today regarding the update, and I can only imagine how that's going to go. As per usual, some people have said that this might be a dark pattern. Throw a ridiculous API price out there only to dial it back a bit to make it seem not as harmful.
  7. Your Serial Number (SN) is in the picture; it has even been censored. The barcode is a scannable version of your serial number. "RX-69XTAC VD.1" is the part number.
  8. I know, but your question was that something was missing on the card: What else were you expecting to be there?
  9. Sorry, what do you think is missing exactly? This includes what looks like a product code and your serial number. I believe that is all ASUS includes on their cards.
  10. The m3u8 file is a playlist file that tells the client what files exist and what it should request. Herein lies the problem. Your routes are a menu of what someone can request from a server. When a request hits the express server, it looks at the URL and tries to match it against registered routes. As an example, you've shown two routes: / /cam1 When the client requests "/cameras/index133.ts", it tries to match that to one of the routes above. There is no match, so the server can't handle the request. It does not know what you want. The default response then is an HTTP 404 status. This is most likely where the 404 is coming from, and I can't see why correcting the URL would fix that unless something is implicitly running in the background that would allow the server to respond with .ts files. I think my solution is susceptible to directory traversal, so you would need to sanitise the user input from the query parameters (or someone could request files that you don't intend to be available). Instead of that, you could configure the express server to host your output folder as a static directory. Do you intend to deploy your finish projected? Generally, static file serving like this is usually accomplished using a web server such as NGINX or Apache but it's not necessarily required. I also want to mention that someone has already created an HLS server module for Node if you want to take a look at that.
  11. You haven't created an endpoint to serve the Transport Stream files, so you're getting a 404. The server does not know what to do with this "http://localhost:4000/cameras/index133.ts" URL. Your /cam1 endpoint will always return the index.m3u8 stream, as you've hard-coded it to do that. You will still need to configure an endpoint capable of serving TS files. Is there a way to configure the HLS client to change the directory it is requesting the files from? I'd need to see the client-side code to help you with that. I am also assuming you have configured the server to take the RTSP stream and convert it to TS files on the fly. You need to create an in your cameras.js file to serve the TS files. It would look something like this: const outputDirectory = './cameras' router.get('/stream/:segment.ts', (req, res) => { const segmentName = req.params.segment; const segmentFilepath = `${outputDirectory}/${segmentName}`; if (fs.existsSync(segmentFilepath)) { res.sendFile(segmentFilepath); } res.sendStatus(404); }); This code shouldn't work. It will need some refactoring to work with your exact setup. I would also be against manually coding a route for each camera. Look into how Route parameters work in the Express documentation.
  12. The only gaming "cafes" that I know of near me are VR sim racing centres filled with expensive high-end gear. They fill a gap in the market by offering an experience very few people have the money for. As others have mentioned in this thread, in Western first-world countries, most people already have the gaming equipment they need. So where is the incentive to go to a cafe? Filling a niche that most people don't have access to is a much better idea, but I have no idea what the financials of that would be. As a conservative estimate, each sim rig at the aforementioned racing centres costs upward of £5K, not including any operating costs. It's a massive upfront investment just for the gear alone.
  13. A TKL (or less) keyboard offering Numpad functionality is not the norm. It is removed primarily because people don't need to use it, so why not have the space instead? If you only need to use a Numpad once in a while, one solution is to buy a cheap separate Numpad.
  14. Rainbow 6 Siege servers (and some other pieces of Uplay infrastructure) have been failing almost daily for around a month or two, I wonder if this was a result of trying to fix that. I've pretty much given up on playing Siege as the servers would always fail the moment I would get in from work.
  15. You need to create a dedicated script tag for your JQuery include and your own custom script as such: <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js" type="text/javascript"></script> <script> // added the above script tag and ended the include script tag on the line above. $(document).ready(function () { $("#slideshow > div:gt(0)").hide(); setInterval(function() { $('#slideshow > div:first') .fadeOut(4000) .next() .fadeIn(4000) .end() .appendTo('#slideshow'); }, 3000); }); </script> Behaviour of a script tag with both a src="" attribute and content seems to be inconsistent. Some browsers may run this but its much better to separate them. Your Codepen works because its effectively being compiled into the above.
  16. It would be cool but VBulletin is a completely different piece of forum software. Unless someone has made a theme for IPB that looks like VBulletin, it's not really viable.
  17. They're asking if you're trying to teach spoken language or programming languages. How exactly does this application differ to Duolingo?
  18. Says in the first post that OP has looked into Keychron, they don't meet the low-latency requirement which is pretty critical.
  19. Razer Deathstalker V2 TKL Pro with a third party set of DSA/XDA PBT keycaps? Looks like Razer's low profile switches have MX compatible stems, this thread on Geekhack tests the compatibility of keycaps with an MX low profile switch. I obviously can't guarantee that the caps will work with Razers switches but it might be an option.
  20. We're not recommending that you should completely copy another project piece by piece. We're trying to say that other projects will usually have some implementation of the problem you are trying to solve and its not bad practise to use that implementation in your own projects. As mentioned, you should still look into their solutions to understand why they work instead of blindly copy and pasting.
  21. @shivajikobardan your sentiment towards project development is still somewhat valid. Learning something from scratch can be beneficial in your understanding of it. However, existing implementations can give unforeseen perspective on a solution. For example: an potential error that you might not have known about, a performance improvement if you use a slightly different function, a better way to format output, etc. Trying to solve every problem by solely referring to documentation will allow you to solve problems by yourself, but this more often than not will have a non-negligible impact on the timescale of your project. You might end up having a negative impact on your learning if you are spending too long trying to find solutions to problems which have already been solved. If you are going to use someone else's solution in your own project, I would recommend cross referencing their implementation with documentation so you know why that implementation works. You get the benefit of someone providing you with a ready made solution, saving you time, and you get an understanding of why that solution works. As mentioned here, your approach makes much more sense if you want to go lower level. Solutions don't always exist and there is a lot more programming involved with lower level projects which will likely satisfy your need to "make projects on your own".
  22. As mention above, you are reading instead of writing. Your code is quite verbose, you can simplify it by opening the file once and using the user input to open the .txt files rather than using an if statement. answer = input('Junior or Senior? ').lower() # Check if user input is valid while answer != 'junior' and answer != 'senior': print('Invalid input') # Alert user that their input is invalid answer = input('Junior or Senior? ').lower() filename = answer + '.txt' file = open(filename, 'r+') # Open file with read and write permission beanies = int(file.readline()) print('There are currently', beanies, answer, 'beanies left.') beanies -= int(input('How many beanies have sold: ')) # Subtract number of beanies by given amount if beanies < 10: print('Notice: less than 10', answer, 'beanies are left.') # Save us from having to open the file again. Put cursor to start of file, # write beanie count and remove the rest of the data. file.seek(0) file.write(str(beanies)) file.truncate() file.close() print('Thank you.')
  23. Codecademy has a Bootstrap 4 course but I don’t know what it will be like. The library will be much easier to learn if you start building a project and when you need to use a component, read about it and learn how it works. Learn as you go like you said in your own post. Its not a big framework and it’s mostly designed to “Bootstrap” projects (quickly get them up and running functionally) and then you can focus on UI later. This is not true. A very large chunk of programming is copying existing ideas, why would you want to reinvent the wheel? One of the best ways of learning how a framework or library works is by looking at existing projects and adapting them to your own implementation.
×