These are chat archives for synrc/n2o

26th
Mar 2016
Kirill Nesmeyanov
@SerafimArts
Mar 26 2016 00:10
@cystbear меня 1 =:= 2 смутило =)
Oleg Zinchenko
@cystbear
Mar 26 2016 00:10
типа знак =:=
строгое равенство
Kirill Nesmeyanov
@SerafimArts
Mar 26 2016 00:11
та это понятно
я про числа
Oleg Zinchenko
@cystbear
Mar 26 2016 00:12
эээ
тебя цифры 1 и 2 смутили
если честно я ниче не понял, что там такого что может смутить
Kirill Nesmeyanov
@SerafimArts
Mar 26 2016 00:13
1 != 2
а там 1 == 2
Oleg Zinchenko
@cystbear
Mar 26 2016 00:26
ниче не понял, кароче ты спишь уже
Andy
@m-2k
Mar 26 2016 10:00
@5HT ответил тебе на реквест https://erlach.co/r/1g/1h
rusjava8
@rusjava8
Mar 26 2016 10:46
А сервис Erlach для чего?
Полез почитать про erlang on xen что бы с n2o затестить и залип на полдня на Go-Moku :-D будьте внимательны
Andy
@m-2k
Mar 26 2016 10:49
Это имиджборда
Чтобы анончикам чятица, очевидно же
rusjava8
@rusjava8
Mar 26 2016 10:50
ага чат значит, а то с ходу не понял
This message was deleted
Oleg Zinchenko
@cystbear
Mar 26 2016 13:24
и имж борда что бы котов постить
rusjava8
@rusjava8
Mar 26 2016 13:26
This message was deleted
Хэхэ
Canislupax
@Canislupax
Mar 26 2016 17:14
hi all
english allowed ?
rusjava8
@rusjava8
Mar 26 2016 17:14
Hi :) da
Canislupax
@Canislupax
Mar 26 2016 17:15
have developed some small projects with n2o! and its great! i am a medical doctor and i am new to erlang so need some help...
to update my project from last year i started a new n2o project from current master at github
seems to my that the sample app not working?
got this error in dev tool of my browser: xhr.js:10 Uncaught ReferenceError: $ws is not defined(anonymous function) @ xhr.js:10
n2o.js:15 Connect
no errors in the erlang shell
do i have to write some auth stuff bevor its working -> have rec. some new security stuff implemented
even the loginbutton is not working and the event(login) could not be called ... but the sample code seems correct
rusjava8
@rusjava8
Mar 26 2016 17:29
Доктору нужна скорая помощь!
Canislupax
@Canislupax
Mar 26 2016 17:32
:)
rusjava8
@rusjava8
Mar 26 2016 17:32
:-)
Namdak Tonpa
@5HT
Mar 26 2016 17:57
@Canislupax which browser are you using ?
Canislupax
@Canislupax
Mar 26 2016 18:35
google chrome
using a fresh git clone from today
meaning n2o git
firefox is working !
rusjava8
@rusjava8
Mar 26 2016 18:39
O_o
Canislupax
@Canislupax
Mar 26 2016 18:39

// N2O XHR Fallback

// WebSocket = undefined; // to test

$xhr = { heart: false, interval: 100, creator: function(url) { $conn.url = xhr_url(url);
$xhr.channel = { send: xhr_send, close: xhr_close }; $conn.onopen();
return $xhr.channel; }, onheartbeat: function() { xhr('POST',{});} };

transports = [$ws,$xhr];

from chrome ....
WebSocket = undefined ??
i tested the sample app in firefox and everything is working correct
Oleg Zinchenko
@cystbear
Mar 26 2016 18:44
@Canislupax wait a bit I'll ping the author
@m-2k Маг, опять семпл сломался шо за лажа? у тебя есть инфа?
rusjava8
@rusjava8
Mar 26 2016 18:44
Raspberry Pi3 + N2O = Ok :-)
Canislupax
@Canislupax
Mar 26 2016 18:48
N2O_start() in chrome results in result: undefined but the js scripts in firefox and chrome are identical
no sorry n2o.js is not the same
Canislupax
@Canislupax
Mar 26 2016 19:16
tested n2o.js http://localhost:8000/n2o/n2o.js with curl and wget without problems only chrome got an incomplete js file.
rusjava8
@rusjava8
Mar 26 2016 19:26
Canislupax
@Canislupax
Mar 26 2016 19:28
found my problem .... chrome used a cached incorect js file !
after reload with reloading all static files its working..... sorry for bothering you with such simple errors ....!
Oleg Zinchenko
@cystbear
Mar 26 2016 19:29
heh, that chrome
Canislupax
@Canislupax
Mar 26 2016 19:30
Thanx @rusjava8 and @cystbear for helping me out !
rusjava8
@rusjava8
Mar 26 2016 19:30
Ne za chto!
Oleg Zinchenko
@cystbear
Mar 26 2016 19:31
@rusjava8 ты серьезно?
rusjava8
@rusjava8
Mar 26 2016 19:31
:-D
Oleg Zinchenko
@cystbear
Mar 26 2016 19:33
@Canislupax np, use n2o and share your experience with other folks
rusjava8
@rusjava8
Mar 26 2016 20:34
Нужно ./mad stop а то не по фэншую