Jump to content

Toxicable

Member
  • Posts

    755
  • Joined

  • Last visited

Posts posted by Toxicable

  1. 29 minutes ago, AbydosOne said:

    You sound like you're talking about Plex, which only works with Intel and Nvidia GPUs anyways.

    Ah, I should have specified, I'm using Jellyfin not Plex, which as I understand can use AMD, Nvida or Intel hardware, although maybe there would be some performance difference, I havn't investigated much past "does it work"

  2. Budget (including currency): A$600-800

    Country: Australia

    Games, programs or workloads that it will be used for: Torrenting, Remote programming, Sometimes game servers (Minecraft, Valheim, etc)


    Hey team, I'm looking at building a new home server that I'll be using for a variety of server stuff, as mentioned above.

    One use case is game servers, so I think a CPU with a bit of single core performance would be ideal, but then also a good amount of cores for the various loads.
    Additionally I might partition this into half gaming rig, half server later on for my partner  to be able to use - The idea here would be to just slap in a GPU if that happens.


    The main part I'm not 100% on is the CPU, the 5600 dosen't come with onboard graphics so transcoding will be done on the CPU which will be quite the burden, I'm not sure if it's worth the trade off for CPU performance to get maybe the 5600G which has onboard graphics.

     

    PCPartPicker Part List: https://au.pcpartpicker.com/list/nF9NMb

    CPU: AMD Ryzen 5 5600 3.5 GHz 6-Core Processor  ($209.00 @ Amazon Australia) 
    Motherboard: Gigabyte B450M K Micro ATX AM4 Motherboard  ($122.82 @ Amazon Australia) 
    Memory: Corsair Vengeance LPX 32 GB (2 x 16 GB) DDR4-3200 CL16 Memory  ($122.54 @ Amazon Australia) 
    Storage: Samsung 970 Evo Plus 500 GB M.2-2280 PCIe 3.0 X4 NVME Solid State Drive  ($74.00 @ Austin Computers) 
    Case: Antec VSK10 MicroATX Mid Tower Case  ($59.00 @ MSY Technology) 
    Power Supply: Silverstone Essential 550 W 80+ Gold Certified Semi-modular ATX Power Supply  ($99.00 @ PLE Computers) 
    Total: $686.36

  3.  I have a 960 and have 3 monitors and they work just fine. I dont stretch games over all 3 because that wrecks the aspect ratio and looks stupid on the games I play. But I can play games on my main monitor absolutely fine with chrome or visual studio on my other monitors

  4. On 6/3/2016 at 2:45 PM, ClownFace1511 said:

    Pretty sure its C, its functions, arrays, loops and stuff like that. Nothing complicated, just basic.

    How can you only be pretty sure? As far as I know every language save assembly has functions, arrays, loops and stuff like that

  5. 1 hour ago, ingoi said:

    As title says give me a recommendation and your reason for suggesting it compared to other editors. I currently use CodeLobster as my main editor, I have tryed brackets but it didnt seem to offer any additional benefits.

    I use Visual Studio

  6. 9 hours ago, The Cool n00B said:

    I'm making a website, and I'd like to get text from this file:

    http://weather.noaa.gov/pub/data/observations/metar/stations/KBOS.TXT

    PHP should be loading the file via fopen and fread, but how do I select things? What I mean is how do I select "28010G16KT" specifically. It's important to know that this could also be "28013KT" or what it is now, it's weather, so it depends. I fear using indexes of spaces because if I was trying to select "A2995", there could also be an "RA" somewhere in there, if it's raining. I hope this makes sense. Here's what I have:

    
    $stationCode = $_GET["station"];
    $stationCode = strtoupper($stationCode);
    
    $filePath = "http://weather.noaa.gov/pub/data/observations/metar/stations/" . $stationCode . ".TXT";
    $metarFile = fopen($filePath, "r") or die ("Invalid station: Not found in NOAA database!");
    $rawMetar = fread($metarFile,filesize($filePath));

     

    I dont know if anyone mentioned it since I didnt read all the posts, but have you tried Regex? (google it) . If the string fits a pattern then regex will work fine

  7. On 5/12/2016 at 11:35 AM, PleasingCone said:

    Anyone have any experience working with ASP Web API. I'm using lazy loading and get a stack overflow error when trying to send an object. I know this is because of the infinite loop caused by lazy loading and I was wondering the best way to fix this. I know you can use data transfer objects but I was wondering if there are any better way. 

    When you retrieve a record from the DB with EF having LazyLoading enabled it will load in the first entity to memory and references to the other related entities, then when you return that entity as a Web Api response it will then serialize it into Json or XML. I believe that the default serializer for json is Json.net. To stop Json.net from creating self referencing loops you can use the below code on your webapi config.

    Aside from that you can also use the .Include() method to invoke Eager loading on an entity

    More on lazyeager loading here https://msdn.microsoft.com/en-nz/data/jj574232.aspx

    config.Formatters.JsonFormatter
                .SerializerSettings
                .ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore;

     

  8. 3 minutes ago, Moonzy said:

    would be a better idea to check the motherboard's website for the compatibility list for something that is not common (dual socket motherboard), pcpartpicker can be inaccurate at times

    Oh bugger, after looking at the website it looks like it only supports E5 2600 family v3/4 the CPU im looking at is v1 I think

  9. So im thinking about buying a server.

    The CPU's im looking at are the Xeon E5 2660 8 cores, 16 threads at 2.2-3 GHz. The reason why im looking at these is becasue I think I can get them pretty cheap (200 ea second hand)

    The motherboard im looking at is the Supermicro X10DRL-i dual socket board.

    The other parts of the system I havn't looked at but am sure they are trivial

    Memory: ECC 16GB per CPU at the rated speeds for the motherboard.

    PSU: Probably about 450 W should be heaps enough (100W per CPU I believe)

    Storage: 1TB Disk drive, 250 GB SSD

     

    The main concern here is the CPU and motherboard compatibility between CPUs and motherboard, I cant find the motherboard on pc part picker, from what i've read the motherboard is LGA 2011 so it should be fine with the CPUs but I wanted to check with you guys. So what do you think? good plan? not compatible?

  10. 14 hours ago, ¨TrisT¨ said:

    : O

    I've worked with httpclient, I actually have the whole thing setup already, but I have to click a button to refresh info(that comes json formatted, so json.decode is the only thing I've used from MVC so far) and I don't really want to have a from-time-to-time auto refresh, though I've in fact never really heard of Web Api or SignalR. And never really got into MVC except when research pointed to it (which is amazing given it was probably exactly what I actually needed). It does seem really nice from the little I've read so far though : )

     

    Thanks a whole lot man!! :D. 

     

    Also, and this is just me being a stubborn duckhead, but how can polling not be real real time? You do get something back when something else triggers it :P.

    No fair enough man, I dont think I explained myself very well. While some people consider polling real time, I believe this is incorrect. To explain what I mean about the differences here I'll give you an example that im actually working on right now.

    I have my client side (website) which the user can invoke a long running operation on the server, how I have it configured is that when they invoke this action it gets put into a queue since it is very CPU intensive aswell. So the flow from the client side goes: User clicks START -> request to server -> Server places request to process in queue (database) -> response back to client telling them success.
    So as you can see that's a nice an simple process, the issue is that even though the process is long running it provides a result that the user will want to see at some point. How is this solved? With real time connections!

    Now to solve this with polling we could just poll the server every second or so to check if it's done, but this operation takes about 5 minutes so that's 300 (60*5) requests to the web server and then 300 from the server to the db, this is where polling is bad.
    Or the other way we can solve this is with EventHandlers, in this example I am using SqlDependancy: User clicks START -> request to server -> Server places request to process in queue (database) Aswell as placing a OnChangeEventHandler on the table which will fire when it changes next -> response back to client telling them success. Then when the OnChangeEventHandler fires it sends a request back to signal r which then grabs the new data from the DB then sends it to the client.

     

    It's probably still not the best of explanations but might get my point across, I'd give you a link to the website to show you it in action but it's not quite done yet

  11. Ok so I am very confused on what you're trying to accomplish with this. From what I can tell you have little experience working with asp.net, I would advise working with some simple asp.net MVC applications to start off with or maybe Web Api depending on what you like. After you understand some more on how to work with asp.net web servers then I'd advise looking into HttpClient for making requests in C#, that's under the System.Net.Http namespace, aswell as the Signal R NuGet package to deal with real time communication, which is actual real time not polling. Which brings me to my next point, polling is not real time, generally polling is a rather bad way to handling communication events are much better way of doing  things.

  12. 1 minute ago, givingtnt said:

    true, but you can try something like a .tech or .io or whatever. doesn't need to be .com

    perhaps you can try to find if there is such a thing as a .tool or .wow

    wow.tool could be good too

    Oh hey, that's not a terrible idea, wow.tool and tool.wow are both taken but ill keep going through other ones to check

  13. So im making a website that's has a few tools for WoW (World of Warcraft) and I'm trying to come up with a domain name to use but im at a bit of a loss. Most wow websites are something like wow(something).com, so I thought that wowtools.com would have been the best choice for mine buttt it's taken :/ other oens i've thought of is wowutilities.com but I think that's far too hard to remember so then I thought wowutility.com which isnt as bad, so what's your guys opinion?

  14. 4 minutes ago, GreezyJeezy said:

    Java is annoying and dead. I tried that as my first language but then switched to Python and then Leaned Haskell but I forgot a lot of Haskell 

    Sorry my friend Java is not JavaScript, they are completely different languages. Java is no way near dead. JavaScript is no way near dead, infact JavaScript is actually the most used language in the world, use it

  15. On 4/3/2016 at 1:22 PM, Bren00x said:

    I mean I'm ok at html and Css

    but I was just wondering a proxy like glype but for only one website

    If you only know html and css you're a long way off making something like this. You need a programming language to be able to do this, eg C#, java, python, php

  16. On 4/2/2016 at 9:08 AM, jameshumphries47 said:

    I have begun work, im going to have a to do list so i can keep track on what needs doing, and you guys if you want can see whats being done.

    1. login system -salt-hash <Complete>
    2. User page with image, bio, and shows "feedback" <working on>
    3. register <working on>
    4. log out -?? holding the username in a session variable maybe, then clearing it? Anyone got a better idea? 

    Rule number one for Authorization and Authentication is do not roll your own.

×