« first day (1675 days earlier)      last day (3289 days later) » 

11:02 AM
@MadaraUchiha Okay removing comments didn't change anything
 
Can paste the new JSON?
 
I think I fixed it
It was because I was using two configurations at the same time
 
11:20 AM
So... there is no way to have sub repos in git, right?
 
submodules
 
I am kinda wondering, if having top level react components and then exposing functions to control them more like services in an app is a good practise
@OliverSalzburg winblows is weird.
 
@BenjaminGruenbaum omg TIL
 
sure thing
 
THANKS BENJI!
 
11:22 AM
@AwalGarg maybe you should start to google :-)
 
Lol, sure. To be fair there is a lot of criticism against submodules - mostly unjustified.
 
-- look whose saying that xD
 
> A programmer had a version control problem and said, “I know, I’ll use submodules.” Now they have two problems.
 
@BenjaminGruenbaum so how do they (the people who criticize it) manage projects when they need to use a project within their project?
 
@AwalGarg A common gotcha: submodules point to a commit, not to a branch or tag
Also, you need to perform a slightly different command to fetch a repo with all its submodules
 
11:27 AM
@AwalGarg they make them sub packages and not sub modules
That is, they make them their own git modules with repos and then require them (in JS) or import the DLL (or the project to the solution) in C#
 
@MadaraUchiha yep, just reading on that, thanks!
@BenjaminGruenbaum well, that way they won't get the version history or branches of the subproject which is sometimes useful
 
@AwalGarg right, it's the point of the abstraction - you should not be interested in those parts of the project - they just provide you an API
 
11:36 AM
@Abhishrek anyway you'll be dead
 
@BenjaminGruenbaum that's mostly true, I agree. But say the subproject has a couple of branches like dev, stable etc. that I want to toggle through while using it in another project, then?
 
@Abhishrek Eh
 
@AwalGarg that's a really good point and to be honest we do struggle with it. If we look at it as if we're talking about JS, what we'd typically do is set up the package.json to point out to the correct version and npm-install and also work with config files.
 
Even if you'd magically live that far, when galaxies collide there's an extremely low chance of damage to any single solar system.
 
so the keplans will be here soon
 
11:38 AM
@AwalGarg There are things you have to toggle all the time anyway like switching between database versions (prod and pre-prod and yesterday and backups etc), and switching settings between environments - this is just one thing to deal with, whatever you use to deal with that should work here
 
@Abhishrek People who use the term "winblows" are weird
 
@OliverSalzburg it is winblows :P
 
People who feel strongly about operating systems but don't know what a TLB is are weird
 
@BenjaminGruenbaum The thing with packages though is that we don't have good tooling to "toggle" like we have with stuff like databases. Switching between databases is just a matter of editing the config file (hopefully), but for changing the package version, I have to do npm install again, and if the dependency tree happens to be complicated, it's a pain.
 
@AwalGarg not really, it should be a huge pain since most of the files are already there - plus it's not a very common case.
By modularising your code base you get a lot of other advantages too, but you probably realize that.
Submodules work too, you can try those first.
 
11:42 AM
i use winblows,recently installed babun because i would screw up cygwin a lot
0
Q: How to correctly do bootstrap tab replacement?

vamsiampoluI have a three tabs each consisting of a form,when I click on the tab for login,I am replacing it with the tab for forgot password using animate.css and jquery as specified in this jsfiddle Now,I have another tab that I have added to this,switching to the non replacing tab loads the tab below th...

 
Yeah, not much of a common case, but still a good thing to have.
 
any nodejs teacher in here with some freetime?^^ :)
 
@BenjaminGruenbaum i don't feel strongly about anything, I just find windows on desktop and android on mobile frustrating.
 
@Abhishrek mobile is different since the UI is very different between OSs in practice. On the desktop most of the world spend most their time in browsers and corporate software anyway.
 
