« first day (2084 days earlier)      last day (2858 days later) » 

user2620028
5:00 PM
@rlemon holy shit
 
wtf.. he wants product experience, not info about how sound waves travel
 
@HatterisMad this is exactly what youre looking for videomaker.com/comment/152414#comment-152414
 
user2620028
@Luggage fun to read regardless i suppose lol
 
@Luggage I found that article by googling Cardioid microphone motorcycle
@Luggage knowing very specifically what you are looking for leads you quickly to your target
 
this question. So confused at what the goal is
 
5:03 PM
"I'm looking for a new car.. " "here is an article about how 4-stroke engines work"
 
user2620028
@Luggage That actually would be a good place to start to be honest :/ learn as much as you can to make an informative decision
 
@Luggage so to extend the metaphor, in this case if you knew that the kind of car you were looking for had the specific characteristics of a 4 stroke engine, often that would lead you faster to the results you are looking for than, lets say googling "need new car now"
 
user2620028
@Luggage Imagine all of those people who bought rx7's unbeknowst to them they were buying sexy expensive gas guzzling death rockets
 
@HatterisMad I don't need to know how the engine works to check out fuel efficiency and performance reviews
just like I don't need to know how the butcher cuts the meat to cook it
 
user2620028
@rlemon you kind of do though
 
5:05 PM
not even a little bit
 
that could be found out without knowing how engines work and doing your own simulations.
 
source: I own a car, don't know how a 4 stroke engine works.
 
user2620028
@rlemon to look at reviews no you don't need to understand how the engine works, to understand the reviews however is a different story
 
not even a little bit dude
 
user2620028
spoiler: it strokes 4 times
 
5:05 PM
I can buy a good car, and be confident in my decision without being a mechanic or knowing how the engine works.
 
@Luggage if you had searched "microphone motorcycle" in this case the quality of the results you got might be less than the result I found by searching for terms that a professional would use.
 
because they've setup the system in such a way that all relevant information to me is available without the foreknowledge
 
Its not about whether generic terms will get you where you need to go
 
@rlemon However, there are no disadvantages to knowing.
 
none at all
 
user2620028
5:06 PM
no... you just have incredibly low expectations of what a car should do
 
I can also buy a microphone based on feedback about how well it picks up my voice while driving down the road and know noting about how to MAKE a microphone
 
they definitely will. But knowing exactly what you are looking for gets you to better results faster
 
@HatterisMad move me from a to b
 
user2620028
and their information isn't leading you to understand anything about the car, just calm your nerves about making a purchase, any purchase
 
if your expectations are higher, you are not the common consumer
 
5:07 PM
knowing how things work does sublty change everything.. but sometimes you want to know if a product meets your needs, not how to design a product that will meet your needs
separation of concerns.
 
I'm not saying knowing isnt' valuable, I'm just saying you don't need to know to make an informed decision. low level knowledge doesn't have to be known
 
Personally.. I enjoy knowing the details. Not everyone does.
 
of course you dont need it
 
user2620028
@rlemon an informed decision kinda implies that you know and understand
 
but it makes it faster
and often gets you better results
 
user2620028
5:08 PM
@rlemon for economy is rolling the windows down better or turning the ac on?
 
@HatterisMad yes, and knowing how the engine works doesn't mean jack shit. all it does is allows you to obtain the information that DOES MATTER yourself.
why do I need to know that.
 
user2620028
because your concern was fuel economy
 
I just need to know the obtained information about performance and shit
@HatterisMad which is already tested and known
 
I think you are being unreasonable to suggest that the only way to make a decision about a product is to understand everything that went into its manufacture and design.
 
why do I need to know how to calculate it or test it
 
user2620028
5:09 PM
@rlemon you drive your car at a specified rpm and never go away from that?
 
@HatterisMad do you know how your CPU does calculations on the lowest level?
 
user2620028
you dont understand what the numbers mean when they are being told to you, so how is that an informed decision
 
no?? fuck man, you must be a terrible developer.
pack it in
 
@Luggage that's clearly not the case. but it saves you headache often. People get lucky all the time. But why rely on luck? do a tiny bit of research and save yourself a ton of time, potentially
 
