« first day (2037 days earlier)      last day (3136 days later) » 

01:56
@Loktar yep
do you want it, lol
haha
/me chnages shipping to my house
next week delivery date right?
I heard they switched them to ground shipping
@Loktar no date yet, but yeah I expect so
nice, can't wait man
which games do you have for it so far?
hah good question
assetto corsa?
02:01
ets2
oh nice
eve valkyrie ofc
yeah, and luckys tale
I'll probably end up dishing out for vorpX
Eve Valkyrie is ok, not worth $60 but for free it's not too bad
02:02
which supports some F1 games I think
blazerush is badass
though maybe not with stereo :/
it doesnt seem like it would be.. but its like the go to game on /r/oculus lol it's crazy
A lot of stuff via unofficial support I think
@KendallFrey yeah vorpx is pretty hit or miss
there is a racing game on oculus home as well..
project cars maybe?
02:03
oh yeah that game
oh War Thunder added CV1 support last week
really unsure about that
I've seen plenty of vids
and umm DCS is another free one on Steam
the AI looks... insane
yeha I havent look into project cars at all honestly
Racing isn't really my thing
02:03
@Loktar oh yeah I will probably check that out
I'll probably end up flying with my pad, my joystick's pretty much EOL
you can also mount your camera on a standard tripod fyi
if you have issues with placement
that's what I ended up doing
oh really? what stick?
about that, it it a hassle to move it?
@Loktar logitech something or other
eh, not too much of a hassle, anytime it moves for me I do the setup real quick
only takes a minute or so
really old cheapo
but i had trouble with the placement before getting a tripod
02:05
potentiometers are flaky
ideal placement is above you angled down
@Loktar a minute? oh geez
haha maybe less
I switch spots when I race
dude I just got the vive setup...
haven't even tried it yet, took for fucking ever compared to the rift
the Rift is so easy to setup compared to it
02:06
my wheel is two feet to the left of my keyboard
oh, yeah it wont be bad to move the cam really
i physically move my monitor lol
idk I never move my camera it just stays in one spot
I may be able to do that
idk
it has a decent range, like 10 feet or so?
02:07
I don't have any place to mount it above my screen or anything
How well does it work from the side?
yeah I grabbed a cheap tripod from big lots on clearance was like $5
I was in the same boat w/o a way to put it above my monitor
it works fine, mine is a bit to the left of me
i mean like directly from the side
that would cover me in both spots without getting in the way
oh, not sure, if you can have it sit higher than you probably not bad
hey this youtube popout feature is cool
i have rebecca singing right in the chat
haha
LOL wtf perfect screenshot
looks like a scene from some cheesy 80s movie
Rebecca black is not cheesy; She's the voice of a generation
Yes, I am 2 drinks in, but that changes nothing
lol
Also, I just landed another date with some new girl I met using a shitty dating ap
app
but I'll take what I can get
that sounds bad
whatever
She's an engineer.
Fuck yeah
software or 'real' engineer?
02:29
Real
wait, lemme get her title
She's a "Process Engineer"--that totally counts as being a real engineer
She said she had to take a C++ course in college, so there's that
that might mean she operates the copying machine in the office :)
lol, no, she game me a description. one sec
just screwing with you
duggering you
> I work with manufacturing and improve and support assemblies
Nothing more attractive than intelligence... but that's just me
no, most of us
also butts
02:32
Hey anybody know of a free website hosting place, I want to show my website to a person. I tried uploading my files to projects.coxslot.com but index file is not being displayed
yes, also butts
i will not be clicking on "cox slot"
cock slot lol
that's hilarious
and I don't think it's the alcohol talking
it just rolls off the tongue. I'm gonna start using this term.
any other website for free publishing ? I m in a hurry ?
02:36
I don't know the answer without consulting google.
github pages
well that.
thanks will try that
She likes golf
Maybe I could go golfing with her for a first date
that would be awesome
How does one use a function from another js file?
I've referenced both the files in my php file and just did function_name();
02:51
u wot m8
And how did you do that..?
03:02
why this no match <is
1 message moved to Trash can
@seasonqwe Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
<script type="text/javascript">
var str="<is this all there ^is";
var patt1=/<is/g;
document.write(str.match(patt1));
</script>
We currently have a new site in beta (currently 50% of mobile users can opt-in to try it out) so we can get user feedback before rolling it out to all our users. We get some charming feedback like this: "Why dont you usless fuckers get the old crappy sight sorted out so it works flawlessly on ALL phones before you TRY "designing" a new one that's already all fucking glitches?.......usless cunts"
@littlepootis Command deliver does not exist.
03:13
sooooo... I'm a rift fanboy, or was
but jesus in heaven, the vive is actually badass
@littlepootis Command deliver learned
took WAAAY longer to set it up but damn.
@littlepootis lol I tried making that in the sandbox
I want to know the story behind it but awal has me ignored lol
poots
@littlepootis I declared my function in a file, say file.js. I then proceeded to use it in another file, say file_2.js. I used script tags to reference both the files in HTML
Gave me an error in console saying the function wasn't declared.
@Loktar Ah, I don't know either. Not sure if Vishal is an actual person or he's just trying to troll his coworker.
@AndrewL That means you either mistyped the function name in file_2.js or got your file paths wrong.
Weird. I've checked
03:24
Any 404s in the network tab?
Is the order in which you included them right?
oh
I'm dumb. Thanks pootz
Donate reputation to pootis
03:30
lol don't
@Loktar hah
@Loktar My friend has a dev kit
Sadly, it doesn't support SteamOS / Linux (yet)
But I get to play with it for a week :D
@AwalGarg an object that one need not, cannot, or does not wish to give a specific name to. (Google)
hello
Good morning champs
03:56
anyone would like to help me with this question
04:12
Getting back into node, is express still the go to framework or is there another one(s) I should look into?
@axrami 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.
@axrami It is
what's up everyone
04:31
@axrami I also hear "koa" talked about.
but express is still a main player, if not still the main player.
hey there, naive question
I'm trying to implement a small application to use a bunch of data stored in a mysql database from a program installed on a windows 10 machine
I was hoping to put a simple html file, kick in chart.js and let magic happens with data from mysql
reality kicks in and I forget I need a server side engine to interface with the database before goin with some ajax
now what can is the most advisable barenbones setup to be able to do this in your opinion? I hoped a simple html file was the deal but I'm stuck to find a simple way to make this html file to get the data stored in this mysql database
I'm trying to avoid to install a full server on local machine with something like xampp or similar just to get the data on mysql
04:48
Hello
@Krystyna 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 was hoping to ask a question about my jquery script.
I have a toggleClass link that has SVG background image, and toggles the background position depending on whether an admin person clicks on/off. How do I reflect this change on another page to display the result? It is pretty much just a marker to signify whether a person has been verified/unverified.
on the users page from that admin person
I have codepen link here: codepen.io/krystyna93/pen/eZxWgW
I have the starter jquery there, which toggles the class and checks where the link class is 'verify' or 'verified' by the id.
So, when the 'post' variable send it to the 'updated URL' which will display the selection made my the admin, what do I put in that 'updated URL' file to reflect this change??
does this make sense?
05:05
Your svg icon is 37x37, not 38x38. And I don't really understand what you mean by "updated URL".
how can I split string by first space that comes after ".".....in this case I have a sentence say "merry profile photo.jpg has been uploaded". What I want is to split at space after image extention i.e jpg and get the filename (note I don't have access on returned data otherwise I would have got it in response))
@Shashi is the file extension always .jpg?
guys i need to create a google map with a marker on my website.Something like this w3schools.com/googleapi/… . My problem is that i need, the users when to click on the marker to get directions to go to this place. can i ?
no that is the issue....it can be png or any image file
@littlepootis
Why do image file names have spaces?
05:10
Actually they won't but I cannot trust user data....spaced images are uploaded on frequent basis...and I cannot approach the dev to add in some character in place of that in file
@littlepootis my only option is to get a workaround
Are you sure your string will always be in the format "[filename].ext has been uploaded"?
yes
dev has echoed it form PHP
@littlepootis that I am getting as an response
And what do you want to capture from that? [filename].ext?
@littlepootis yes, just the filename
I need it to render uploaded file on the page......for which I need filename then from there onwards I know the folderpath just need to inject that in HTML
!!> var s = "whataboutthis.png lol-th4iS is-not .png.jpg"; var r = /([A-Za-z0-9\s\-\.])+\.[a-z]\w+/; s.match(r);
05:18
@littlepootis ["lol-th4iS is-not .png.jpg","g"]
@littlepootis ["whataboutthis.png lol-th4iS is-not .png.jpg","g"]
the 'updatedURL' is in the post variable, this is the file that needs to be displayed here, I just dont know what I need to put in here, do I make another SVG link icon here and change the position in CSS?
So, something like this?
Or just /([A-z0-9\s\-\.])+\.[a-z]/
would anyone be willing to chat one on one, becasue this is confusing like this...
@littlepootis let me check
@littlepootis I uploaded an image with name "top-bck_01.png upload is complete", it jsut responded with 01.jpg
i am using variableAfterRegex[0]
add _ too.
/([A-z0-9\s\-\.\_])+\.[a-z]/
05:32
jsfiddle.net/user2314737/u9no8te4 guys how can i take live directions from place A to place B for a car ?
And.. what about unicode charaters..
@littlepootis "product-rollover_03.jpg upload is complete", why it is only responding "imagename.j" not the "jpg" ? NOTE: plase dont' mind the noob question, I dont know regex
hummmm......what if dev has responded with two echos ? I mean echo "$filename uplaoded"; and echo $filename;.
In this case can I just use event.target.responseText[1] to get that data
oops. ([A-z0-9\s\-\.\_])+\.[a-z]+
says Illigal character at "s"
r = ([A-z0-9\s\-\._])+\.[a-z]+;
regex literals between / and /
05:38
like this r = ([A-z0-9/s/-\._])+\.[a-z]+; ??
Hello people
I'm really confused about something
web developer vs software engineer. You guys think there's a difference?
@Shashi No, r = /YOUR_REGEX/;
oh!
sorry
05:40
Also, because filenames can contain emojis to hindi character specifiers, use unicode ranges.
([A-z0-9/str/-\._])+\.[a-z]+; str being my string still says illigal character
/[/\u0020-\uE007F]*\.[a-z]+/
@Shashi Regex literal syntax is /regex/;
You're typing regex;
Use this: /[/\u0020-\uE007F]*\.[a-z]+/g
@littlepootis would really appreciate hastebin.com/kakubolabo.javascript
if you can have a look here...I am a little messed up here
Change:
r = /[/\u0020-\uE007F]*\.[a-z]+/
to
var r = /[/\u0020-\uE007F]*\.[a-z]+/g;
Also, ALWAYS declare variables before you use them.
Use the var keyword.
@littlepootis Thanks a ton for your patience, means a lot :)
Can you also guide me form where I can learn this regex thingy ?
05:49
@qaispak Not really. But you can't call an embedded systems developer a "web developer", while you can call him a "software engineer".
Also, those titles are so 2010.
Ever heard of "Senior Ninja"?
Or "Professional Rockstar iOS Developer"?
Or "Angular Guru"
06:35
morning!
can someone help me sort this object, please: [{"2016-5":{"shift0":[26],"shift1":[42],"shift2":[53],"shift3":[31]}},{"2016-6":‌​{"shift0":[47],"shift1":[26],"shift2":[58],"shift3":[52],"shift4":[22]}}]
it should be[{"2016-5":{"shift0":[26],"shift3":[31],"shift1":[42],"shift2":[53]}},{"2016-6‌​":{"shift4":[22],"shift1":[26],"shift0":[47],"shift3":[52],"shift2":[58]}}]
how would you rewrite the bootstrap css to do the same for flexbox as this?

