Code Monkey home page Code Monkey logo

meatspace-chat-v2's People

Contributors

byronhulcher avatar imakewebthings avatar jasonrhodes avatar jory avatar joshwnj avatar kid-icarus avatar lauradegroot avatar llkats avatar marcusramberg avatar nvcexploder avatar potch avatar tec27 avatar trodrigues avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

meatspace-chat-v2's Issues

Add Linter / CI

I noticed today that a style request was made in a pr... this could be avoided / automated through the use of a linting task + CI (potentially travis).

If no one is opposed to this I will probably roll it out tonight / this weekend.

Message Limit not imposed when tabbed away

I was tabbed away from chat.meatspac.es for around 10-15 minutes earlier tonight and realized my computer was starting to get toasty like when v2 first launched. Coming back to the page, I had 80+ (I stopped counting, in retrospect i probably could have jqueryed it) videos in total on the page. Seemed like it was also really slowing my computer down as well. Refreshing the page, and returning to the default 15 messages, everything sped up again, and now I'm typing this with my laptop on an ottoman waiting for it to cool down. Perhaps if messages are going to be added to the DOM while the tab is not active, then old messages should be popped as well? Not sure if that was a conscious decision to allow people to 'catch up'.

PS Before I alt-tabbed away, i was scrolled up to the top of the page. I'm not sure if that makes a difference when attempting to repro this, or if that might effect the pause/unpause behavior when in a different tab, but seemed like it could be important.

Chrome Version 38.0.2125.104
Mac OSX 10.9.5

No favicon

Breaks my buttmarklet and makes me a sad panda

Cannot select meat text

The actual meat message text cannot be highlighted/selected, although the timestamp and mute text can. This apparently affects Chrome, but not Firefox.

switch to binary websockets

socket.io supports binary websockets, and the native clients have caught up and also support them. this would save a ton of cpu and bandwidth since we don't need to b64 stuff anymore.

will send a PR when I have time

I get this error after running npm start

/home/jose/meatspace-chat-v2/node_modules/meatspace-publico/node_modules/level/node_modules/leveldown/node_modules/bindings/bindings.js:83
throw e
^

Error: Module did not self-register.
at Error (native)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at bindings (/home/jose/meatspace-chat-v2/node_modules/meatspace-publico/node_modules/level/node_modules/leveldown/node_modules/bindings/bindings.js:76:44)
at Object. (/home/jose/meatspace-chat-v2/node_modules/meatspace-publico/node_modules/level/node_modules/leveldown/index.js:1:99)
at Module._compile (module.js:434:26)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:355:32)

npm ERR! Linux 4.2.0-16-generic
npm ERR! argv "/home/jose/.nvm/versions/node/v4.0.0/bin/node" "/home/jose/.nvm/versions/node/v4.0.0/bin/npm" "start"
npm ERR! node v4.0.0
npm ERR! npm v3.8.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'node index.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the meatspace-chat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node index.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs meatspace-chat
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls meatspace-chat
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/jose/meatspace-chat-v2/npm-debug.log

Crash in hypem version

Probably also applies to the standard version

crypto.js:209
  this._binding.update(data, encoding);
                ^
TypeError: Not a string or buffer
    at Hash.update (crypto.js:209:17)
    at getUserId (/web/MEAT/meatspace-chat-v2/index.js:77:39)
    at Socket.<anonymous> (/web/MEAT/meatspace-chat-v2/index.js:114:24)
    at Socket.emit (events.js:95:17)
    at Socket.onevent (/web/MEAT/meatspace-chat-v2/node_modules/socket.io/lib/socket.js:327:8)
    at Socket.onpacket (/web/MEAT/meatspace-chat-v2/node_modules/socket.io/lib/socket.js:287:12)
    at Client.ondecoded (/web/MEAT/meatspace-chat-v2/node_modules/socket.io/lib/client.js:185:14)
    at Decoder.Emitter.emit (/web/MEAT/meatspace-chat-v2/node_modules/socket.io/node_modules/socket.io-parser/node_modules/component-emitter/index.js:134:20)
    at Decoder.add (/web/MEAT/meatspace-chat-v2/node_modules/socket.io/node_modules/socket.io-parser/index.js:233:12)
    at Client.ondata (/web/MEAT/meatspace-chat-v2/node_modules/socket.io/lib/client.js:170:16)
