« first day (1624 days earlier)      last day (3314 days later) » 

12:16 AM
how do I set a "/" path with ui-router?
 
you don't
 
really?
 
the Universe doesn't want you to, so just don't
 
there's no way to have an empty path with ui-router?
 
ignore me, I just learned about this, I'm drowning
 
12:18 AM
ignored :|
 
I also don't know jack shit about angular
 
le troll
 
Sorry we didn't want to have sex @FlorianMargaine
 
12:46 AM
Hey guys, could you help me with this? stackoverflow.com/questions/29312143/…
 
1:25 AM
SHOTS SHOTS
@Shmiddty is out of frame on the right
 
2:17 AM
@SomeKittens Can you take pictures of him sleeping?
 
2:36 AM
If you have a function that may or may not return a promise, is it best to do return Promise.resolve(notAPromise), or just return notAPromise;?
 
 
2 hours later…
4:50 AM
@phenomnomnominal return Promise.resolve
so you know you can always .then the function
 
user2620028
5:13 AM
Hey guys. For some reason my JSON.stringify is replacing any whitespace in the javascript with the backslash character \ I know there is a simple way to solve this, anyone know off the top of their head?
 
Most likely it doesn't
 
hey guyyyys! I got back to doing rowing finally! Good news is: I can do all of the training for both rowing and athletism, 3 days a week each, so I can just continue with both!
 
rock on bro
 