<div class="row">
  <div class="col-md-offset-4 col-md-4"></div>
</div>
obviously row is display = flex
I hope I don't have to work out a margin
anybody here worked on html 5 canvas
?
yes
@ДимитърКлатуров dobre den
use array.sort and return boolean based on sort logic
@SuperUberDuper i tried ;( different things, but i cant make it sort our :(
06:48
please make a fiddle
im not good with fiddles too, lol but i will try :D
try is good!
dont use a foreach
use [].sort
update fiddle
@FlorianMargaine is there a way to check which ssh key has been used for what hosts in the past? or any specific docs I should read to figure this out?
06:53
ah wait your sorting inner elements
so you want to sort by the shift numbers?
07:15
well this is tricky
i think this cannot be done is it needs to be turned into an array and then sort the array
or else its impossible
@ДимитърКлатуров you can't sort objects
yes you need to turn into array to sort
but it should be in an array in the 1st place
I agree with Lp, this is pointless excercise
thanks, i think in ES6 they have to fix this and sort objects :D
store your shifts in an array, or sack the person who gave you the data ;) J
07:21
How is a sorted object different from an unsorted object?
well, i want to display the data after that and i need to display the data in a sort out way;)
Find the person who gave you the data.
And teach him Java.
and the person its me, lol, i could change how i store the data in the db, but i will need to change a lot of code so i think its better just to convert it into array.
and everything is js, there is no java here :) im using firebase
no, you need to fix this data
otherwise your building on top of crap
07:26
and it will be hard to maintain
kk i will listen to you ;)
thanks for the help!
You learn , that all that matters)
@AwalGarg I don't think so
except maybe if you have debug logging
07:57
@FlorianMargaine I don't :( how is one expected to clean up old keys then? just remember what key you used for which host?
not that cleanup is my immediate usecase, but I wonder...
08:55
somebody been looking for me?
does anyone here understand this json schema definition : json.schemastore.org/tsconfig
namely the exclude property
I don't get the not part...
Holy shit
I forgot to visit SO yesterday
My 1000 day streak is now a 1 day streak
-_-
@BenjaminGruenbaum I hope you didn't keep screenshots of the 1000 day streak
I hope you delivered the expected work and sudo access
09:10
nah, I only deliver jquery access
lol look what after forking your repo: es7spec.github.io
I know that's a rick roll
@Abhishrek how do I check what storage is attached to a specific VM in azure? all the storage names are cryptic and I can't spot any link between them
and start using your entire real fucking name in your accounts -_-
look who's talking about real names
09:19
dude he already has his identity spilled all over the interwebz
microsoft probably has his nudes too (poor microsoft)
09:42
anybody here who have good hands on html 5 canvas
10:37
Hello!
10:47
Hello
11:19
having trouble wrapping my head around implementing 'unread notifications' ala slack/gitter - would someone be able to help?
11:33
@Kunkka just keep a variable of unread notifications in the server and when the client clicks the notifications reset it for the user?
Hello why should I learn JavaScript nd not asp.net
@jarvis asp not web scale not good language um framework i mean platform
11:51
Dude please no jokes. I know you. Someone has adviced me to use js but college is teaching asp. Is college syllabus wrong?
They're teaching you asp.net? Lmao
How to open new room on mobile
?
Beta, or the old one?
@BenjaminGruenbaum - a use case would be like a user subscribing to multiple channels - lets say he's online and not in any room(channel) - he should still get a notification stating a new message ... how would i determine if the message has been read or not? i'm using websockets btw
@Kunkka keep the "have read that" on the server and then synchronize when the user reads the message
Or use a tool like PouchDB and do everything on the client and have that synchronize for you
11:56
What do you mean
this wouldnt be possible for group chats though right? i would have to keep track of multiple users signing of on a message
@jarvis Does the interface look like Web 2.0? Or do you have a hamburger menu icon at the top?
No icon on top
Click on menu button on the bottom left.
And my rooms.
It just displays a box and back button then?
@littlepootis hey man just can you open new room please
12:02
You can switch rooms that way. To join a new one, click on all rooms.
Open? You mean, create?
Yea bro new one
Done
If you're using the old interface, forget about bejnf notified
12:27
travel with ryanair ?
hehe
12:43
/..........................
halp
13:01
no halp for u
13:13
1 message moved to Orphan GIFs
gosh again need to work on jquery project
guys how to you debug jquery
always in firebug?
13:31
or the native browser's console: F12 (but Firebug overrides it)
CMD-Option I
13:47
news.ycombinator.com/item?id=11694887 oh my bing helped someone
github.com/OneNode wait, is this you @littlepootis?
wtf

« first day (2037 days earlier)      last day (3136 days later) »