user2620028
@rlemon i took a class on it, not to say i was the best at it but i did manage to make a cpu
 
5:10 PM
alright man. I can see there is no point in this.
 
user2620028
@rlemon i would agree it would be very beneficial and i should study more about low level hardware
 
you win, everyone who can't take apart an engine is a pleb
 
@rlemon I think they receive a stream of bits and do some calculations with an ALU and a bunch of memory management logic
 
user2620028
never said you should do that
 
knowing how a cpu works, may help with programming, but shouldn't help people use Microsoft Excel. Knowing how an engine works shouldn't really change how people drive (much). On roads, i mean.. not racing.
 
5:11 PM
@Luggage well yea, racing is a different story. but racers are not your average consumer
 
user2620028
if their concern is fuel economy then they should figure out that its not always the parts they put on the car but how they put their foot to the gas pedal
 
user2620028
i have been talking about fuel economy the whole time
 
@rlemon also there are tiny men inside the computer pushing buttons
 
@yosefrow define button
 
I can tell my mom "higher miles per gallon is better and don't push the pedal down too far if you want to get good milage"
 
user2620028
5:12 PM
:P
 
user2620028
@luggage then it comes to the debate of, is it better to give it more gas to get up to a cruising rpm or just come up to rpm as slowly as you can
 
@rlemon fun distraction
 
user2620028
hyper milers are still debating about this
 
@rlemon they dont push buttons because they are forced to you know
 
she's not a hyper miler and won't drastically change driving habits.. so.. you are going into the "specialist user" again
 
user2620028
5:13 PM
but i wouldnt say that is of concern to your average consumer since its minor gains at that point
 
user2620028
seriously though, if you let your average consumer drive my car
 
user2620028
my car would probably average 12mpg ish
 
which is?
 
user2620028
but if i drive it properly then it is around 18
 
user2620028
the engine is a 79 350 sbc
 
5:14 PM
so, not an average engine.
 
user2620028
uhm
 
you are the linux user of cars.
 
and for someone who will drive the same from Car A to Car B, the listed MPG is probably going to scale over from car to car.
 
any suggestion on how to make this script able to get the DOM after js has finished running? I have tried with phantomjs but dont seem to get the right result - gist.github.com/bizmate/db23887a7c5b066afafe2cc05acdd4ff
 
@Bizmate 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.
 
5:14 PM
we.. it was in 79
 
user2620028
like the most common engine ever pretty much
 
the sbc made it non-average
and you know it
and linux is the most installed OS (Servers) but it's still not mainstream to your average consumer
 
user2620028
@luggage they have made small incremental updates to it over the past 40 years but its still the same basic engine up until the last 10 years or so iirc
 
but a modern 350 with a fuel injection is a different beast to operate and has been for 20 years+
 
user2620028
So if i convert to tbi then i wont be linux anymore?
 
5:17 PM
I guess. :)
 
user2620028
you know all that will change is that my car will decide it wants to start in the morning, and my gas mileage will improve by 0.8mpg
 
Hey, has anyone ever had the issue where their Promise fires the .onSuccess and .onFailure at the same time?
 
@orlandomarinella 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.
 
hey does anyone no what status code is sent by res.end in express
 
5:24 PM
What promise has an onSuccess handler?
 
yea
promises can reject or resolve.
 
Er, not onSuccess. onFufilled.
 
they can't be rejected and resolved, so both happening suggests it isn't really a promise
or is poorly implemented
or used improperly and mis-interpreting results
 
@orlandomarinella What promise library?
 
5:26 PM
Bluebird.
 
I'm leaning toward the 3rd reason then. "or used improperly and mis-interpreting results"
 
@orlandomarinella show us the code
because if you call resolve reject is ignored, even if called.
and vice versa
 
@DanielKobe You can choose by doing res.status(200).send()
 
Yeah. It's going roughly like .then(function(body){ /*passes to another function*/ }).catch(function(error){ /*handles error*/ });
 
@DanielKobe in your network tab in your dev tools you can see all the headers being sent to you
which will include the status code iirc
 