30 Sep 18:06:23 - [nodemon] app crashed - waiting for file changes before starting...

ELECTRON quick-start im receiving this error while running electron anybody knows what this means

A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: Cannot read property 'on' of undefined
at Object. (/home/jose/electron-quick-start/main.js:34:4)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at loadApplicationPackage (/home/jose/electron-quick-start/node_modules/electron-prebuilt/dist/resources/default_app/main.js:257:23)
at Object. (/home/jose/electron-quick-start/node_modules/electron-prebuilt/dist/resources/default_app/main.js:289:5)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)

Better setup instructions

Even after getting ffmpeg set up it isn't obvious how to make it available to meatspace

E.g. "it expects ffmpeg to be available via your $PATH"

Messages with links are truncated before maximum message limit

So I think some of the 'issues' that have been seen with links messages being truncated are due to the twitter link library being used before the message is truncated

https://github.com/meatspaces/meatspace-chat-v2/blob/master/lib/services.js#L70
Here the message gets auto-linked

https://github.com/meatspaces/meatspace-chat-v2/blob/master/lib/services.js#L74
aaaand here its sliced down to 250 characters, with all the extra HTML inserted.

So for instance I sent the message:
http://www.bigbadtoystore.com/bbts/product.aspx?product=OOC10000&mode=retail&utm_source=retail_news&utm_medium=email&utm_campaign=BigBadToyStore-Retail&utm_content= omg need this
Which is 178 characters, but my client got the message
<a href="http://www.bigbadtoystore.com/bbts/product.aspx?product=OOC10000&amp;amp;mode=retail&amp;amp;utm_source=retail_news&amp;amp;utm_medium=email&amp;amp;utm_campaign=BigBadToyStore-Retail&amp;amp;utm_content=" target="_blank" rel="nofollow">http aka 250 characters
Which chrome was nice and auto-closed for me with a tag. I imagine some other browsers are not doing this. and might be dropping the message entirely. If the link is more than 250 characters I'm willing to bet that it won't even display the link.

What's the ruling on this? Should the linkification be done AFTER the 250-character limit? Alternatively it could be done-client side, I believe that twitter does the linkification that way, so that the link text is part of the text, but the HTML-code is not. I'm trying to get a local version going to write a PR for the former.

Lurk Mode

@fritzvd introduced this over in MeatDroid but it would probably be useful to have it built-in to the site instead.

i.e. let the user dismiss the sad modal and just watch.

IM new to node.js im trying to deploy it with windows 10 any ideas

prebuild WARN install Failed to download prebuild
prebuild ERR! build Can't find Python executable "python", you can set the PYTHON env variable.
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\jose\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "i" "[email protected]" "--save"
npm ERR! node v5.5.0
npm ERR! npm v3.5.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: prebuild --download
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] install script 'prebuild --download'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the leveldown package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! prebuild --download
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs leveldown
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls leveldown
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\jose\meatspace-chat-v2\npm-debug.log
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
[email protected] C:\Users\jose\meatspace-chat-v2
└── [email protected] extraneous

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\jose\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v5.5.0
npm ERR! npm v3.5.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the leveldown package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs leveldown
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls leveldown
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\jose\meatspace-chat-v2\npm-debug.log

Getting Started ... how do I actually run it?

Hello

A Noob here.

I came across meatspsace and I think it's the coolest!

I cloned the repo and I am trying to get it running on my local machine.

I did the first four steps:

  • install ffmpeg
  • npm install
  • cp local.json-dist local.json
  • npm start

Now what? When I go to localhost:3000 I get nothing. No server is detected.

Does the node version matter? I am using the most recent version at the time of this post ( v0.10.35 ).

The cmd line shows no errors... it looks like this

> gulp & nodemon index.js

