03:08
egg is now known as egg|zzz|egg
04:55
NathanKell|AFK is now known as NathanKell
05:18
NathanKell is now known as NathanKell|Twitch
07:28
aradapilot has quit [Remote host closed the connection]
07:29
aradapilot has joined #spacedock
08:16
egg|zzz|egg is now known as egg|zz|egg
08:22
egg|zz|egg is now known as egg|z|egg
08:23
NathanKell|Twitch is now known as NathanKell|AWAY
10:12
<
SpaceDock >
OpenDock/master 795462c Dorian Stoll: Dynamic content updates brought to you by the wonders of vue
10:12
<
Thomas >
VITAS: RockyTV: ^ :D
10:21
<
VITAS >
so vue is your new go
10:21
<
VITAS >
aka hype of the season ;)
10:22
<
Thomas >
No, I still hype go
10:22
<
Thomas >
But I hype vue too
10:23
<
Thomas >
But seriously: It it much more fun to work with vue than it was with jquery
10:57
egg|z|egg is now known as egg
11:07
<
VITAS >
ive no problem with jquery but i might look at vue if its so greart
16:02
aradapilot_ has joined #spacedock
16:02
aradapilot has quit [Read error: Connection reset by peer]
16:12
<
RockyTV >
Thomas, how does it work?
16:12
<
RockyTV >
also, why does google have to fuck up their versioning?
16:13
<
RockyTV >
they're probably splitting between go1 and go2
16:15
<
RockyTV >
also, do you know of any good sftp clients for windows?
16:30
<
Thomas >
RockyTV: I just refetch the data every 30 seconds and vue does the rest.
16:30
<
Thomas >
RockyTV: I use WinSCP
16:37
<
VITAS >
or filzilla
16:37
<
VITAS >
winscp integrates with putty and has an editor integrated
16:40
<
RockyTV >
I want to setup "keep remote files up to date" automatically but it's a pita
16:41
<
VITAS >
thats the job of your ide
16:41
<
VITAS >
dev env, editor bla
16:41
<
VITAS >
integrated development enviroment
16:42
<
RockyTV >
I don't need that
16:42
<
RockyTV >
I just want to keep my personal files in sync
16:42
<
VITAS >
you dont need fency thins like autosync then
16:42
<
RockyTV >
I don't want to have to press sync every time something changes
16:42
<
VITAS >
in that case you want soem sort of rsync like implementation
16:42
<
RockyTV >
I'll eventually miss them
16:42
<
VITAS >
or owncloud
16:42
<
VITAS >
or justs tore it on an smb share
16:43
<
VITAS >
or some backup soft
16:43
<
VITAS >
(e.g. the windows build in one)
16:43
<
RockyTV >
smb is vulnerable
16:43
<
VITAS >
...if thats still thing
16:43
<
VITAS >
computers are
16:43
<
VITAS >
and you too
16:43
<
RockyTV >
Thomas, what do you think of changing: backend + '/api/users/current' to `${backend}/api/users/current` ?
16:44
<
VITAS >
do you stop beeing you because of it?
16:44
<
RockyTV >
any windows thing is insecure
16:44
<
VITAS >
any thing is insecure
16:44
<
VITAS >
there isnt 100% secure ever
16:44
<
VITAS >
(sorry to crush your world)
16:45
<
VITAS >
so smb and insecure....
16:45
<
VITAS >
there is this problem called eternal blue
16:45
<
RockyTV >
thing is, sftp isn't vulnerable to wannacry
16:45
<
VITAS >
and its fixed
16:45
<
VITAS >
and it only is usefull IF you have a virus
16:45
<
Thomas >
RockyTV: Hmm, I dont know
16:45
<
VITAS >
and said virus wants to infect your smb server
16:45
<
RockyTV >
I prefer trusting an open source software that runs on linux (excluding smb because the protocol isn't safe)
16:45
<
VITAS >
and that server has that securioty hole
16:46
<
RockyTV >
well, smbv2/v1
16:46
<
VITAS >
so now you see its as safe as you make it
16:46
<
VITAS >
also: you dont have to do smb via the inet
16:46
<
VITAS >
and if you must always use vpns
16:46
<
VITAS >
for everything
16:47
<
VITAS >
the rest is soemthign you picked up in the media :)
16:47
<
VITAS >
but if youre paranoid beyound reason use webdav
16:47
<
RockyTV >
vpns are expensive :(
16:47
<
VITAS >
and finished
16:48
<
VITAS >
its like saying that running a webserver is
16:48
<
VITAS >
it depends on what and where
16:49
<
VITAS >
having two hosts and doing vpns between them only costs a bit of bandwidth
16:49
<
VITAS >
because of encryption and encapsulation
16:49
<
Thomas >
And if you go full paranoida mode you pipe all the traffic of the vpn through the tor network :P
16:50
<
VITAS >
no thats insane
16:50
<
RockyTV >
how so? >> having two hosts and doing vpns between them only costs a bit of bandwidth
16:50
<
Thomas >
VITAS: I know :D
16:50
<
VITAS >
because didnt you know : many exit nodes are provided by the nsa and other agancys
16:50
<
VITAS >
RockyTV, just read up on openvpn
16:50
<
VITAS >
or vpns in general
16:51
<
VITAS >
i personaly prefer openvpn because its easy
16:58
<
RockyTV >
Thomas, are you creating a new vue app for each page?
16:58
<
RockyTV >
why not use a single one for everything?
16:58
<
VITAS >
sounds not like best practice
16:59
<
VITAS >
but my guess is: its normaly single page?
16:59
<
Thomas >
Because when the page reloads it gets deleted anyways
16:59
<
Thomas >
It's just code duplication
17:01
<
SpaceDock >
OpenDock/master b74bfa9 Dorian Stoll: Anonymus routes
17:02
<
RockyTV >
getting slim errors
17:03
<
RockyTV >
can't find template layout.html
17:03
<
RockyTV >
I'll just move it outside a subdir
17:03
<
Thomas >
No, I changed something
17:03
<
VITAS >
tip: dont call it .html if its a template
17:04
<
Thomas >
All template links need to change to templates/<name>.html instead of <name>.html
17:04
<
VITAS >
call it something like .tpl
17:04
<
Thomas >
and I didn't change all the templates yet
17:04
<
VITAS >
i even remember that there was a shortcut to call views where you dont have to give the file extetntion
17:10
<
RockyTV >
still not working after changing from templates/<name>mhtl to <name>.html
17:12
<
RockyTV >
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data at utils.js
17:16
<
Thomas >
sounds like something with the request is failing
17:16
<
RockyTV >
there's no responseText in the xhr response
17:17
<
RockyTV >
a is 'error' and b is empty string
17:17
<
Thomas >
Is your backend running?
17:17
<
RockyTV >
I'm using the sdb backend
17:17
<
Thomas >
umm.. vitas killed the dev server some weeks ago
17:17
<
Thomas >
you need a local instance
17:17
<
RockyTV >
oh, just noticed that openvpn didn't even connect
17:18
<
RockyTV >
okay, will setup a local instance
17:22
<
RockyTV >
why did vitas kill the devserver?
17:25
<
VITAS >
BECAUSE GENPAGE WASNT PAYING ANYMORE
17:25
<
VITAS >
it costs what i pay for an entire server with 64gb ram dual ssd and i7
17:25
<
VITAS >
but for 2-4gb ram and 20gb of hd
17:26
<
VITAS >
so theyre simply expensive as hell
17:26
<
VITAS >
plan is to set up another
17:26
<
VITAS >
but ive a cold so im out of order for the moment
17:27
<
RockyTV >
Thomas, how do I use the plugins?
17:28
<
Thomas >
You make a file called plugin.txt in the folder build
17:28
<
RockyTV >
what is this golang dependency url?
17:29
<
Thomas >
(remove the last line if you are using powershell)
17:29
<
RockyTV >
I hope it works with go1.7
17:30
<
Thomas >
You probably need 1.8
17:40
<
RockyTV >
are you using psql or mysql, Thomas ?
17:49
<
VITAS >
remember that i want to use mariadb in the future
17:50
<
Thomas >
atm the backend imports psql, mysql and mssql drivers
17:50
<
Thomas >
I dropped sqlite because ugh, cgo
17:50
<
VITAS >
wyes dont need that
17:53
<
RockyTV >
Thomas, after I built sdb, where do I laucnh it?
17:53
<
RockyTV >
there's no sdb binary file in my git folder
17:53
<
Thomas >
There should be a sdb.exe in your current directory
17:53
<
Thomas >
can you pastebin the console content?
17:54
<
RockyTV >
there's build_sdb.go
17:54
<
RockyTV >
running it again
18:02
<
Thomas >
vendor/src/github.com/kataras/iris/context/response_writer.go:29: undefined: http.Pusher
18:02
<
Thomas >
try go 1.8
18:03
<
Thomas >
I use hastebin or gist
18:04
<
VITAS >
whatever bin
18:10
egg is now known as egg|nomz|egg
18:23
<
RockyTV >
I'm using go 1.8
18:24
<
RockyTV >
scratch that
18:32
<
RockyTV >
I fucked up
18:32
<
RockyTV >
can't install golang-1.8, won't find the go bin
19:06
egg|nomz|egg is now known as egg
19:32
NathanKell|AWAY is now known as NathanKell
20:21
NathanKell is now known as NathanKell|AFK
21:26
NathanKell|AFK is now known as NathanKell
21:42
<
RockyTV >
Thomas, src/SpaceDock/routes/init.go:88: cannot use "github.com/iris-contrib/middleware/cors".New("github.com/iris-contrib/middleware/cors".Options literal) (type "github.com/kataras/iris/context".Handler) as type iris.Handler in argument to SpaceDock.App.Router.Use:
21:42
<
RockyTV >
"github.com/kataras/iris/context".Handler does not implement iris.Handler (missing Serve method)
21:42
<
RockyTV >
on go 1.8.3
22:32
egg is now known as egg|zzz|egg
22:49
GK1wmSU has joined #spacedock
22:50
GK1wmSU has left #spacedock [#spacedock]
23:51
NathanKell is now known as NathanKell|Twitch