Jump to content
Phishing Emails & YouTube Messages - Fake Giveaway Read more... ×
Search In
  • More options...
Find results that contain...
Find results in...

Razbit

Member
  • Content Count

    143
  • Joined

  • Last visited

Awards


This user doesn't have any awards

6 Followers

About Razbit

  • Title
    Member
  • Birthday June 12

Contact Methods

Profile Information

  • Gender
    Male
  • Location
    Finland
  • Interests
    Modding, coding, gaming, building things, spending quality time w/ friends&family
  • Occupation
    Student

System

  • CPU
    5820K
  • Motherboard
    Asus Rampage V Extreme
  • RAM
    2x8GB HyperX Fury 2666
  • GPU
    GeForce GTX1070Ti + Radeon HD7850
  • Case
    BeQuiet! SilentBase 801
  • Storage
    500GB 970 EVO + 240GB HyperX Fury + 7TB
  • PSU
    1000w Strider Plus
  • Display(s)
    34" Ultawide Samsung CF791
  • Cooling
    To-be water
  • Keyboard
    Gigabyte Aivia Osmium (cherry brown)
  • Mouse
    Cyborg R.A.T. 5
  • Sound
    Roccat Kave, tube amp for dem speakers
  • Operating System
    Win 10, MacOS 10.14, 2x debian servers virualized on Proxmox

Recent Profile Visitors

