Jump to content

Razbit

Member
  • Posts

    143
  • Joined

  • Last visited

Awards

This user doesn't have any awards

6 Followers

About Razbit

  • 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

1,036 profile views
  • Nup

  1. How about Qt Creator? A nice cross-platform IDE, installs (checkbox) MinGW GCC on Windows and you're off to the races
  2. 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. 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. have a look: http://amfeltec.com/products/flexible-x4-pci-express-4-way-splitter/
  5. what other components you got in the computer? which CPU, motherboard etc are you using
  6. 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. 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. 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
  11. Looks interesting so far, I'd love to see it "get wet" Keep up the good work, Razbit
  12. 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
  13. Hello again, and first of all sorry for this delay again... Anyhow, now that the summer is finally here, I'll have time till mid-August, more or less.. So, there will be (and has been) progress! After a long while of sanding the putty I got to drilling the holes open again. I used a piece of the hole mesh as a guide and got to it: A couple of holes at a time, but it turned out pretty good: When it gets painted I believe it'll be quite hard to find the cut (by accident, at least). The same method was used with the front IO thingy. Some more sanding to smoothen the holes and done. I'll paint the case once all the internals are done. The next thing I did was figuring out a way for mounting the mobo to the case. The aluminum L-channel provided a surface for the two mounting screws at the expansion slots, so all I did was a hole (2.8 mm) and screwed a riser to it. The mobo was positioned and held in place using a couple of expansion cards, one of which is shown above. I made two holders for the rest of the 6 holes. I used a bunch of risers and some aluminum C-channel. Screwed them to the board and glued to the case using chemical metal. The board seen in these pics is not one that'll be used in the end After gluing I used a car coolant container as a weight to keep the motherboard down There she is Now about the future of the build. The Redefine got severely damaged while I was selling it, so its case is unusable now.. The parts work, tho. So, I'll need to get rid of the motherboard (MVIIR) and the 360 rad, rest of the parts will be used in this build! That means we'll have a 4690K and a R9 290 in this case, with water cooling. I need a new mobo (Asrock Z97M Pro4?) and a rad, probably a single 280 to the front. Once I have the mobo and the rad (won't take long, hopefully during the next two weeks), I'll finish this one, shouldn't be that much left anymore. I'll get back to you with the side panel soon, tho Thanks for reading! Cheers, Razbit
×