may be hard, but since I will be training with the kids for a few days (since my trainers and me need to make sure I remember the basics of rowing after 1y3mon), I will probably doing very simple stuff, kind of as if I was studying the theory (I mean, doing push-ups with 13yo guys is as easy as studying maths for me: I just have to do what I've always done), so in the meantime the real sport will be athletism
 
yeah you can do it
 
5:27 AM
this means so much to me: do you remember the time I told you that my trainer left me at 400km from home alone under the rain and where most of my clothes were stolen? When I told you that I had made my best friend's girlfriend cheat on (maybe not in the adult sense of cheating, I just mean kissing and holding hands) him with me because I didn't seem to be a part of his life anymore? When I got expelled from there because they thought I had destroyed a boat?
or when I should have arrived 3rd at the most important national competition but for an error by the judges I got 4th???
this may be suicidal, but I kind of miss those moments
 
no i dont remember that
 
where things were going on, happening! Now in athletism I don't even have the right age to do proper competitions, and I'm clearly not good at it: now this is torture
 
user2620028
I might not have been there for those stories lol
 
@Meredith over the last few years I've kind of mentioned those stories
 
ok ive been here for like a year
 
user2620028
5:30 AM
yeah same hahaha i haven't been here that long :P
 
I started getting on SO on 7th January 2013, most of the stuff happened after that
anyway, have I been missing on something cool?
 
idk man im just trying to eat a burrito
 
nice one! Explain me the details
 
idk i just drank a little bit earlier and im almost sober now
 
user2620028
i want a burrito :(
 
5:44 AM
man id give you one if you were here
 
user2620028
<3
 
@towc you got that from your mom, I loved drama
 
user2620028
you are his mother badger?
 
@BadgerCat I see you've replaced me, mother.
 
Sure, why not
 
5:53 AM
cries in the corner
 
shh it's ok
 
@towc Did you ever manage to use the PlayCanvas account?
@BenjaminGruenbaum Ping me if you're around today?
 
@SomeGuy You're both my sons and I love you equally.
 
Could have at least told me you were getting a new one!
 
Didn't you see my belly? 15 year olds aren't exactly tiny.
 
5:58 AM
Well, excuse me for not assuming a fat person was pregnant
 
EXCUSE ME?!
 
You heard me, mom
 
whatever
 
 
1 hour later…
7:15 AM
Hello everyone
 
7:34 AM
Hello :D
 
7:45 AM
(removed)
 
 
2 hours later…
10:15 AM
Can't I have a nice weekend for once :P
 
hahaha
sorry, but i found that funny
 
Ah, awesome. Seems like we were using an outdated version
Ah, they changed the prototype modification as well
 
11:05 AM
I need urgent internet slang advice: what's "hf"?
 
user2620028
maybe a high five?
 
user2620028
no idea to be honest
 
@towc hf = have fun
 
user2620028
or have fun
 
user2620028
lol
 
11:06 AM
oh, right, thanks
 
user2620028
just thought of that when you said it hahaha
 
it is weekend \o/
 
\o/
 
!!tell towc urban hf
 
@towc hf have fun
 
11:06 AM
duh
 
user2620028
the moment when i realize urban dictionary is smarter than me
 
user2620028
Suicide is an option
 
urban isn't mad xD
j/k
 
user2620028
ugh it is these moments when i hate php
 
explain :p
 
user2620028
11:10 AM
in PHP, 54 mins ago, by Hatter is Mad
Quick question guys. I am having errant behavior while maintaining a piece of code. It previously worked with a json_decode to an associative array. Now i am getting a null value out of it and i am not quite sure why. How would i best go about troubleshooting this? Php Ver 5.3.2
 
var_dump(json_last_error())
also, 5.3? you need to roam at careers.so
 
user2620028
lol its not for a job
 
user2620028
and i highly doubt i could get anyone at careers to look in my direction to be honest
 
user2620028
json_last_error is an undefined function
 
are you using namespaces? try \json_last_error()
 
user2620028
Shouldn't have to do that if i didn't have to do that for json_decode though right
 
user2620028
holy shit 5.3 was 2009?
 
do a php -i | grep json from the command line
 
user2620028
dont have access to command line sadly. I have ftp access and thats it
 
user2620028
Yeah awal neither \json_last_error nor json_last_error are defined
 
11:17 AM
@HatterisMad add a sneaky phpinfo()
 
user2620028
sneaky? fuck ill put it live lmao
 
There are functions to know if an extension is enabled... But I'm on mobile
If your php doesn't have json, you're screwed
 
@HatterisMad I am too damn curious to know why are you stuck with 5.3?
@FlorianMargaine he has json. his json_decode is defined.
 
ah... I misread
Then it's not interesting... Dumping the string and manually checking it on jsonlint should be enough
 
user2620028
@AwalGarg I made a promise to finish this project like 7 years ago. The original developer left this community hanging on it and I just now got time to work on it. The new owner of the website, while a friend, is a graphic designer and makes all of the decisions on what I have access to and what upgrades / toying with any files i can do. And he has no coding knowledge at all.
 
user2620028
11:22 AM
In addition he refuses to leave hostgator hosting and they have the php restricted to 5.3 and 5.4 i believe. Although i do not know the credentials to update the server to 5.4
 
user2620028
I didn't even know jsonlint existed.... brb lol
 
develop your thing locally, run a limited dev server, show it to him, and tell him if he wants it, update or gtfo.
using 5.3 is as bad as using internet explorer 5.5...
 
user2620028
Yeah not a bad idea really
 
user2620028
Just checked jsonlint and it looks like it is just being wrapped in ""
 
user2620028
wonder why and when it decided to just add "" to the file
 
11:33 AM
I have had some false positives with jsonlint, which is why I don't use it. I rather have php send the json at any url with the json content header, and have javascript xhr it with the json content type, then inspect the response
 
11:49 AM
Hello!! Is someone of you familiar with the Knapsack algorithm??
-1
Q: Application of the Knapsack Algorithm

Mary StarI want to apply the Knapsack algorithm at the following: n = 4 (# of elements) W = 5 (max weight) Elements (weight, benefit): (2,3), (3,4), (4,5), (5,6) The first version of the algorithm is the following: K(0)=0 for w=1 to W K(w)=max_{w_i \leq w} {K(w-w_i)+v_i} I have found the follo...

 
!!summon 1
 
@Unihedro Registered; need 1 more to execute
 
!!summon 1
 
Thanks!
 
np
 
11:55 AM
Except... It didn't work
 
@Zirak ^ summon broke?
 
Is it better to link external js/css files ( like angularjs, jquery, bootstrap), or to include the code physically within the application?
 
neither. use a build engine.
 
sorry, not really :/
I tried to do something every now and then, but I only ended up convincing myself more that I'm not born to ever become a designer of any kind
 
!!>object={getAnswer:()->{return 42;}}
 
12:00 PM
@Unihedro "SyntaxError: expected expression, got ')'"
 
s/-/=/
 
!!>object={getAnswer:whatever=>{return 42;}}
 
@Unihedro "ReferenceError: assignment to undeclared variable object"
 
lol
 
!!>var anObject = { getAnswer: ()=>{return 42;} }
 
12:01 PM
@Unihedro "undefined"
 
ouch
 
!!>var objec = {getAnswer: ()=>42}; objec.getAnswer();
 
@AwalGarg "ReferenceError: object is not defined"
@AwalGarg 42
 
Excellent! :D
 
^ you dont need the return
 
12:02 PM
Awal, I am just making a small app though. So should I link or include externals
 
can't answer properly without more details, but linking should be fine...
if your app is really small, you might want to think again if you really need the large libraries though.
have to go, happy weekend peeps
 
@towc Hahaha fair enough
 
let me see if there's some way to transfer the account again...
@SomeGuy do you know of somebody else who would be interested? I just found out that I can change all of the credentials including password, email and nickname
 
12:36 PM
No, not really
@towc It was a free gift anyway, don't worry about it
 
thanks :D
anyway, if you think someone else might enjoy it, do tell me
 
Sure
@towc How long does the account have?
I think it was for a year originally, but I don't remember how much time has passed
And which kind of account is it?
 
it was a free for 1 year PRO5 account, and I think I activated it in october of last year
js13k's announcements were done on september 20th
I think you received the code 2 weeks after that and after a few days you sent it to me
so it should've been october
 
Cool
 
 
1 hour later…
kudos for him
 
The "It's just a theory" stuff is incredibly annoying
 
Well, the thing is that philosophers and scientists typically don't actually care enough about idiots to engage them for prolonged conversation. Educating the public about these things is mostly uninteresting and interested people will eventually figure it out on their own by reading or taking courses.
It's a waste of time to argue with indoctrinated people about evolution when they don't understand basic biology - if people choose to not care enough to educate themselves they have a right to do so and they're not hurting anyone :P
 
Except when they are
People who don't educate themselves may raise their children without really educating them either
 
Lacking basic knowledge of biology/chemistry etc is, I believe, a root cause of the anti-vaccine movement
And that's one harmful movement
 
2:21 PM
Yes, but debating with the uneducated is frustrating
When these arguments happen in the room I can't just tell someone to read a book... I come off as a jerk if I do. I also don't want to start explaining evolution since it takes a few hours.
There is really no way to argue with these people that doesn't either drain you or make you come off as condescending.
 
I guess the best thing to do would be, "Here are the books that convinced me. Give those a shot"?
 
(haven't read article, so could be repeating) But not engaging is possibly harmful to the person, and maybe harmful to their environment. Doing something basic like giving them a direction is pretty much all you can do.
A lot of times I said that I can't possibly explain a subject to someone over a dining table and gave names of stuff to google
 
Yeah, I'm often just asking people to read up on things because I can't explain it all in the time we have
@BenjaminGruenbaum By the way, you were going to tell me about sentiment analysis and how simple it is
Do you have the time to do that now?
 
@SomeGuy sure, what sort of sentiment analysis are you trying to do?
 
I'm not trying any yet :P
 
2:26 PM
It has distinct parts that vary by the broadness of the task.
 
I guess I should read up on it first then
 
Usually, sentiment analysis is either top down (you start with tagged documents and learn how words and phrases matter) or bottom up (you start with tagged words and figure out the document)
There might be a lexicon extraction phase where you figure out what phrases are good in what context - different words are positive and negative in different context.
 
Right
 
If you want to analyze a specific field - you might even write your own dictionary of words and sentiments. Let's say we're doing laptops.
 
Okay
 
2:29 PM
With laptops - heavy is bad for example - the simplest thing you can do is just start with a dictionary of bad words and a dictionary of good words and look at the sum.
 
Yeah, that makes sense. "Fast" in the context of laptops would be a pretty decent indicator of a +ve response
Ah
 
That's actually not a bad start - but you usually want to care about phrases - so you'd have a sort of regex that says that fast refers to the computer and there is no negation before it.
And then build other phrases based on it (for example, if there is negation - invert the sentiment factor).
 
Right
 
There are libraries and tools like nltk that make this sort of thing not too hard. In practice you often want to extract the dictionary automatically by looking at occurrence of phrases in tagged documents (based on star rating for instance).
Once you have good and bad phrases you can look at more than binary classification - you can either look at bad terms occurring together being a very negative sign, or at "more negative" terms correlated with star ratings for instance.
 
Oh, yeah, I've seen nltk before. I believe they have a book?
 
2:33 PM
Lemme write up a process
 
@Zirak you're damn right ... I also don't understand that fixation about getting autism from that
 
Okay
 
breathing from the air gives you a higher chance (if you're in a city) on cancer then that
 
For example:
- Scrape laptop reviews site
- Use a part of speech tagger and analyser to split it into sentences and tag its parts
- Merge synonyms that are not part of your sentiment with Wordnet or a similar tool
- Do stemming (reduce the word to its core)
- Perform pattern extraction by looking at sentences that occur many times at reviews of similar rating.
- Merge similar patterns by generalising them - test said patterns against examples.
- Validate extracted patterns against test set, rank them and take the best ones
You can also use techniques of classic machine learning to learn the patterns (for example - after you build the dictionary perform feature extraction and use SVM or another technique against the training set to learn which of these actually matter). Alternatively neural networks can be used both for embedding the whole language into a smaller set and training a network against the test set and doing a similar thing.
For all things that matter here "learning with svm" and "learning with a neural network" are just function calls in nltk or scipy - you can and should understand them if you want to but you can use them without doing so - just like I have no idea how a modern processor actually works.
 
Wow, awesome, thanks
I get NNs and SVMs
The theoretical basics at least
I've got to go. I'll get back to you in a bit
 
2:39 PM
Have fun :)
 
Can I mix standard Promises and Q library promises?
Like:
doThingWithQ()
.then(function(){
  return doThingWithStandardPromise();
}).then(function(){
  resolve()
}, function(error){
  decline(error);
}).catch(function(error){
  decline(error);
});
 
Yes, but you should never use promises like that - don't use Q it's an ancient library, use a modern one instead. And I can spot from this distance the deferred anti-pattern in your code.
 
Yeah, Sequelize.js uses Q, so I gotta use it for this.
I'm doing a convenience method for avoiding this.
 
no, it uses bluebird
 
Oh crap.
 
hahahahaha haha
 
goes to bluebird's docs
 
I knew it :P
 
Sorry for the inconvenience, then :P
@BenjaminGruenbaum But wait is the same you said about Q valid for Bluebird?
 
@GabrielTomitsuka is that code wrapped in a new Promise by any chance? What is resolve() and decline?
 
2:49 PM
@BenjaminGruenbaum Yes it is.
var homeOffers = function(){
  return new Promise(function (resolve, decline){
 
I have a question for that somewhere
Enjoy
36
Q: What is the deferred antipattern and how do I avoid it?

Benjamin GruenbaumI was writing code that does something that looks like: function getStuffDone(param) { var d = Q.defer(); // or new Promise, $.Deferred, $q.defer() etc. myPromiseFn(param+1).then(function(val) { // or `.done` d.resolve(val); }).catch(function(err) { d.reject(err); ...

Basically:
var homeOffers = function(){
    return doThingWithBluebird().then(doThingWithStandardPromise);
}
 
3:01 PM
Up voted! Thanks
 
posted on March 28, 2015 by admin

New comic! Today's News: Neato thing to be announced tomorrow! 

 
@BenjaminGruenbaum Is there a name for the algorithm you use to train and predict things you described at the end of that message?
 
which line?
 
> the average of the ranking on all patterns that match it to predict the star ranking. This is a simplification but it's pretty much it.
Is that some kind of similarity function?
 
3:17 PM
No, this is literally running all the patterns on the rating (each pattern has the ranking of the rating it came from or an average of them) and averaging the outcome
 
Ah
By the way, are there any open source projects on Machine Learning that you think beginners should look at?
Once I'm done with the Coursera course, I figure looking at some simple projects by experienced people would be useful
 
Honestly I'm not sure - I've mostly seen proprietary stuff, there is lots of open source tooling though
 
Alright. I'll probably start harassing you when I get around to making some projects on my own
That'll probably be a few weeks, though
 
well, good luck :)
 
How can I make the following AngularJS psuedo code work?
<tr ng-repeat="user in rosterData | orderBy:'name'">
       <img ng-src="{{champion.imagename WHERE user.id = champion.id}} />
</tr>
(user and champion are both scope objects)
 
3:28 PM
make a function for {{champion.imagename WHERE user.id = champion.id}}and call it.
 
@Austin Start by explaining what you want to do
 
Trying to insert the championimage pathway into ng-src. User and Champion both have an ID however. So I want the User.id WHERE EQUAL to the Champion.id, to use the Champion.imagename.
 
Is it this? <img ng-src="{{champion.imagename}} ng-if="{{user.id == champion.id}}" />
 
I think its close.... I am trying variations of that with no luck just yet
 
3:48 PM
Could be that the ng-if expression is automatically evaluated. Try it without the {{}}
 
@OliverSalzburg Yup I was alraedy doing it without the {{}}.
I think the problem is champion.id, thats an entire list. SO i need like a ng-where kind of deal
use champion.image where the champion.id matches the ng-repeat's user.championid
 
I'd go with @BenjaminGruenbaum's suggestion in that case. Just perform what you need to do in the controller and use the result
 
Okay, I can try to figure that out :P
@OliverSalzburg Is there a way to specify and index of an angularjs array? likeee <img src="champion.image{{$index = champion.id == user.id}}
 
@Austin Er, if you want to access a specific item in the array, just use []. But that code doesn't look right at all
@Austin You should just go through rosterData before you inject it into the scope, find your champion and add a isChampion = true to the user. Then simply use that in your view. If you need it updated, use $watchCollection( "rosterData" )
 
4:10 PM
In a Promise working with return eatChocolate().then(brushTeeth);, brushTeeth's arguments must be eatChocolate's return values?
 
Yes
 
wait what?
@GabrielTomitsuka brushTeeth's argument (singular!) must be the resolution value of the promise returned by eatChocolate.
 
@OliverSalzburg Is there a simple way to do something {{championData.name = championData.championid == 80}}
 
Yes, make a function...
 
4:28 PM
> Your implicit data suggest that you strongly identify more with HAPPY than SAD.
Hmm
 
my first [minigame](http://www.towc.eu/prototype/pippo.html) in ages!
Don't stare too much at the code, I've done everything on the fly and didn't have time to do much organization. Apparently someone is willing to give me 50€ for this, so I don't really care much to make it better
why's the markdown not working?
 
Multiline messages break markdown
Congrats, btw!
 
oh. Thanks!
 
@towc I love the concept
It doesn't seem particularly "fun"
But the idea is a good one to try out
 
user2620028
Guys i am having hell trying to solve a JS issue right now and i have toyed with it all day.
 
user2620028
4:36 PM
I have JS code that was previously working until this morning. Now it is acting oddly. I am using JSON.stringify() to create a string of JSON formatted and send it to php. The sending to php is working properly but it all of a sudden today replaced whitespace in the string with backslashes.
 
user2620028
I then used a regex to remove the backslashes and now it double encloses the entire string with double quotes and now i am trying to remove the double double quotes at the beginning and end. I am more curious about what is the root of the problem however. Not how i can put a band aid on it.
 
@SomeGuy I wanted to tell him, but I preferred to think about the 50€
 
@HatterisMad Sounds a bit like magic_quotes
 
user2620028
But i didn't ever use magic quotes and it is happening in my javascript before it ever gets sent to php
 
We'll need to see some code
 
4:44 PM
ninja copy :/
@copy I failed at all functional languages :(
 
user2620028
@copy this is the generated javascript by php that is grabbed by inspecting element. This is the code that worked for the past two weeks up until today when it decided to now bomb completely. jsfiddle.net/nadssxme
 
import {EventEmitter} from 'events';
import {inherits} from 'util';

class Bot {
    constructor(options) {
        EventEmitter.call(this);
        this.options = options;
        this.handlers = [];
        this.middleware = [];
    }
    use(callback) {
        this.middleware.push({
            callback
        });
    }
    addCommand(command, callback) {
        this.handlers.push({
            command: new RegExp(`^${this.options.prefix}${command}`),
            callback
        });
    }
Anyone know why the this is changing to undefined when transpiling?
Inside the listener callback
 
!!summon 29074
 
@Kitler Registered; need 1 more to execute
 
1 more pls, we miss her :P
 
4:52 PM
!!summon 29074
 
@ZachSaucier Registered; need 1 more to execute
 
@Kitler That aint no room I ever heard of! /help summon for usage info
 
!!summon 29074
 
4:53 PM
@Kitler Registered; need 1 more to execute
 
O.o
@Zirak she broke
 
I'm betting we have to be ROs
 
just need 2 users for privileged commands
something's off with her
 
@HatterisMad That looks okay, can you check if the slashes are actually added on the client with Wireshark
 
4:55 PM
Not related to the problem at hand, but why would you be using innerText?
 
other than wrapping a function in $timeout, is there a simple way to delay from firing off the bat? I get interpolate errors because it tries to run some functions data that hasn't been injected from factories yet
 
user2620028
@copy the alert at the end shows the string with slashes that were not obviously in it before hand so yeah its definitely client. -- just noticed i removed the alert to show the code to you lol
 
And I couldn't see the slashes anyway because the html is missing
 
user2620028
Yeah hangon i am going to console.log the data
 
Does anyone else get bugged by the alpha sign in front of the JSFIDDLE logo on jsFiddle? Isn't jsFiddle stable enough?
 
Neo
5:13 PM
Hi
I'm using a web service to extract data from a file then sending it in JSON format
so I upload a file with an HTML form, then the file is read by a method in the web service and the json data is then sent at the method's URL
so I want to know how to consume the JSON from the HTML file that contains the form
basically I want that after clicking on submit, I'm redirected to the HTML page, with an access to the JSON object inside <script> tag
 
!!summon 29074
 
user2620028
@awal never noticed it before actually
 
@Worf Registered; need 1 more to execute
 
Neo
has someone an idea ?
 
user2620028
@copy this is a vardump from the $_POST variable directly from javascript
string(2257) ""[{\"name\": \"King Edward I \", \"pointsEarned\": \"0\", \"positionPlaced\": \"0\", \"dns\": false, \"RacerWins\": \"0\", \"BlockerWins\": \"0\", \"dnf\": false}, {\"name\": \"Miss StarStrukk \", \"pointsEarned\": \"0\", \"positionPlaced\": \"0\", \"dns\": false, \"RacerWins\": \"0\", \"BlockerWins\": \"0\", \"dnf\": false}, {\"name\": \"TheOffrce1808 \", \"pointsEarned\": \"0\", \"positionPlaced\": \"0\", \"dns\": false, \"RacerWins\": \"0\", \"BlockerWins\": \"0\", \"dnf\": false}, {\"name\": \"NukedI
 
5:21 PM
Right, but is it the same on the client?
 
it is invalid json ofc
 
user2620028
Yes it is identical on client
 
user2620028
Best description of this i could find was stackoverflow.com/questions/4663743/…
 
you have to remove the first and the last quote
 
user2620028
Sorry wrong link
 
user2620028
5:25 PM
0
Q: Issue with JSON.stringify adding a extra \ and "" to my Json object

DevsinedHi I am creating using Javascript an array of object with a key and a value using the following code. ValuesArray.push({ key: $(this).attr('someattribute'), value: $(this).val() }); As a result I have am array of object like this: key:29; value: 'Country' Key:12; value: '4,3,5' when I am tr...

 
user2620028
Yeah i figured that was what was causing the issue.
 
What the hell is NukedIceCream?
 
user2620028
These are tournaments held for a community and that is someones username hahaha
 
!!summon 29074
 
haha nuked icecream sounds so awesome lol
@HatterisMad halotracks something? :p
 
user2620028
5:30 PM
yeah. google is wonderful thing right?
 
xD
nice username, for some reason, i really like it :D
 
user2620028
Hahaha i will tell him
 
user2620028
It might have been generated by xbox live i am not sure
 
:D
 
user2620028
Either way i have no idea why all of a sudden it is adding backslashes and enclosing the whole thing in quotes. anyone have an idea?
 
5:34 PM
unless we see your php code...
 
user2620028
I mean you are welcome to dig through the php code but this all happens in javascript before it reaches php
 
Uh, you mean JSON.stringify is doing it?
 
user2620028
Yes
 
user2620028
This is done entirely by stringify as far as i can tell
 
is there a way to use destructuring here:
$q.all(promises).then((res) => {
      res = res.map((r) => r.data);
     /* ... */
})
 
5:44 PM
@HatterisMad I parsed and stringified your very string and it doesn't do it. So unless you are doing something with the resolver of stringify, I don't think this has to do with the client.
 
user2620028
oh god
 
user2620028
i just threw the object array going into stringify and the alert shows it formatted as such [object Object], [object Object], [object Object], [object Object], [object Object], [object Object]
 
user2620028
Has it been that long since i have tried to look at what an object alerted to the screen looks like or is that completely effed. I honestly don't remember. I haven't touched JS in like 5 months
 
That is because of Object.prototype.toString's behavior.
!!afk
 
user2620028
5:52 PM
That is normal? i couldn't remember the last time i tried to to string an object lol
 
Neo
I would like to know how redirect to a page after successfully sending a file through an HTML form to Java based web service ?
 
user2620028
Just as a point, this is the direct result of calling alert(JSON.stringify()) on my array gyazo.com/37f2c41f57efc23437bba0bbab1f7ae4
 

« first day (1624 days earlier)      last day (3314 days later) »