Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Joveice

Member
  • Content Count

    1,291
  • Joined

  • Last visited

Awards


This user doesn't have any awards

2 Followers

About Joveice

Contact Methods

  • Twitter
    @jovedahle

Profile Information

  • Gender
    Male
  • Location
    The Kingdom of Norway
  • Interests
    Linux, Servers (Real metal servers, not those boring VM's), Programming aand cats
  • Biography
    I'm trying to learn about my interests :D
  • Occupation
    Operator on Norsk Helsenett SF, CEO of DigitalArc

System

  • CPU
    i7 7800x
  • Motherboard
    dirt board from gigabyte (pls giga sponsor me :D).
  • RAM
    32 GB putin sticks from bermuda triangle.
  • GPU
    EVGA 1080Ti cooled with water from the rivers on Norway.
  • Case
    900D
  • Storage
    carbord box under my desk.
  • PSU
    fuse box.
  • Display(s)
    prosjector.
  • Cooling
    open window.
  • Keyboard
    corsair k95 rgb PLAT!
  • Mouse
    corsair m65 rgb
  • Sound
    corsair void pro usb rgb
  • Operating System
    windowns 9

Recent Profile Visitors

2,135 profile views
  1. Not gonna be printed anyways, and I don't need them
  2. How does one remove these symbols on each corner of the page?
  3. Friend helped me out. Well turns out, it's due to DST which I guessed, but I didn't quite figure it out, well it was nothing more than that the dates are invalid Suggestion was to set to gmt. Which I did and it allowed me to continue with my dump, some dates will be wrong here, but it does not do anything bad. New dates will be correct as I will reflect it in the software.
  4. More info MariaDB [mydb]> insert into api_tokens values (x,'xxx',x,'2018-03-25 02:23:24',NULL); ERROR 1292 (22007): Incorrect datetime value: '2018-03-25 02:23:24' for column 'created_at' at row 1 MariaDB [mydb]> insert into api_tokens values (x,'xxx',x,'2018-03-25 01:23:24',NULL); Query OK, 1 row affected (0.003 sec) MariaDB [mydb]> insert into api_tokens values (x,'xxx',x,'2018-03-25 03:23:24',NULL); Query OK, 1 row affected (0.003 sec) x is a ID and xxx is a token so I have removed those from this. 02:23:44 does not work but 01 and 03 does. Have I hit a bug?
  5. Joveice

    Is SLI still a bad idea?

    I ran SLI 980Ti, I'm never doing SLI again, I even went to replace it with a 1080Ti which gave me no better performance, but I could finally get rid of all the SLI issues, and I had all the power of the two 980Ti which worked on all games, and not just a few.
  6. This is my error ERROR 1292 (22007) at line 85: Incorrect datetime value: '2018-03-25 02:23:24' for column 'created_at' at row 81 How do I fix this? I have figured out that it may have to do with Daylight savings. I'm trying to import the backup from my old server to my new one. The system is running the timezone Europe/Oslo and we still use those weird summer and winter times (CET, CEST)
  7. No one? Well I'm here in the process: The storage raid is doing this: The RAID Array is in a degraded state - 1 disk is missing and it says 2 hours to recover, I don't understand why it has to do this with a fresh raid? ZFS did not do this. Do I add these as volume groups or? I haven't quite yet understood from where I mount it.
  8. Hello. I have a question regarding raid with Cockpit. Currently I'm running Ubuntu with ZFS, I can offline drives, then I spin them down with hdparm. Replace it and bring it back online, ZFS then starts to rebuild the raid. I have played a bit with Fedora 29 with the Cockpit software, I'm wondering if I can do something like this there? 0 downtime "offline" a drive so I can remove it spin it down? (Or I could still just do that from the terminal) health status? Currently: $ zpool status pool: storage state: ONLINE scan: resilvered 5.04G in 0h4m with 0 errors on Wed Jan 30 19:05:10 2019 config: NAME STATE READ WRITE CKSUM storage ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 sde ONLINE 0 0 0 sdf ONLINE 0 0 0 sdg ONLINE 0 0 0 errors: No known data errors or $ zpool list NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT backup 119G 108G 11.4G - 58% 90% 1.00x ONLINE - database 928G 528K 928G - 0% 0% 1.00x ONLINE - storage 5.44T 15.2G 5.42T - 0% 0% 1.00x ONLINE - $ zpool offline storage sdf $ hdparm -Y /dev/sdf # replace drive $ zpool replace storage sdf $ zpool online storage sdf # raid volume rebuilds
  9. Here is my code $.ajax({ url: url + comment_id, type: 'PUT', data: { comment: html } }); What I want is when this is trigger it should do a normal request, etc I want my browser to redirect with the request as if it was a normal form submit. I have tried to google but all I find is how to make it not follow redirects, which is not what I'm looking for. It does not need to be ajax, but I don't have a normal form, I need to create the request. So it could be a ajax, javascript or jquery, but not a new library. Currently all the ajax calls have this in common which is a must to implement if it's not a ajax call. $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } });
  10. Can you have independent virtual desktops on a multi monitor setup? I can this on my Fedora 28 workstation and I really love this. I where unable to find anything with a few google searches
  11. Hello, So I bought the Galaxy Watch (46mm) and I'm not receiving notifications on my watch, I get them sometimes when I unlock the phone, but it doesn't trigger a "notification" it just shows up as a orange dot. Have you experienced this, if so, where you able to fix it? I'm using the HTC U11. I also got a case at Samsung, but they are really slow and one of the first replies was that "your device may not be compatible" and if that is true I'm returning the watch under the reason of false information since it said it supported android 5 and up.
  12. I have tried this: https://community.linksys.com/t5/Wireless-Routers/Is-it-possible-to-setup-WRT32X-as-access-point/td-p/1272995 But I don't get access to the internet with the wifi, only over ethernet, I also can't reach the internet with the router itself (ping etc, only works for local IP range) How can I do it correctly? I ended up with two as this one kinda has some broken WIFI connctions stuff thats over my head (had something to do with a IPv6 issue which made it jitter a lot) and got a replacement, and I just wanted to test around with it before I end up throwing it away
  13. Joveice

    Python forecast predict help

    So I have followed this: https://medium.com/@josemarcialportilla/using-python-and-auto-arima-to-forecast-seasonal-time-series-90877adff03c This is the guide I have manged to come the longest with. My current issue is that I can't get the prediction to display on my chart, this is my code: import pandas as pd import plotly.plotly as ply import matplotlib.pyplot as plt from plotly.plotly import plot_mpl from statsmodels.tsa.seasonal import seasonal_decompose import cufflinks as cf from pyramid.arima import auto_arima import pickle data = pd.read_csv('IPG2211A2N.csv', index_col=0) data.head() data.index = pd.to_datetime(data.index) data.columns = ['Energy Production'] result = seasonal_decompose(data, model='multiplicative') train = data.loc['1985-01-01':'2016-12-01'] test = data.loc['2017-01-01':] with open('arima.pkl', 'rb') as pkl: stepwise_model = pickle.load(pkl) future_forecast = stepwise_model.predict(n_periods=37) future_forecast = pd.DataFrame(pd.Series(future_forecast), index=data.index, columns=['Prediction']) pd.concat([data, future_forecast], axis=1).plot() plt.show() I have done the arima thing and since it takes so long time each time I saved it and load the file instead each time now.
  14. The bottom works, I didn't try the top one.
×