Jump to content

jincio

Member
  • Posts

    17
  • Joined

  • Last visited

Awards

This user doesn't have any awards

Profile Information

  • Gender
    Male
  • Location
    Padua, Italy

System

  • CPU
    i5-4440
  • Motherboard
    ASRock - H81M-DG4
  • RAM
    G.Skill - Ares Series 8GB (2 x 4GB) DDR3-1866
  • GPU
    Gigabyte - GeForce GTX 660 2GB
  • Case
    Cooler Master - Elite 430
  • Storage
    Kingston - SSDNow V200 Series 128GB
  • PSU
    Corsair - CXM 550W

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. As far as I know the 999$ is without taxes. But I might be wrong
  2. I want to clarify that this way its really needed only if you work on 3 or more project with certain frequency. So if I need to stop a project for a couple of month, I just export the VM and put it on an External Drive or company Storage, and if someone else in the future need to jump to that project, all he needs to do is import the VM, and he'll be ready to go, with all the setup an documentation. For the performance I never had any issue with slow VM with an i7 Q 740 and 8GB of RAM, so not a blazing fast PC.
  3. Personally I like to work with bunch of VMs for each project I work on, so I don't end up with the main system loaded with every little crap that you end up using for every project (es. older version of Java/Node/Python, specific library for compile a specific code, PATH variable, DBs etc), but you can also choose to have one VM for each language (on VM setup for Java, one for Node, etc..). This way I'm sure that every time a startup a VM I have everything I need and nothing more. The VM are usually Linux, but that's just because I work on server stuff that will run on Linux, and as others had said, you should work in the environment that the code is suppose to work on. I use Virtual Box because we are using it in the office, so if someone need to jump to a new project, you can easy copy the VM and the new comer is ready to go without losing time setting up. Obviously this is less ideal if you work on only one project. Using this method let you choose the host that you like the most as it will just run some common stuff that could run everywhere. I personally like Windows cause is easier to work with. For me. But you can use whatever you prefer.
  4. Oh, nice to know, thank you very much!
  5. The i7 8700 which is at 330€ and the 7700 it's also at 330€ with the respective K at 400€. So, in my country at least, AMD is cheaper Also, being the first time with an AMD cpu, i though that the stock cooler was way better than the Intel counterpart, and good enough if you don't overclock it
  6. @TH3R34P3R Thank you! The motherboard is better just because of the integrated wireless or there is something else? because I dont mind having an external wireless card, and it's cheaper
  7. Hi guys, I'd like some advice since it's the first workstation i build. It's for a friend of mine, that he will use mainly for editing video and post-production (Premiere, After Effect). Obviously he will game on it from time to time. The budget is 1500€ PCPartPicker part list / Price breakdown by merchant CPU: AMD - Ryzen 7 2700X 3.7 GHz 8-Core Processor (€307.55 @ Amazon Italia) Motherboard: Gigabyte - B450 AORUS ELITE ATX AM4 Motherboard (€99.90 @ Amazon Italia) Memory: Corsair - Vengeance LPX 32 GB (2 x 16 GB) DDR4-2666 Memory (€183.00 @ Amazon Italia) Storage: Samsung - 970 Evo 500 GB M.2-2280 Solid State Drive (€119.89 @ Amazon Italia) Storage: Seagate - Barracuda 2 TB 3.5" 7200RPM Internal Hard Drive (€73.54 @ Amazon Italia) Video Card: Gigabyte - GeForce RTX 2070 8 GB WINDFORCE Video Card (€548.90 @ Amazon Italia) Case: Cooler Master - MasterBox TD500 ATX Mid Tower Case (€80.99 @ Amazon Italia) Power Supply: FSP Group - Hydro G 650 W 80+ Gold Certified Fully-Modular ATX Power Supply (€96.90 @ Amazon Italia) Wireless Network Adapter: TP-Link - TL-WN881ND PCI-Express x1 802.11b/g/n Wi-Fi Adapter (€15.39 @ Amazon Italia) Total: €1526.06 Generated by PCPartPicker 2019-03-08 16:07 CET+0100 Is anything way off? Thanks
  8. So, yeah, you can't compare Arrays. That's why you usually use library like Lodash for doing such thing. For the last case on other hand, you are initializing a new empty object let new_string = {}; so when you try to add a string to an object javascript try to convert everything to a string and for that use the method `.toString()` on the obejct, which result in [object Object]. For making the last example work you need to initialize the new object as a new empty string let new_string = "";
  9. So, for work I had to investigate Alexa Skill and Google Action. For the first, yes, you need an AWS account, you could use an empty prepaid card if you dont want give away your credit card. Google don't need credit card info as far as I know, but the Action definition itself it's a bit bulkier in my opinion. That said if you are able to get comfortable with Dialogflow (ex API.AI, a Google aquired Company that offer a web tool for define intent and conversation), you will get a much greater experience, as for Dialogflow is year ahead of the competition. The fact that you are looking to both the platform tells me that you have both an Amazon Echo and a Google Home, or that you have still to buy one. In that case if the only skill you are interest to use is "HomeControl" you can try to check out mycroft.ai, an open source smart assistant that can be easly install on a raspberry.
  10. You could use the native library 'fs'. and use a method of that library that is readdirSync() var fs = require('fs'); var files = fs.readdirSync('/path/to/dir/') /* now files is an Array of the name of the files in the folder and you can pick a random name inside of that array */ let chosenFile = files[Math.floor(Math.random() * files.length)] the discord part seems correct, only that you need to change the path to the image to '/path/to/image/' + chosenFile P.S. you could use the variable '__dirname' which is the path of the current module so for example if your .js is in '/home/user/Project/discord-bot/app.js' and you need the image in '/home/user/Project/discord-bot/images/image.jpg' you can just write __dirname + '/images/image.jpg'
  11. he misspell it its: "pip install numpy"
  12. The simplest solution i see there is to use some something like Virtual Box and install macOS on a Virtual Machine, if your PC is powerful and you gave enough resource to the virtual machine you should be able to get a decent experience. Because even if use use some cross-platform framework you would still need Xcode to do some configuration and to compile the app for iOS. Alternatively you could try to get your hand on a second-hand Mac or a Mac Mini as it's the less expensive or build a Hackintosh. Or you can always switch to Android
  13. i think this should work if i get your question Code:
  14. Would you like to develop an app for a specific OS? In that case you need specific tool for each OS like: iOS: you need an Apple machine for start, you could use some VM (Virtual Machine) software but from my experience it's a very bad solution. Next you need Xcode for write the actual code and relative testing; used language Swift or Objective-C Android: just need Android Studio; used language Java; Windows Phone (What????): you need a machine with Windows you could use a VM with fairly better result then MacOS but still not the best solution. Next requirement is Visual Studio, (note: the actual pattern for App develop is UWP, until they kill it, so the app will be available to all the Windows Platform es: XboX, Windows Phone, Windows 10, etc.. as long as the UI is compatible with these platform); used language C#; If you are planning on a more spread approach you could use some framework that let you use the same code and port it to the various OS. Xamarian is one of these and its strongly promoted by Microsoft, it use C# as language; can access native API React Native is from Facebook and use Javascript; can access native API Ionic; use Typescript; can't access native API Finally for publish the app each Platform require some fee, Apple Store ask around 99$/year, Google Play ask a one time 25$ fee, and Windows should be one time 12$. That is if you want to use the Official Store. There are other way to spread your app without paying these fee. I hope I have been helpful EDIT: just to be clear, you still need an Apple machine even if you use a cross platform framework.
  15. I would suggest you to take a look at Bootstrap, a toolkit that help you build "nice looking" website with just adding some classes on the html. The main website has plenty of documentation and example https://getbootstrap.com/
×