@MrSmith Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
> The SSD Drives they sell are often a USB stick inside a SSD housing, often containing a couple of bolts glued inside to add weight and make it feel more realistic.
@Loktar How are you finding the M.2 drive? I almost bought one, but then did a bunch of reading about how the cheaper ones aren't at all designed for many writes
The cute service rep got me with her cute smile and before I knew it I was buyying a £600 phone.
If an Api doesn't provide you with an id or some kind of explicit identifier which you can use to grab new sources as they become available what is a good way of comparing your data so you can save the newer sources and index them?
@Monk Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
I've made chat script, simple php ajax chat. The problem is that i use timer, so when i scroll up in chat, the chat roll back to bottom that scroll. I can share my code...
@Monk Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
Something like that...but if nobody is typing, and when you for example want to see old message and you scroll up, after every 3 sec the chat refresh and the scrollbar gets back to bottom.
If your storing your chat messages within a database and you give the messages identifiers while also making sure you have a way of identifying each message from within the frontend you are able to tell the database where your at in the long run
Thus your only querying the database every 1-2 seconds for new messages which gives the affect of real time
Hi, everyone. Just want to ask if how could I set value in a input file? I know it has security issue, but is there any work-around? What Im doing is im generating a wav file from github.com/mattdiamond/Recorderjs, and I want to add it on a form. Thanks
@zeddex Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
I have a table/collection called scores and it has 3 relevant identifiers based on which calculation need to be done.
sample
{
score : Number,
company : String,
zone : String,
unit : String,
timestamp : Number
}
Everyday we get huge amount of data in this scores table which has 3 identifie...
var express = require('express');
var app = require('express')();
var server = require('http').createServer(app);
var path = require('path');
var io = require('socket.io')(server); server.listen(80, function () {
console.log('Server Started');
});
Socket.io recently changed there documentation for creating a server and are updating there own documentation
Also your probably want to drop using a form as it's not necessary with sockets, much better to have an input and a send button linked up to an event which emits your message.
the docs (client / server ) API on github is just for reference, to know what a function does. If a function isn't explained well, just check the source...