5:29 PM
But it's doing both. Which it shouldn't be doing.
 
@orlandomarinella inside of your .then you have an error then
 
ah, so the then is called, then the catch, that makes a lot more sense than onSuccess and onFailure.
 
Really?
@rlemon All it does is call another function.
 
promiseA().then(res => {
  throw new Error('poop');
}).catch(error => {
 error === 'poop'; // is this true? ofc it isn't. but you get the idea I hope.
});
@KevinB which would happen if the inner then saw an error correct?
 
@orlandomarinella still, the error propagates up the stack until it's caught
 
5:31 PM
Ah. So, should I wrap the later code in a different promise, so it catches it earlier?
 
bluebird allows you to catch custom error types
 
depends on where the error occurred, but yeah it should go to the catch. Your sample gives 'false' because the error isn't a string.
 
promiseA().then( ... )
.catch(SomeError, handler)
.catch( /* the rest */ handler2);
 
@orlandomarinella or catch it yourself
 
5:33 PM
holy shit
 
I'm not quite sure where it's failing at, though.
 
log the error in the catch.
look at stack trace
 
for information on this picture
 
Sort of topical and yet not, but are any of you guys aware of some sort of thing where, if I have a project working on, I can talk to someone who's better than me about general concepts about the project? Like any organizations/meetups that go in for that sort of stuff? I'm looking all over the meetup thing for the Bay Area but don't see anything like that
If I was working I'd just find a senior engineer but I'm not right now so it's like... how do I find people better at this than me to just talk with?
 
Right... I'm getting a ReferenceError: e is not defined somewhere down the line.
 
5:34 PM
@komali_2 irc, here, reddit, etc
 
It should give you something like <anonymous>:2:9
 
@orlandomarinella chances are you use e as your event and don't pass it as e
 
which tells you the function name line and column
 
search for e.
 
@rlemon Yea I was thinking about posting a question but I feel like it'd be too broad to be within scope
 
5:35 PM
@rlemon: First thing I did, wasn't there.
 
@komali_2 chats. not main
 
Oh
Ok, well then I'll give it a shot. Lemme type something up
 
@komali_2 if at first you don't succeed, share a meme and try again later.
 
@komali_2 That is rough, alot of people don't like to give away consulting for free.
 
the room members recycle ever 2-3 hours
 
5:36 PM
I'm sure there's a better way to handle an auto-retry for a network request.
 
@orlandomarinella There's something wrong with your code.
 
@orlandomarinella if it is throwing an error, you are trying to reference a variable e somewhere
 
I'm building out a little angular app that uses socketio to stick "players" into "rooms" so they can have "battles" (simple little multiplayer games). I have one "battle" built out, client and server-side, but all the logic for the client-side is stuck into an angular controller. I want to extrapolate the logic out into a sort of API by getting some of it into a factory. The end goal is to be able to basically code with Classes. Like have a master Game factory with extreme high-order logic
 
inside of the function you call, do you use any libraries?
 
and another factory that requires that one with some more medium level, etc
and so on
 
5:37 PM
yeaaaaaah bluetooth + audio are fine too XD
woohoooo best day every @littlepootis
 
@komali_2 If its a javascript project you might want to try this: meetup.com/Node-js-Serverside-Javascripters-Club-SF
 
