Jump to content

Alef

Member
  • Posts

    33
  • Joined

  • Last visited

Awards

This user doesn't have any awards

About Alef

  • Birthday January 3

Profile Information

  • Gender
    Not Telling
  • Location
    Canada

System

  • CPU
    i5 2500k @ 4.5Ghz
  • Motherboard
    Asus P8P67 PRO
  • RAM
    16GB
  • GPU
    Radeon R9 270x
  • Storage
    Samsung 840 EVO 500GB, WD Blue 1TB, Seagate Barracuda 2TB
  • Cooling
    Hyper 212 EVO
  • Keyboard
    Corsair K70
  • Mouse
    Corsair M95
  • Operating System
    Windows 7 Pro
  1. Wow, I was so close I tried removing "+" from the expression thinking it might affect it, but never did try removing brackets. Thank you for your help
  2. I am trying to split a string on a matched regular expression but its not behaving as intended. It splits in weird spots. While if use the str.match function with the same regular expression it finds all the things I want to split on. So I am kind of baffled to whats going on. Trying to split using following expression. This matches for example "74017 - SOFE 3850U", "74019 - SOFE 3850U", "74020 - SOFE 3850U" ........ /([0-9]{5})+\s+-+\s+([A-Z]{3,4})+\s+([0-9]{4})+U/g Sample of the data I am attempting to split on using the regular expression above 74017 - SOFE 3850U,Lecture,11:10 am,12:30 pm,T,Lecture,11:10 am,12:30 pm,R,Lecture,74019 - SOFE 3850U,Laboratory,12:40 pm,3:30 pm,W,Laboratory,12:40 pm,3:30 pm,W,Laboratory,12:40 pm,3:30 pm,W,Laboratory,12:40 pm,3:30 pm,W,Laboratory,12:40 pm,3:30 pm,W,Laboratory,12:40 pm,3:30 pm,W,Laboratory,74020 - SOFE 3850U,Laboratory,12:40 pm,3:30 pm,W,Laboratory,12:40 pm,3:30 pm,W,Laboratory,12:40 pm,3:30 pm,W,Laboratory,12:40 pm,3:30 pm,W,Laboratory,12:40 pm,3:30 pm,W,Laboratory,12:40 pm,3:30 pm,W,Laboratory,74021 - SOFE 3850U,Laboratory,12:40 pm,3:30 pm,T,Laboratory,12:40 pm,3:30 pm,T,Laboratory,12:40 pm,3:30 pm,T,Laboratory,12:40 pm,3:30 pm,T,Laboratory,12:40 pm,3:30 pm,T,Laboratory,12:40 pm,3:30 pm,T,Laboratory,74283 - SOFE 3850U,Laboratory,12:40 pm,3:30 pm,T,Laboratory,12:40 pm,3:30 pm,T,Laboratory,12:40 pm,3:30 pm,T,Laboratory,12:40 pm,3:30 pm,T,Laboratory,12:40 pm,3:30 pm,T,Laboratory,12:40 pm,3:30 pm,T,Laboratory,74285 - SOFE 3850U,Laboratory,12:40 pm,3:30 pm,R,Laboratory,12:40 pm,3:30 pm,R,Laboratory,12:40 pm,3:30 pm,R,Laboratory,12:40 pm,3:30 pm,R,Laboratory,12:40 pm,3:30 pm,R,Laboratory,12:40 pm,3:30 pm,R,Laboratory,74022 - SOFE 3850U,Tutorial,2:10 pm,3:30 pm,M,Tutorial,74023 - SOFE 3850U,Tutorial,8:10 am,9:30 am,M,Tutorial EDIT: Found a suboptimal solution by using str.replace first then str.split. I was able to do "somestring".replace(regex, "^") then split on "^" . Still want to know why the split function inst working as intended though.
  3. Using LVM Check, dm-crypt Check, Samsung SSD check, Kernel 5.1 nope, running 4.9. Thanks for the heads up, could of been affected by this if I decided to update to a more recent kernel.
  4. I would avoid that cpu, while it may be powerful it's designed for multi socket systems, often quad cpu's. Which won't helpful with minecraft unless your running many servers. Also good luck sourcing a motherboard for that.
  5. Type "groups" to get the groups your a member of type "ls -l | grep filename" in the folder containing the file your trying to open. copy the line with the filename your trying to open and post it here. Note grep just filters results you can forgo it if your having issues.
  6. I don't think there is a way to default them per say. But you can change them. I am not familiar with the chgrp command I have always used chown but I think it just changes the group set on the files from what I have read. what user are you using to access the files, what group(s) is the user a member off, what is the owner & group set as on the files your trying to access (might need to be root to check). Also if your unsure on how to do anything above, a quick google should provide the results your looking for
  7. ln -s (source folder path) (destination path) ex "ln -s /mnt/cifs/Alef_Files /home/alexandre/Alef_Files"
  8. Try creating a symbolic link in a folder you know you have read write permissions with Plex, and point it to the mount point of the raid 1 drive
  9. I think they want to port forward on the client end so they can run some service ex web server
  10. I know you can do what your trying to do with a GRE tunnel using this as a rough guide https://wiki.buyvm.net/doku.php/gre_tunnel obviously some steps will be slightly different depending on your requirements/setup. Though if you figure out a VPN based solution I'd be interested to know Also is "net.ipv4.ip_forward" enabled on the server?
  11. You could create a spanned volume in windows. Allows the OS to view the two disks as one. It's not raid 0, so if one drive fails you won't lose everything.
  12. Running the Error-checking feature in windows, seems like its going to take a while, will report back later. EDIT: Running that Error-checking feature in windows helped, it no longer randomly disconnects when doing normal tasks though when I tried running HD Tune the test would get 25% of the way though before disconnecting, guess I am going to have to replace the disk sooner then I expected.
  13. Tried that, problem persists. Same though crossed my mind though never backed anything up as its just programs (mostly games) and a backup of some of my important stuff on my NAS. Is it possible that is keeps trying to read from a bad part of the disk and because it can't read it, it drops? If this is the case, is there a way to mark that section as bad? EDIT: Had it drop once a few months prior and it went away.
  14. My secondary drive, which I store almost all my programs on keeps disconnecting from the system. It can't been seen by the BIOS or the OS unless I restart my computer a few times or I disconnect and reconnect the SATA connector a few times. Starting Steam makes it disconnect from the OS every time and other times it just randomly disconnects after several hours. I have tried switching the power and SATA cables with my other HDD and the problem persists, so its not a cable issue.
×