[14:49:16] Using gulpfile ~\Desktop\Meatspace\meatspace-chat\gulpfile.js
[14:49:16] Starting 'css'...
[14:49:16] Starting 'js'...
[14:49:16] Starting 'static'...
[14:49:16] Starting 'watch'...
[14:49:16] Finished 'watch' after 80 ms
[14:49:19] Finished 'css' after 3.4 s
[14:49:25] Finished 'static' after 9.4 s
[14:49:33] Finished 'js' after 17 s
[14:49:33] Starting 'default'...
[14:49:33] Finished 'default' after 18 µs

Thanks for your time!

SSL certificate isn't setup properly

Firefox is rejecting the current cert with:
Error code: sec_error_unknown_issuer

Node similarly won't connect, socket.io gives a connect_error with:
{ [Error: xhr poll error] description: 503 }

Chrome seems fine with it, and ssllabs doesn't really pick up on any problems, not sure why that is. Seems like the server is missing the necessary intermediate certs for this new cert?

WebM not Created in Certain Closeup Camera Situations

I tried to post pages of my notebook today. Between a distance of around 1" - 6" on my MBP the preview box would count down but nothing would get put into the chat.

I tested this about 20 times with different books to find the range. It also seems that images of higher complexity (less whitespace?) seem to not get posted.

I'm not sure if this is a genuine issue or more of an edge case, but it is pretty curious to me. If someone at least knows why it could be happening, I'd be interested

*** This is also my first ever use of github. Apologies for any sort of etiquette breach. Thanks. :)

Add Contribution Guidelines.

Currently there are no contribution guidelines. Eventually I would love to make a patched version of the ZeroMQ c4 as some aspects of the contract aren't agreeable for our purposes.

Until then, we need to set some basic guidelines, as I've witnessed code being directly pushed to master from contributors which is problematic in that it strips control of code-base from the community.

Command failed: /bin/sh 1: ffmpeg: not found

Hi, i installed succefully ffmpeg but i have this error:
error { [Error: Command failed: /bin/sh: 1: ffmpeg: not found
] killed: false, code: 127, signal: null }

Where i need put /bin/sh folder?

WebM (or GIF or Animated WebP or MP4) endpoint

It would be super cool if we could support sending pre-encoded video. I need to think about demuxing out any audio in the container, but it seems like it makes sense to offload the encoding to clients that support it.

Messages being truncated before maximum message length

Google Chrome Version 37.0.2062.124

Message entered in text box:
maybe I can convince them to take me out to lunch to the grey dog and you guys can be complimenting me from a couple tables over "whoah that guy looks really smart & cool & would be a great asset as a developer at whatever company he decided to join"
Character count: 251

Displayed in the v2 client:
maybe I can convince them to take me out to lunch to the grey dog and you guys can be complimenting me from a couple tables over "whoah that guy looks really smart & cool & would be a great asset as a developer at whatever company he dec
Character count: 238

The scrollback is not quite right for the current population

I think that we need to revise how scrollback works a bit so that people don't log into an empty channel quite so often.

Maybe just dropping the time limit so it is always the last 30 messages, or maybe increasing the time limit to an hour instead of 10 minutes. There may be other ways of dealing with the situation, and I would like to open up a discussion about it so that we can evaluate the options as a community.

Some videos freeze when muting a user

When muting a user, a bug very similar to #52 occurs, and can cause 1 or more videos to pause. The videos can be restarted again by right clicking and selecting play.

Reproduced on Chrome 38.0.2125.104 in Windows and 37.0.2062.120 in ChromeOS

New messages occasionally have paused video

Definitely related to waypoints in some way, but if messages come in in quick succession (seemingly), the last couple messages (maybe more? maybe less?) don't get marked as being in view, or get marked as being in view and then marked as out of view, and so are paused until another message comes in.

I looked at the DOM in Chrome devtools when this occurred and definitely saw the last two videos, despite being visible, did not have the in-view class at the time.

I suspect this is something to do with the videos not being loaded when they're added to the DOM, although I have no real way to prove this easily. Further investigation needed!

Iceweasel not being recognized

I'm running Iceweasel 38.0.1, which is a renamed version of Firefox distributed in Debian. Meatspace does not recognize this browser, although I strongly suspect it has all of the mechanisms in place for Meatspace to work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.