Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

reniat

Member
  • Content Count

    838
  • Joined

  • Last visited

Awards


This user doesn't have any awards

3 Followers

About reniat

  • Title
    Member
  • Birthday 1992-01-05

Profile Information

  • Gender
    Male
  • Location
    Kansas City, MO
  • Occupation
    Software Engineer

System

  • CPU
    i7-7700k @ 5.1ghz @ ~1.42v
  • Motherboard
    ASUS Prime Z270-AR
  • RAM
    32GB (4x8) G.Skill TridentZ RGB DDR4 3000
  • GPU
    1080ti ASUS Strix OC @ ~2ghz
  • Case
    Be Quiet! Dark Base Pro 900 Silver
  • Storage
    500GB Samsung 960 SSD for primary (m.2 nvme), and 256GB Samsung 850 EVO SSD as secondary
  • PSU
    Seasonic Prime Titanium 850W
  • Display(s)
    Acer XG270HU (and a couple extra 1080p monitors for 3 total)
  • Cooling
    Custom water loop http://imgur.com/a/ZmKo4
  • Keyboard
    Das Keyboard 4 Professional (MX brown)
  • Mouse
    logitech G pro
  • Sound
    Sennheiser HD650
  • Operating System
    Windows 10

Recent Profile Visitors

1,277 profile views
  1. by azure devlops do you mena TFVC? since i know a lot of people use azure devops with git as the underlying SCM
  2. im curious what you think git is a downgrade from. Would you rather have SVN or mercurial? gross.
  3. ..................... I'm gonna blame the fever on this one.
  4. Could just use a salted hash. Far from a perfect solution, but they'd still have to brute force the PW from scratch after opening the script ¯\_(ツ)_/¯
  5. It just requires a compatible JVM version. I meant not as portable compared to something like C, where pretty much every major system already has a valid compiler without needing to install anything. C# was mainly the focus of the compatibility stuff since historically it's pretty Windows focused though they do have stuff like Xamarin
  6. Try not to pigeon hole languages like that. Game engines comprise such a small % of the C++ code out in the world (it's behind most of the web browsers you use for example), and python isn't the only language to do machine learning in. There is truth in some of the language stereotypes, but it might give you wrong idea about a language if you latch on too firmly. Instead of specific applications, think of the languages in terms of their strengths weaknesses and go from there: (this is BY NO MEANS an exhaustive list, just the stuff that comes to my mind) C/C++ Pros Low level High performance A lot of tooling to catch errors at compile time Portable Cons Higher skill curve some types of defects can be very hard to track down (e.g. memory/GDI issues) C#/Java Pros Not as performant as C/C++, but adequate for the vast majority of applications have a wide variety of built in features (especially with C# and .NET) Lower skill curve, as many low level operations are abstracted away Cons Managed memory (garbage collection) can sometimes have performance impact (not common) Not necessarily as portable. The appropriate JVM/.NET environment, and .NET in particular is limited to mostly windows machines. Python/Javascript/Ruby Pros Typically the lowest barrier of entry. Very little is needed to run simple but useful things Great for automation and quick scripts Extremely large library selection, with a huge dedicated userbase constantly adding to it (this is why python is such a common research language) Cons Weaker performance, though this can often be mitigated (such as using precompiled libraries in python) Heavy reliance on third party libraries means extra work with upkeep. Not as portable again, THIS WAS NOT MEANT TO BE A COMPLETE LIST. This is just to show how you should look at languages based on strengths, not stereotypical uses (which are often outdated). Most likely embedded development in todays market, but it depends wildly based on where you work.
  7. you are using 'guess' before it's actually set to anything.
  8. in terms of pure execution speed the gap is definitely smaller than it used to be, but there are still some major factors that basically prohibit java from being a high performance game language. The biggest reason is that it's really not worth the effort of porting major game engine to java, so you're stuck with whatever platform those engines give you. The closest would be Unity with C#, but the super high performance engines are almost all C/C++. Another reason java isn't a great game language is garbage collection. It creates a lot of performance uncertainty, since you really can't control when that happens. There are a few different GC methodologies you can use, but no matter what you are at the mercy of the GC to not collect during a critical moment causing a performance dip. For most desktop development that's not really a huge concern, but in the gaming world of 60fps+ and high refresh rates and "smoothness" being the be all end all metric, java's GC can be nightmare. The exception of course, is the high performance icon Runescape, which is built in java.
  9. i'm a bit confused as to whats going on here, since it looks like vetorDelO is some kind of collection based on the variable view there, but you are directly comparing it to the temposeExecucao, which looks like a numeric primitive, which shouldn't compile. More context in the code would help here.
  10. reniat

    API

    Since it's such a specific requirement (conversion and it HAS to be done through consuming an api), i'm guessing its some kind of homework assignment. I just want to throw this out there, since i also think doing a Rest API call for something this trivial would not be a good actual solution.
  11. reniat

    API

    I would assume so. It says "Convert most known measurement types: imperial, metric, mass, length, temperature, time (and more)." Might have to just dig through the api documentation more (which is really good practice and probably why this is a requirement, if this is an assignment)
  12. reniat

    API

    https://www.neutrinoapi.com/api/api-examples/node.js/ Just fyi it was the very first google result of "metric to imperial coversion API"
  13. As long as your fittings are properly tightened if its a custom loop. Just do it gently, since water is heavy. Also make sure your reservoir is properly closed. If it's an all in one cooler than don't worry about it.
  14. (defun fizzbuzz () (loop for x from 1 to 100 do (format t "~&~{~A~}" (or (append (when (zerop (mod x 3)) '("Fizz")) (when (zerop (mod x 5)) '("Buzz"))) (list x))))) for i in range(1, 101): if i % 15 == 0: print ("FizzBuzz") elif i % 3 == 0: print ("Fizz") elif i % 5 == 0: print ("Buzz") else: print (i) for(int i=0; i<=100; i++) { if(i%3==0 && i%5==0) { System.out.println("FizzBuzz"); } else if(i%5==0) { System.out.println("Buzz"); } else if(i%3==0) { System.out.println("Fizz"); } else { System.out.println(i); } } I simply cannot agree that Lisp is syntactically equidistant to C langs as python especially when you're talking newbies, who will be spending 90% of their time with loops and conditionals.
  15. Similarity is a gradient, and I feel like it's pretty easy to see that python is closer to the C languages than Lisp. I think even a beginner is going to see "oh I have to add ; to the end of every statement" as far smaller hurdle than "oh that entire S-expression thing I finally got used to is now entirely not applicable"
×