have a @)~`~,~~~
 
@komali_2 @SterlingArcher did something like this with node + express, maybe ask him to look at his solution?
 
There's only one littlepootis
 
But I'm having trouble thinking about how to best do that, especially because so much of the logic depends on socket events, which need a listener, and right now a lot of logic depends on changing scope constantly
 
5:38 PM
!!hug littlepootis
 
@rlemon Yeah, one. request-promise.
 
@towc That didn't make much sense. Use the !!/help command to learn more.
 
@rlemon haha cheers that's never failed me before
@Greg that's what I'm thinking as well, but I definitely am not in the position to be paying someone as a consultant right now, as it's just portfoio projects I'm working on. Which, I get it, getting an expert's time shouldn't necessarily be free
@rlemon cheers I will do
@Greg thanks greg I'll look into that
 
@littlepootis favorite icon theme?
 
@komali_2 this is exactly the type of 'consulting' we do here.
 
5:39 PM
to go well with the dark version of "arc", say
 
@orlandomarinella looks like it is time to post your code somewhere for us to look at
 
@towc Numix Circle
 
because the error message isn't lying
 
@Greg Dang, no events for a couple of months for the nodejs group? Just got out of school so definitely itching for some networking opportunities :P
 
right
 
5:40 PM
Figured as much.
I'll stick it on pastebin.
 
@komali_2 seriously. stick around in here. :P we network like amotherfucker
 
@komali_2 there should be like 6 or 7 other groups on there, on the sidebar on the left.
People in this
Meetup are also in:
 
@rlemon Haha sounds good to me. Maybe, do you know of any public projects with a similar sort of structure that I could look into? Angular projects ?
 
unfortunately no, I avoid angular.
 
Or maybe I'm going about angular entirely the wrong way. Cause I'm thinking of it like the classic Class example: You have an Animal parent class, that Mammals inheret from, etc
 
5:41 PM
but I have seen others going on about it :P
 
@komali_2 This one looks pretty busy: meetup.com/jsmeetup
 
I'm probably going to give monkberry a try soon
looks interesting
@ndugger github.com/monkberry/monkberry the code is .. umm .. kinda clean-ish
you might be interested in this project
 
oh right, I remember trying to install it before and got this with their preferred method of installation :/
talking about
sudo apt-add-repository ppa:numix/ppa
sudo apt-get update
sudo apt-get install numix-icon-theme numix-icon-theme-circle
error at sudo apt-get update
I'll find a workaround..
 
Are you on debian?
 
yeah
 
5:44 PM
You're screwed
 
D:
 
Debian doesn't support ppas.
You broke debian.
 
so how do I survive?
 
install Ubuntu
 
5:45 PM
:,(
 
Or build from source
 
I mean, it's just files
 
seriously. it is a consumer debian basically.
 
I can download them...
 
install Ubuntu then remove the DE and other crap you don't want
takes all of 20 minutes
 
5:45 PM
Is there some random name generator that comes up with these javascript library names?
 
@KevinB monkberry?
 
@towc that actually works for small shit like this, but soon it will turn into an unmaintainable garbage.
 
yea
 
I agree, shitty name. but did you check out the project?? seriously looks interesting
 
looking through it now
 
5:46 PM
I don't want to fully endorse it until I've used it tho
 
never had to use ppa s before...
 
cool, a maze at the top of a source file.
 
Hah!
Got it!
Unbroke it!
Whoo!
 
@rlemon there are Ubuntu flavors
 
see lots of comment typos, :p
 
5:48 PM
@towc Just switch to Ubuntu GNOME.
 
@littlepootis kubuntu and xubuntu are meh
 
right, all of their files seem to be for ubuntu only, which means I likely would need other packages installed. http://ppa.launchpad.net/numix
I could go through the trouble of finding out what they are, or I can just pick another theme...
 
I prefer to just install Ubuntu then kill Unity if I need be
 
@littlepootis let me have my week of fuckery >:(
 
What DE do you use?
 
5:49 PM
mate
which is gnome after all
 
not u m8
 
:,(
 
@towc Gnome 2
 
@KevinB lol. Why are you reading the compiled file? in src he is almost all es6
 
lubuntu best *buntu.
 
5:49 PM
just clicked a random file
 
either he started this in es5, or used old utils, or fucked up and forgot const/let in a few places
because in a few methods I see 'var'
 
@orlandomarinella until they switch to LXQT.
 
@littlepootis atm, Unity. new-ish install and I found I don't really care
when am I not in the browser/editor/terminal
? DE makes no difference
 
plus reading the full one i get it all at once rather than having to go through a bunch of files
 
@KevinB but compiled.
 
5:51 PM
looks pretty clean to me, just isn't using any es6 because client
 
yea check out the compiler
looks like he did a lot of work in there to maintain a readable output
!!afk super early weekend
 
@Greg nice I'll look into that, thanks
 

« first day (2084 days earlier)      last day (2858 days later) »