its interesting how having a pie chart of version distribution over users is good on windows and bad on android,it is all about how you spin it,i guess
i remember the term for it,fragmentation(if 2.3 looked like 4.x would ppl give a crap??)
i like 5.0.2 on my Moto G,material design is cool.
 
11:51 AM
This answer is incorrect in so many levels - I have no idea why it has three upvotes. — Benjamin Gruenbaum 6 secs ago
 
I like some of Windows 8.1's features. It is a pretty good OS for non-programmers who just have to play videos and do facebook.
> Promises is a library
wa?
 
@AwalGarg same as 7
And I use windows for programming. I don't see the problem xD
except you are programming openGL or something like that
 
12:16 PM
0
A: Why isn't this forEach look pushing the data to this outer variable?

user3227295you must write the console.log in end of foreach const input = process.argv[2] var input2 = [] if (process.argv.length < 3) { console.log('Usage: node ' + process.argv[1] + ' FILENAME') process.exit(1) } fs.readdir(__dirname + `/${input}/`, (err, files) => { if (err) { console.log(...

2 upvotes...
 
do we not have multiple inheritence in es6?
why would we not have that
 
@Mosho Sure we do
 
I fixed the primaryCategory.categoryId and primaryCategory.categoryName, the other items are fine, you do not display shippingInfo, or listingInfo or condition, you display the content inside of them, such condition.conditionId or sellingStatus.bidCount...., so you should be able to display everything. — faljbour 23 hours ago
 
@KapilSoni Welcome to the JavaScript chat! Please review the room pseudo-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.
 
@Mosho Don't think we have a syntax specifically for that.
That is class Foo extends Bar, Baz { doesn't work AFAIK
(And I seriously I hope I'm not wrong)
 
12:20 PM
@MadaraUchiha babeljs.io/repl/…
 
@BenFortune fuck -_-
 
I think that's what it's doing anyway :p
Babel's transpiled output always confuses me
 
how can post question in chat room which i created in forum
 
@BenFortune It just inherits from B
It's a comma expression
 
3
Q: How to get the Json data from eBay api to save in cvs format

Kapil Soni<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>eBay Search Results</title> <style type="text/css">body { font-family: arial,sans-serif;} </style> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript" ...

 
12:23 PM
@BenFortune not what you think it is
 
I figured :p
Would've been nice though.
 
@argentum47 Hey
 
@BenFortune oh :O
I just read that doesn't work
sweet
 
lol
 
wait
wtf is this... })((A, B));
that don't work
 
12:32 PM
B is undefined
 
It's a comma expression
 
yeah
so it just calls the function with B
 
You can still do stuff like
class A {}
class B extends A {}
class C extends B {}
 
yeah...
 
Could you do multiple inheritance with proxies?
 
12:34 PM
Just do a mixin...
 
just use php
 
no.
 
yes.
 
care to elaborate?
 
12:45 PM
he cannot
 
Yes, PHP 7 has anon classes. So you can create an anon compound class and extend from it.
 
@Mosho why not use higher level classes ?
 
Also, PHP has actual mixins as traits and not object workarounds :P
 
Does any hosting support PHP 6 yet?
 
there is no v6
 
12:46 PM
lel
 
So... PHP is suffering from the Rapid Versioning Syndrome now, too?
 
lol yea
 
LOL
 
actually, 7 isn't out yet either, but soon
 
Ruby has had proper mixins for quite a while
 
12:48 PM
feature freeze for 7 has occurred already, so just implementation is left
 
hi friends please help me
 
@Mosho google for medium + react es6 mixins
 
Haskell has something better than mixins entirely
 
@JanDvorak example code?
 
someone knows the reason of the "Rapid Versioning Syndrome"?
 
12:51 PM
!!wiki Rapid Versioning Syndrome
 
@MadaraUchiha The Gods of Wikipedia did not bless us
 
rekt
 
!!google Rapid Versioning Syndrome
 
@Neoares for php, version 6 was basically "too ambitious" or something. Similar to what happened with ES4.
 
12:52 PM
quickSort :: Ord a => [a] -> [a]

quickSort [] = []
quickSort (x:xs) = filter (<=x) xs ++ x : filter (>x) xs
 
@JanDvorak I don't understand a thing in that. What does it mean?
 
@AwalGarg The first one is a type declaration. It tells us that quickSort is a function from any list type to the same list type, given that elements of that type can be compared
@AwalGarg The second line tells us that sorting an empty list results in an empty list
 
the third?
 
The third line provides the remaining case. : is the cons operator (prepend an element to a list in a constant time). ++ is list concatenation.
 
12:57 PM
god haskell is so unreadable
 
filter takes a predicate and a list and produces a subset of the list
With great power comes great entropy/character ratio
-- sample cat program
main = interact $ id
 
user1994804
Thank you to those whom do wish to help and have helped me in the past
 
@YourAdrenalineFix *who
I can't even parse the last sentence
 
user1994804
Also, I apologize to anyone subjected to my directives towards the POS @BenjaminGruenbaum
 
user1994804
but Im done
 
1:01 PM
*I'm
 
Wow that's hilarious.
 
What is a POS?
 
!!urban pos
 
@BenFortune [pos](http://pos.urbanup.com/130584) 1) Piece Of Shit
2) an abbreviation some companies use for Positively Outstanding Service.
 
I'd say it's the latter
 
1:02 PM
sighs
 
I agree, @BenjaminGruenbaum is a positively outstanding serviceman.
5
 
^ this
 
I'm still not putting 1+1 together though.
 
flag-gone
 
> Benjamin: Hi!
> Coworker: Hey look our POS arrived!
 
1:04 PM
@YourAdrenalineFix How did @BenjaminGruenbaum cost you a month?
 
@BenFortune he's gone
 
@BenFortune Banned
 
Wow, you can't just leave me with a cliffhanger like that.
 
@BenFortune probably OP had some drama with Benji on main :/ just guessing
 
@BenFortune just ignore him
@AwalGarg OP is a regular "help seeker" and could be classified as a help vampire IMHO
 
1:06 PM
it's 37 degrees
 
ah, makes sense
 
and probably should have hired someone already
 
I'm not leaving the office
ever
 
Yeah, sounds like he's made a question and benji's answered it
Can you find a user's deleted questions from their profile?
 
@Mosho it's raining here :(
 
1:07 PM
@HamZa I.. uh... I am not sure someone would like to have them as a boss :/
 
@BenFortune nope
@AwalGarg last I checked, it was his personal project or something
hangs around the PHP room as well
 
lol
also, hi @HamZa! Did the flags get you here?
 
@AwalGarg yup but I do like to check the star board from time to time
 
:D
 
Basically I'm in the middle of a lecture and it's so boring that I have 20+ tabs open, working on a project and hanging around SO
 
1:11 PM
@AwalGarg tell me, how would you like a quickSort definition to look like?
 
@RoelvanUden Point Of Sale is also commonly used
 
@JanDvorak not like what you posted :P
 
Found out what happened. Yes I'm a nosy bastard
 
@HamZa I'd take the Haskell version anytime
 
1:14 PM
@JanDvorak hehe
@BenFortune enlighten us please
 
@JanDvorak lol you so trolly
 
@YourAdrenalineFix Sorry, but... Do I know you? Have we talked before?
 
1:20 PM
@RahulDesai Hi, um I was actually a little busy
 
@RoelvanUden I'm sad.
 
@AwalGarg lmao
 
JavaScript and all, the steam version is window only.
 
insertionSort :: Ord a => [a] -> [a]
insertionSort = scanr insert []
  where insert x (y:ys) | x > y = y : insert x ys
        insert x ys = x : ys
 
@MadaraUchiha Oh, that is pretty bad. I think they do have support for Linux planned, but damn, it was so much fun to play. Did you try it? :D
 
1:21 PM
@RoelvanUden Yeah, the demo is seriously fun
 
Indeed! I presume they will go for Linux/Mac, too, after all, it is a cross-platform language it would be a waste not to use it ^_^
 
> Tokenize a string
> Separate the string "Hello,How,Are,You,Today" by commas into an array (or list) so that each element of it stores a different word. Display the words to the 'user', in the simplest manner possible, separated by a period.
^ tis so realistic
 
@BenjaminGruenbaum You are making friends I see
 
@AwalGarg lel
 
Can we have userscript writing challenge for the JS room? @room-owners?
a big big userscript
 
1:24 PM
I'd like
how big?
 
@AwalGarg you missed the part where you need a compression algorithm . like huffman
 
@JanDvorak Nope
 
@JanDvorak just enough that I can directly copy paste code from all the entries and complete a personal project with it :P
well on a serious note, something like everyone writes userscripts to fix most common annoyances in the services that we use daily as programmers. = profit+fun
 
@BenFortune hehe
 
@AwalGarg are you proposing writemeauserscript.com ?
 
1:28 PM
@Abhishrek what?
 
wait , why are you horny? are those horns or extra ears..
 
okay you are not
 
@argentum47 he probably got bit by rlemon :D
 
Abishek and horny, yeah, that fits
 
1:31 PM
!!abhishekpornfreak
 
Jan 21 '14 at 16:46, by Abhishek Hingnikar
they love there work like i love p***. maybe i should do a p*** site !
 
Jun 15 '12 at 6:55, by Abhishek
user image
never forget!
 
user1994804
I'll try to scale down my displeasure
 
you went total nuts there without apparent reason, what the hell is going on?
 
1:33 PM
insertionSort :: Ord a => [a] -> [a]
insertionSort = foldr insert []
  where insert x (y:ys) | x > y = y : insert x ys
        insert x ys = x : ys
@Jefffrey ^
 
user1994804
Bottom line is, Ive only been defending my stance and I'd love to put all this behind us and discuss some JS code but you guys ALL sit around in this room talking about nothing and then block me for 30 mins when I voice my displeasure so you can talk shit behind my back without allowing me any input.
 
@YourAdrenalineFix calling people names isn't voicing your opinion, it's just rude
 
user1994804
Now as long as noone blocks me aagain Im done
 
@YourAdrenalineFix We didn't block you. And if you continue with this, we will block you (ignore) or Room owners might even kick you.
 
user1994804
so is blocking me
 
1:35 PM
@YourAdrenalineFix first of all, calm the hell down and think about the use of your words
second, read the room - rules
 
@YourAdrenalineFix *who
 
user1994804
I Dont CARE
 
blocks of code, especially unformatted, will get deleted
 
user1994804
the problem is NOT me
 
@YourAdrenalineFix Instead of blaming the world because everything and everything is wrong, look in the mirror, and really ponder, is it truly the world...?
 
1:35 PM
You don't follow the rules of the room, you face the repercussions.
 
@YourAdrenalineFix that's way too offensive
 
@YourAdrenalineFix [citation-needed]
 
suspended again
 
aaand gone
 
user1804599
> This user has been automatically suspended for posting inappropriate content and cannot chat for 29 minutes.
 
user1804599
1:36 PM
Excellent.
 
jesus christ
 
@rightfold second time in a row
 
@JanDvorak Yup.
 
Well, if I spent a month writing a chat message I'd be upset too :p
 
a little agressive
 
1:37 PM
I also don't see how it's benji's problem that you lost a month.
You don't NEED this room to solve your problem.
 
@Jefffrey This time I actually fed it to GHCi :-D
 
So i am supposed to learn genetic programming fuzzy algorithms and neural networks in one day :->
but only the theory part :-(
 
@GNi33 hahahaha that is gold :D
 
So i am supposed to learn genetic programming fuzzy algorithms and neural networks in one day :->
 
A comma is missing, right ? (more if oxford)
 
1:38 PM
basic idea, or all of the theory?
@dystroy correct
 
Keep Clam and Han shot first
 
(note: I've written libraries for the 3 of them)
 
@dystroy linky?
g2g, sorry. Will look later
 
@JanDvorak no, none of them were OS, the fuzzy is trivial (fuzzy decision tree) and I don't think I even still have the neural networks (simple cases, and were in C 20 ya...)
trivia: the tribo game IA that runs in miaou is made with GA
 
ok, thanks. I was interested in a brain.js alternative
 
1:41 PM
> plz convert pdf format to word formate nd resend plz
^ tell me what to reply
 
@AwalGarg plz
 
Note that those aren't algoithms but families (or even approaches). People might have very different ways of dealing with GA for example (even if it settled a little now that it's not something excitingly new)
 
@BenFortune ?
This guy writes all his emails in comic sans ms extra large font. Someone save me from brain tumor.
 
Hello, guys. I've asked a question on stackoverflow and I got a very nice answer, but unfortunately when I plug in my data, I get "cannot read property push of undefined"
This is the original question: http://stackoverflow.com/q/30262581/1967704
And this my real code:
http://plnkr.co/edit/pdu09nMOz0Vufv5OAHGE?p=preview
Thank you.
 
Very general question; if you were to attempt to write a HTML5/JS game, would you use an established game engine or write your own? I understand it depends on use case and the scope of the required features, but I am wondering.
 
1:53 PM
@GeorgeNetu p.data['am'] doesn't exist in your code, you've defined it as p.data['amArray']
 
Thank you so much
 
Either change it to p.data[keyword + 'Array'].push or
p.data = {
        am: [],
        fm: []
};
 
bow I've been staring at this piece of code for three hours. Have a nice day!
 
in bootstrap how can I make my button fit perfectly to the right of the col-md-4:
   <div class="form-group">
        <div class="col-md-4">
            <button class="btn ">Submit</button>
        </div>
    </div>
 
make it a block element
 
2:00 PM
Atm it sits to the left
 
or just add a class "pull-right" to it if you just want it floating to the right
 
sup folks
 
the sky, except in australia
 
You should learn jQuery and Bootstrap. They can help you in your fast development. — bodruk 1 min ago
 
2:14 PM
o\
 
2:32 PM
Hey, can I help someone ?
 
@Mergars You want to spend your time doing arbitrary things to help someone?
 
Yeap
 
@RoelvanUden Don't we all do ?
 
at least we wait for questions
 
@dystroy When something interesting comes around, yes. Otherwise; no.
 
2:41 PM
instead of asking for them xD
 
Maybe that poor guy is just in need of an open source project with dozens of tasks pending :p
 
my question for helpers? today you waste the time? :P
 
Jesus i'm so hungover
 
Go go
 
@SterlingArcher What did jesus have to do with this?
 
2:49 PM
Jesus aint got time for my crap right now lol
 
hello i want to achieve both (remove all  non selected options bar one ) ? can it be done  code : $("#"+element +" option[value!='all']").remove(); AND $("#"+element +" option:not(:selected)").remove();
 
Have you tried running your code? Were there errors?
 
who are you talking to ?
 
there are no erros
errors
i just want to combine both
was wondering if it is doable
 
2:51 PM
2 selectors in one statement?
Yes, comma delimit your selector
 
i want to keep the all value and remove all non selected
no in one sector
it is the same selector
 
$("#"+element +" option[value!='all']:not(:selected)") something like that?
 
YES
Thank you
 
You're welcome. Remember the :not can be applied just after the attribute selector
 
Thank you and good luck with the headache :p
 
2:56 PM
Much obliged
Coffee is making it worse
@Loktar @Loktar @Loktar I've been playing Destiny recently. SO MUCH FUN.
 
@SterlingArcher haha nice
I only played the beta
 

« first day (1675 days earlier)      last day (3289 days later) »