Information Technology

Dell XPS 15 ssd performance vs SSD 970 EVO NVMe?

Hi, I was wondering what ssd drive does the current XPS 15 mount and what's its benchmark vs one of the best performing ssd out there like the Samsung 970 EVO NVMe.

Does anyone have any benchmark of the default XPS 15 ssd drive?


submitted by /u/damnko
[link] [comments]

AI Chess

Learn Programming - Sat, 10/20/2018 - 02:40

Hello Guys I am newbie in terms of learning AI, and I saw this site to create AI Universe

Which led to experimental time and I followed the instructions and did it on lubuntu 16.04. I did everything and installed everything need and when the step import universe came up it says Import Error: No module named benchmarks

Anybody can help me? Thanks

submitted by /u/ExternalPush
[link] [comments]

Easily download courses from with a subscription

Learn Programming - Sat, 10/20/2018 - 02:34

I love the high quality courses put out by and I've used them for a few years now. A subscription has also become easier to come by, especially since you can get it for free with most library cards.

One thing I don't like is the lack of decent ability to download the videos and view them offline, even with a premium subscription. They do have apps on the various OS platforms but I find them quite lacking. As such, I figured out a way to download full paid-for courses with a handy little utility called youtube-dl.

I created a Github Gist that goes through:

  • downloading and installing youtube-dl
  • passing your authentication details to youtube-dl to give you access to premium videos (without which, you will only be able to download free videos)
  • downloading your full course with one command
  • the command also organizes the course into structured folders by chapter and in the order which you should watch; rather than just throwing all the videos into one folder.

You can get the Gist here: Download and Organize Courses with Authentication.

If you have any edits or additions that could make the Gist better, do let me know in the comments below.

PS: I am not affiliated in any way with

submitted by /u/prof_mandish
[link] [comments]

Good portable laptop value for cash

Good day,

I'm thinking of buying a new laptop (ASUS S511L doesn't cut it anymore) and I am considering ACER Swift 7.

But since I'm not really an expert, maybe there's a better option for me.

Budget: around 1000€ (ACER Swift 7 Intel® Core™ i5-7Y54 /8/256/W10 costs 900€)

I don't need 2 in 1, good battery would be a plus but I want a portable (probably 14") laptop that has best specifications for value.

Windows 10 is a must.

I don't really game, except for Football Manager and the only other thing that might take more power is Photoshop. But I use it for miniscule tasks.

Thanks in advance for your help

submitted by /u/KarlWhale
[link] [comments]

Good laptop with following features.

Would like it to have a GeForce series gpu

Sleep and charge so it can power accessories while sleeping. (Most important)

Media controls using the fn key

Backlit keyboard (pretty important)

Larger than 14"

Midrange i5 or better

Anything else doesnt matter, dont care about the brand, as long as it has most of the specs above.

submitted by /u/-notsopettylift3r-
[link] [comments]

OpenGL (GLFW & GLAD) isn't loading windows correctly. [GCC Terminal] [VS Code] [Linux]

Learn Programming - Sat, 10/20/2018 - 02:21

I'm compiling my code using GCC and a text editor but I'm really not used to it. Does anyone know how to get OpenGL to open up a window?

I'm compiling my code into a .out file, using GLAD and GLFW, and I am including the libraries: -lGL, -lGLX, -lGLU, -lglfw, -lSDL2, -lSDL, -lX11, -lXxf86vm, -lXrandr, -lpthread, -lXi, -ldl, -lXinerama, -lXcursor. I'm also on an Arch based OS.

(GLAD also won't initiate, which I suspect has to do with the window.)

submitted by /u/Doctype_-
[link] [comments]

Should I do a upgrade script?

I have three Ubuntu servers, reverse proxy with nginx, nextcloud and wordpress.

I thinking of creating a simple upgrade script that runs every wednesday night.

sudo apt-get update && sudo apt-get upgrade -y and then reboot after that.

Is that a good idé?

submitted by /u/rjohansson
[link] [comments]

Some help with For Loop, please

Tasker: Total Automation for Android - Sat, 10/20/2018 - 02:07

Don't laugh, but here comes Lazyperson... and I'm always looking for stuff to improve in my existing tasks:

I have a task that turns up (or down) my radio's volume by running AutoInput actions a set number of repeats, say 10 times, with a 300ms wait between this AI actions. Works like a charm. Using an app, of course.

But as you can imagine this could lead to getting to a volume level that is not the desired target if and when the volume was adjusted manually by, say, 3 steps (for whichever reason). My ocd demands the target volume to be always the same...

I now thought of using an AI Query to check for the desired target volume which is displayed as a number in the radio's app (when changing the volume). That also works.

Now I want to change my "volume up/down" task to use an AI Query action and run the AI inputs as many times as it is needed to reach the target volume. I believe I would need to run a for loop for that? But those are yet beyond my comprehension and I would kindly request some input as to how I would go about this?

Let's use the target number of 38. The current volume level number could be 28 or 32 or even 48.

Thanks for some input. :)

