« first day (737 days earlier)      last day (4227 days later) » 

8:00 PM
@rlemon I don't remember, does ++i differ from i++ in C#?
@rlemon oh, yes, it's pre increment, just like in javascript. Try current_scan_index++
 
but don't i want a pre increment
 
indeed, you want a post increment
 
- use said index
- increment THEN check
- use said index... etc..
 
i run it once before I do the check
 
8:03 PM
what does the debugger tell you?
 
stackoverflow.com/questions/13017793/… seems to have been marked as duplicate by mistake.
 
@FlorianMargaine the if statement is hit every time and true and the counter is reset to zero (like it should be) but the method only runs twice. :/
 
@saji89 no it hasnt
 
@tereško, That means?
 
it means: read the duplicated
 
8:08 PM
In the "duplicates" there is not "the exact code for my question", and I need "the exact code for my question"
 
@tereško, I have referred both the marked duplicates. But this question is different in that it deals with two-dimensional array, instead of a single dimensional array.
 
so what ?
loop is a loop is a loop
 
@tereško, :) A simple looping of the solution for single dimensional array won't solve it for the multidimensional ones.
 
then hire a developer
someone who does not add "jquery" to the search query
2
 
ouch
 
8:12 PM
@tereško, Thanks for no help at all.. Actually its not a question that I have added.
@tereško As for hiring a developer, if everyone says like that on Stackexchange sites, it would be no more. :)
 
0
A: What is JavaScript?

Mehmetjust use jQuery. Eeverything will be ok.

 
oh fancy
downvote count now updates in near realtime
 