589 profile views
  • Nup

  1. Razbit

    [Noob Question] Setting up Eclipse C++ with MinGW?

    How about Qt Creator? A nice cross-platform IDE, installs (checkbox) MinGW GCC on Windows and you're off to the races
  2. Razbit

    Calculate math from string // c++

    Thinking out an algorithm is not an easy task. Even though a calculator might seem simple, there is quite a lot more to it than you'd think on the first glance.. Point being, you should not settle with whatever first comes to your mind (even if it worked ). Trying to find alternate solutions is always a good idea!
  3. Razbit

    Calculate math from string // c++

    My approach would be something along these lines: 1) parse the string starting from the "main" operator, save to a tree data structure 2) walk the tree from the leaves up, calculating each node from its two children 3) when at the top, done. e.g. 2 * (1 - 4) main operator *, operands 2 and (1-4) add the * to the root node of the tree add 2 as the other child of the * node parse the parantheses, creating a new "-" child for the "*" node add 1 and 4 as its children now the tree should be like this * / \ - 2 / \ 1 4 walking the tree from the bottom up: 1) 1 - 4 = -3, thus the tree: * / \ -3 2 2) -3 * 2 = -6, thus the tree: -6 done. On a side note, a reverse polish notation calculator would be a lot easier to implement. Actually this is the reason first powerful calculators from e.g. HP used RPN instead of the more usual infix notation: the code needed for parsing parentheses took up a large portion of the calculators' memory, thus taking space from more advanced functions. My implementation for an infix calculator actually transformed the expression into RPN and then calculated it. see https://github.com/Razbit/it5/tree/master/stack
  4. Razbit

    Trouble Finding An Obscure Cable Extension

    have a look: http://amfeltec.com/products/flexible-x4-pci-express-4-way-splitter/
  5. Razbit

    Better CPU or SSD?

    what other components you got in the computer? which CPU, motherboard etc are you using
  6. Razbit

    VGA to hdmi

    AFAIK, no. VGA is analog whereas HDMI is totally digital. You'll need an adapter there. DVI to HDMI goes with a pure cable tho
  7. Razbit

    The under 100 line challenge!

    While writing a UNIX-ish OS (RazOS), I "needed" my own version of hexdump, so here it is #include <stdint.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <ctype.h> int read(FILE* file, int n, uint8_t* buf) { uint8_t* tmp = buf; int c = 0, i = 0; do { c = fgetc(file); if (c != EOF) { *(tmp++) = c; i++; } } while (c != EOF && i < n); return i; } int main(int argc, char** argv) { if (argc < 2) { printf("Usage: hexdump <file>\n"); return -1; } FILE* file = fopen(argv[1], "r"); uint8_t* buf = malloc(16); if (buf == NULL) { fprintf(stderr, "Memory error\n"); return -1; } int n, i, j = 0; do { printf("%8.8x ", j); n = read(file, 16, buf); for (i = 0; i < n; i++) { if (i > 0 && i % 8 == 0) printf(" "); printf("%2.2x ", *(buf+i)); } if (n > 0) { if (i < 8) printf(" "); for (; i < 16; i++) printf(" "); printf(" |"); } for (i = 0; i < n; i++) { if (isprint(*(buf+i))) printf("%c", *(buf+i)); else printf("."); } if (n > 0) printf("|\n"); j += n; } while (n > 0); printf("\n"); return 0; } See the original: https://github.com/Razbit/razos/blob/master/tools/hexdump.c Cheers!
  8. Agh, kernel development is running me crazy!

  9. Howdy, fellas! Now that the case is painted, its time for assembly! Here it is, all painted and dried. Some of the cuts can be seen if you look closely, but I'm happy & surprised with the result! So, @JokuTyyppi came over to help me with the assembly (thanks, man!). He got some Noctua Redux fans from the local shop, they fit the color quite well: Only pull, yes. No other way to 1) keep the case cool and 2) have enough space for the mobo & graphics card Trying the mobo Fits well, onward! I finalized the USB hub (soldered the cables and installed using hot glue), the rest of the mobo cables were installed, too The SSD (240GB Kingston HyperX Fury) was installed to the side panel using double-sided tape, then it was the time to install the rad+fan assembly. Of course, it didn't fit without first taking out the mobo.. So, unscrew, remove cables and try again -> fits like a glove. Screwed in the bracket to secure the rad, reinstalled the mobo and on we go with the tubing! Pump -> rad -> CPU -> GPU -> reservoir -> pump. A fill/drain "port" is at the end of the tube leaving the T-piece at the pump. In went the PCIe power cables, the PSU and it was time to fill her up! First, face down: Back on her feet, trying to get rid of air.. Seems to go quite well. Reddish coolant so possible leaks can be seen easily, will change to clear later. Power supply in place and...... Boot up! That drain needs some work, maybe some holders to keep the tube up against the rear aluminum or something, we'll see That's a pretty tight fit, have to say. Not many millimeters of space between the GPU and rad, or the mobo and the PSU Once the side is ready, I call this done. Cheers, Razbit
  10. Razbit

    Windows 10 cannot delete this file.

    Well, at least when upgrading from windows 8 to 8.1 the windows.old could be removed from here: Control Panel -> Administrative Tools -> Disk Clean up -> Clean up system files -> Select previous Windows install (or something like that, it should be about that 20-30 gigabytes of yours) -> Then click Ok Hope this helps, Raz
  11. Thanks, you dont have to wait too long
  12. Wow, time really does fly, gotta say.. The G5 is gettin' ready little by little; it is now painted! So, in the early summer I thought that 'now I finally have time to get this ready', BUT other things got my attention and here we are.. But first, I'll show you how I've planned the cooling system. I fiddled with different radiators and decided to go for a 280 rad from Alphacool. It fits *very* tight, the height with the plugs is exactly the height of the case But, it works better than a 240.. All other components will be taken from the Redefine, except for the motherboard (I bought an Asrock Z97M Pro4 for this build). The pump and the res will sit on the bottom of the case like this: A very fancy plan for tubing can be seen, too The PSU will be from the Redefine, too (Silverstone Strider Plus 1000W). It'll be mounted to the rear of the case, like so: Not too much space left anywhere, eh? Then to the paint job. Some silverish car spray paint from Maston was used, quite close to Apple's color. It turned out pretty good, all the cuts got hidden surprisingly well! Before And after Later today/tomorrow I'll show you guys the assembly! cheers, Razbit
  13. Razbit

    "Greyscale" X99 Build log!

    Looks interesting so far, I'd love to see it "get wet" Keep up the good work, Razbit
  14. Razbit

    Websites to practice C++

    http://www.learncpp.com http://www.cprogramming.com Those two came to my mind, also see the cplusplus.com forums, there are some tasks (e.g. http://www.cplusplus.com/forum/articles/12974/ ) Cheers, Razbit
×