submitted by /u/tinkerytinker
[link] [comments]

Is there a more elegant solution ?

Learn Programming - Sat, 10/20/2018 - 02:07

So i have an array of enumerators, and i want the user to be able to insert values into the list via text input. So they way ive designediss as follows

  1. Take input
  2. Split input into an Array of Strings
  3. For loop through the new array of strings
  4. convert each String into an enum via ValueOf and insert into array of enums.

I feel like there should be a more elegant soloution but i have no idea what it could be.

this is the code

String stringarr = in.nextLine(); String[] arr = stringarr.split(","); for (int i = 0; i<arr.length; i++) { i++; Components[i] = Component.valueOf(arr[i]); }


submitted by /u/SBGoldenCurry
[link] [comments]

Looking for a new laptop for work and a bit of gaming

I'm looking into getting a new laptop, and plan on using it mostly for web browsing, word processing, pdf, powerpoint, etc. for research for school. But will also be wanting to play games sometimes, though this isn't the priority (I play Age of Empires II, which doesn't require a ton of computing power).

Specs I'm researching are operating system, CPU processing speed, GPU processing, Storage (HDD vs SSD), and RAM.

Are there any other important specs that are involved with speed/performance or overall value of the laptop?

Any resources for further reading are appreciated.

I'm wanting a laptop with at least 2.4 GHz processor, 8 GB RAM, 7200 RPM HDD (or a SSD), and 14" screen. Does anyone know of any laptops like this out there that are less than $500?

Thanks a bunch!

submitted by /u/OrdinarilyUnique
[link] [comments]

System Monitoring Advice

I have a VPS that has several services running across several users (small scale, <20 processes). I'm trying to find a way so that I can:

  1. Start them all up immediately on reboot (I understand I can use systemd? Will I be able to save output from the processes somewhere?)
  2. View information on these processes. Including CPU and RAM usage. Preferably in a web UI. Also noting that some of these processes spawn threads and I want to be able to monitor them as a whole (so a project may have processes A, B and C, and C spawns threads on and off. I hope to be able to see CPU usage of this project as a whole maybe, and also processes A, B and C (with its child threads), in a graph.)

Kubernetes soundssss like it might be what I want? But I'm not sure. I'm very lost heh and any help would be greatly appreciated?

submitted by /u/fuzzycake
[link] [comments]

Rearranging bits

Learn Programming - Sat, 10/20/2018 - 01:37

If you have 3 number a,b,c, in how many ways could you rearrange the bits of a and b such that a+b =c

For example, if a = 1, b=2, c=3

Answer = 2

(a=1, b=2 and a=2,b=1)

submitted by /u/TotalGas
[link] [comments]

Need help for dependency files.

Learn Programming - Sat, 10/20/2018 - 01:30

I am trying to convert .py to .exe in python 3.6 using pyinstaller. And the conversion is taking place successfully and also working in my PC but as soon as I am transferring it to other PC , it is asking for .dll files.

So can someone guide me as to how to make it work in other PC.

Side note I am using tkinter to build frame. If that is important to know.

submitted by /u/bizzare_coke23
[link] [comments]

Coding Interview Anxiety

Learn Programming - Sat, 10/20/2018 - 01:20

I know this is definitely not unique but I'm currently in my sophomore year of college, studying Computer Science. I have been applying for internships non-stop and now have been looking forward to hopefully passing the resume screening and moving on to an interview.

However, I bought the Cracking the Coding interview book and the premium membership of leetcode and I can't do a single bit of it. It's all going completely over my head. The only bit of data structures I have learned is arrays.

What do I do from here? I'm going to keep rereading and hope something sticks but I really want a better solution. I can't even do the easy problems on leetcode and now I feel even farther behind.

How can I start from the bottom and work my way up to understanding even the easier problems? Thank you guys.

submitted by /u/JJ390
[link] [comments]