@tereško Answers like this display the live vote updating systems on SO
Deleted :(
 
Noooooooooooooooooooooooooooo the answer disapeard
:(
 
8:17 PM
 
@AmaanCheval We need the question title with it
@IvoWetzel do you use CoffeeScript?
 
@dievardump No
 
(I asked because of your most rated answer, I was curious)
 
StackOverflow: Where stalking other users is commonplace.
 
8:24 PM
152
A: CoffeeScript & Global Variables

Ivo WetzelSince coffee script has no var statement it automatically inserts it for all variables in the coffee-script, that way it prevents the compiled JavaScript version from leaking everything into the global namespace. So since there's no way to make something "leak" into the global namespace from t...

> In Node.js there's no window object, instead there's the exports object that gets passed into the wrapper that wraps the Node.js module
 
Thanks @AmaanCheval
 
there are global objects and global variables though
 
@dievardump Oh... that one...
:(
Why oh, why.
 
if you forget a var then require the file, the variable will be global
(I've seen projects abusing this. It's horrible to even understand the code.)
 
yes, it pretty much becomes PHP
well, at least the usual, bad PHP you tend to run into
 
he requires, then there is the science object available just by magic
missing var.
took me a while to understand how this worked, it was the first time I saw a node file used this way :/
@dievardump the day we'll be able to use transitions in real world is long to come unfortunately :/
@dievardump oh btw, you know leboncoin?
 
@FlorianMargaine yes
 
I'll maybe remake their website :>
 
The Front or everything?
 
8:32 PM
dunno
 
Using node? Symfony?
 
bad answer
 
:p
I don't have the specs yet
but it looks like they want some drupal
+ pbbly some drupal commerce
 
You know what search motor they use?
 
8:33 PM
well, the project is not even past the acceptance
nope, it's not even sure I'll get it yet
it's just there are high chances
if we get it, the search engine will be solr though
 
(take a look at Elastic Search ;))
Seems to be way better than SolR, even if I totally love SolR
It's maybe the C++ vs Java
 
@IvoWetzel last vim plugin I've started using: syntastic
 
After that, One should not talk, nor develop. "What is JavaScript?" -» "Just use jQuery" http://t.co/zp9eiSY9
I couldn't resist to do it.
 
8:53 PM
@IvoWetzel also, I've understood the power of taglist... C-] is totally awesome
 
Hm, I have to admit I rarely use taglists
 
well, taglist itself is just useful for the auto completion
but the tags are just awesome in vim
you can move to any function definition
and come back and forth...
and since taglist keeps a buffer of all the functions defined in the project, the auto completion just works anywhere
 
@FlorianMargaine figured it all out. the event for the serial port fires sporadically... can't be trusted. don't listen for it and everything is cool. Now I just risk Checksum errors... but I can just bin those results and hope they are good on the next pass.
 
posted on October 22, 2012 by Victor Rodriguez

‘Point of no return’ found Why We Need a Supercomputer on the Moon The tech behind Felix Baumgartner’s stratospheric skydive

 
@rlemon lol
@rlemon that's the thing with working with embedded hardware, you can't trust the hardware :D
 
8:57 PM
well modbus is like 30 years old and no one standard to rule them all.
also our implementation was done ~20 years ago and no docs on it
 
so lots of testing on my end and reading VERY old c code to try and figure out their shit
 
@dievardump elasticsearch is written in java too
@rlemon add unit tests, that might help you...
 
hehe well i think I got most of it smoothed out now.
 
@FlorianMargaine I hardly ever close VIM at work so I always got auto completion from all the buffers anyways, and the whole tag thing isn't that great for JS anyways :/
 
8:59 PM
I have to re-write the c code as well eventually so meh
 
and sorry for my unresponsiveness... got a idea for a small game and I'm scrambling to get a prototype up and running before I fall back into procrastination
 
@IvoWetzel you open all the files of your project?
 
Eventually the end up being all opened
my vim at work normally runs for weeks without getting closed
 
kk :)
the computer's never off?
 
9:01 PM
that's against the environment q_q
 
macbook with disk encryption... takes some time to boot, gotta start all the apps
log in to vpn again >_>
@FlorianMargaine I'm saving enough electricity and stuff at home I guess :)
 
I think I'll just write a script that answers any JS question with "Use jQuery" and a link to a random jQuery plugin.
 
anyways... enough hacking for today.. halfway done with the prototype after 3 hours
 
haha
halfway... sure
the last 10% are going to take more than 3hours :p
meh... I want to install archlinux on my mbp
 
hope this event approach will work out nicely for having multiplayer and abstracted rendering on the client
:D
 
9:03 PM
but there is already osx and windows :|
I want stjerm on F1 in windows/osx :/
damnit
okay, leaving now
g'night everybody
 
@FlorianMargaine Hum? It was c++ based some times ago
 
@dievardump lucene is java right?
@dievardump elasticsearch is based on lucene
yeah yeah :p
 
Really unhappy.
Hum, I think I'm mixing with sphinx
 
9:22 PM
Didn't know that :(
They really can't provide anything else than docx?
 
9:59 PM
24
Q: What is JavaScript?

Lord Loh.All this started when I was looking for a way to test my webpage for JavaScript conformance like the W3C HTML Validator. I have not found one yet. So let me know if you know of any... I looked for the official JavaScript page and find ECMA Script. These people have standardized a scripting lang...

 
ummmm ?? what am I looking at
 
the new Grooveshark UI I think
 
ohh
 
Even if it did not evolved a lot
 
yea I don't see much of a difference
maybe tomorrow at work when i'm using it i will :P
 
10:13 PM
It's the homepage
 
when did the change happen?
 
maybe clear the cache
Dunno, today
 
0
Q: Function in JavaScript that outputs concat url to YUI Chart Library Output

Jacob IrwinTrying to properly write a function in JavaScript that outputs a concat'd url to Chart Library Output (for chart re-rendering)... based on selected options in dropdown list. Problem: I am not getting the chart to re-render with the concatenated url (which should be sent each time an option is se...

 
hello dudes
 
Hello
Wow SoundCloud really are recruiting a lot.
Everytime I see a SoundCloud guy (twitter or even here with @gryzzly) they remember us " SoundCloud is hiring "
 
10:18 PM
I have have data on the server which i need to act upon on my page, after it has loaded. So, im creating a script element, and loading the data through it. What's the best way to make the script act when the data has finished loading?
I've tried making the imported script calling scripts that are already loaded, but I get an error
I can also give it a callback func, but its a problem when loading more than one script from outside, as I need a specific call back for each one
 
You can create an array of url -» callback
 
I don't really understand how implement that
to be frank Im not even sure how that helps me
Sorry, wasn't clear probably, i need the same callback, only with different params
can I tell which loaded script called the callback?
nevermind
all works as expected, fu*cing syntax error
 
0
Q: JS framework with conditionally loaded fragments

kjs3I'm doing a single-page, responsive, mobile first design. I found this article about conditionally loaded fragments but am wondering what the different js frameworks have build-in to handle this? I'm imagining the mobile version with a list view fragment that transitions to a show view fragment....

 
11:07 PM
@jAndy no u
 

« first day (737 days earlier)      last day (4227 days later) »