« first day (2352 days earlier)      last day (2596 days later) » 

12:08 AM
@AlexBollbach You might find HTML/CSS/Webdesign stuff here: chat.stackoverflow.com/rooms/29074/html-css-webdesign
 
12:27 AM
@Luggage that's what I thought. For some reason one file (*.plist) is still unavailable.
 
@BenjaminEngwall I can't guarantee anyone will be receptive, but check back at normal business hours for US east coast for the best chance. This place dies friday evening and that lasts the weekend.
Maybe a bit earlier for the europeans
 
12:43 AM
@Luggage Yeah, we sort of anticipated that, but it's just the way it worked with our schedules. If we don't hear much now, I'm sure we'll be doing better on Monday.
 
12:55 AM
I don't like async/await anymore
I want my code to be composable but async await is basically returning 1 value and must live inside another async function
 
^ hahaha async/await are often not needed or something else can accomplishe them
 
I want to be like
Promises.all[stuffs]

or

Ramda.compose[stuffs]
and Im switching to bluebird instead of Q
 
@JasonMarsh I made my own library called asyn doubt it will work for you but it is still interesting
 
do you mean async.js?
 
@JasonMarsh you know you can make any required statement one letetr
 
12:58 AM
oh
 
I chose Q in my project because I liked how it's just 1 letter
you have q in fun things like bbq
probably not, I will just stick to async await for now
idk, haha.. shit!!..
 
@rlemon Just wanted to check your accent can you say "Help, holy, sorry, smash" and share it? thnx :)
 
rlemon is my lover and I say no
 
you guys love each others?
 
1:05 AM
I think it is more like a love triangle because he has a girlfriend
 
guys, let's make sure your actions are all "composable"
right
okay, that's interesting
 
do you want to join our love triangle
 
triangel the best angel
 
how is school little pootis?
@littlepootis
 
It sucks. I'm applying for a PhD programme next year.
 
1:11 AM
your joking. I thought you were getting a bachelors
Dr. little pootis
 
Not kidding. Yeah, I am.
 
so you plan to skip your masters?
 
Skip Bachelors too.
> special case of a person of high professional standing and proven competence who is deemed to have acquired mastery over all or substantial part of the course work of a higher degree of the Institute through long professional experience
 
i would be surprised if you could do that but it is possible. Stephen Wolfram did that.
 
It is possible, yeah. No harm in giving it a try.
 
1:14 AM
I should apply also then
jk I sucked at math
 
I suck at math too.
 
and you plan to get a PHD in computer science when you suck at math?
 
Here, you're considered bad at something if you only get an A.
 
vs an A+
 
S, A, B, C, D, E, F
 
1:19 AM
what is a S?
 
10/10
 
aaah that's a stupid grading system but okay
A should be 10/10
 
Yeah.
 
also we don't have e and sometimes d depending on the school here
 
Some courses don't have an E here.
Like that CAD course I had to take last sem.
 
1:22 AM
very cool well interesting. bye
 
hello this is dragonfire
 
@DragonFire Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.
 
@DragonFire Just say something when you are in here
 
i am here
 
1:28 AM
lol
 
1:51 AM
I guess my code looks more "composed" now
import _ from 'lodash'
import Q from 'q'
import single from '../models/single'
import pubsub from '../pubsub'

/**
 * Check incoming action's conditions by broadcasting.
 * TODO: Put rules in the documentation: only use attributes in functions that actually use them
 * @param app
 * @param incomingAction
 * @param bipEntity
 * @param incomingActionPayload
 * @param socket
 * @returns {Promise.<void>}
 */
async function checkIncomingActionCondition({
  app, incomingAction, bipEntity, incomingActionPayload, socket,
bip basically composes all kinds of composable functions
It would be more awesome if there's a way to turn
const { meta } = incomingActionPayload
    const app = await single.App.findOne({ name: appName })
    const incomingAction = await single.IncomingAction.findOne({ app_id: app.id, name: meta.name })
    const rawBips = (await single.Bip.findAll({ incoming_actions_id: incomingAction.id })).models
    const checkedBips = await checkAllIncomingActionConditions({
      app, incomingAction, bipEntities: rawBips, incomingActionPayload, socket,
    })
    const result = fowardAllBips({ bipEntities: checkedBips, data: incomingActionPayload.data })
into like
composeAll(
  single.App.findOne,
  single.IncomingAction.findOne,
  single.Bip.findAll,
  checkAllIncomingActionConditions,
  fowardAllBips
)
 
Anyone need help with anything while I am here?
 
I need some help with vacuuming my apartment
 
I don't think I want to vacuum your apartment. Unless you are a hot girl, but I think with a name like Jason it might be hard to convince me of that
 
@Chris how to pass php varibble to js??!?!
 
@littlepootis that's going to require you some state of art technologies mate..
 
2:01 AM
like java??
 
Easy peasy, var whatever = <?=json_encode($whatever)?> next?
 
of course..
Java is mandatory
 
@Chris it's not webscale
 
@Chris you are joking right.. that's not even scalable
 
You didn't specify
 
2:02 AM
if I was you @littlepootis , I would first of all look into Flash player
 
Yeah, but don't bother with actionscript 3, use actionscript 1
 
well, unless you are dealing with legacy code written in Actionscript 1, I wouldn't bother with Actionsiprt 3 because it's not going to be web scale
@littlepootis Is it an urgent task? I think Actionscript 4 is coming out soon, you might have to wait for it to kick in..
 
@JasonMarsh That only works if you use it with angular 4 so you need to wait for that too
 
But angular 4 is already here
 
@littlepootis It's not here yet
 
2:06 AM
Angular 4.0.0 Now Available
Angular - blogger · 1 day ago
lol oops
Guess what I am doing monday.... angular 4
 
oh ok, I guess I wasn't top of angular news
web is always changing very rapidly, it takes some brain (iq > 120) to catch up with all the stuffs out there
 
I need some suggestions
For this crappy gallery i made
I need more features I can cram into it
But I have to warn you, it is pretty bad
Hold on while I paste it into a jsfiddle
 
btw, as a veteran website developer, @littlepootis my suggestion for your question is: go and write a function in Java that publishes to your RabbitMQ in an interval of 10 milliseconds. Make RabbitMQ record public via URL and write a simple Javascript web page crawler that continuesly crawls the page created by RabbitMQ. Save temp value into localstorage using Actionscript or Javascript then compare new values with old values
then print out your new PHP value using either actionscript or Javascript
in that way, it will be web scale
 
But what about security Jason, he has to encrypt it somehow, then need a python script to decrypt it
What can I add to this? jsfiddle.net/5e9L09Ly/7
Just click on browse and select a folder with images or videos in them
It only works in Chrome, so... use IE
I mean Chrome
Oh... if you were wondering, the little red circle means you can't sort by resolution yet, wait till it is green. Also... you might need to hide videos before you sort by resolution...
@JasonMarsh I need your wealth of knowledge
and years of experience creating web apps, to make it web scalable
 
2:27 AM
@Chris i use state of the art md5 encryptiom
 
@littlepootis Sounds good, can't get more secure than that
 
 
2 hours later…
4:27 AM
@BenjaminEngwall why are you inviting me to a private room?
why are you inviting tons of users....
 
@Loktar It appeared to be the most expedient and unobtrusive way to contact someone directly on this site.
 
The best way is to ask a question in a chat room
 
@Loktar That may be true, but so far has not been very fruitful in other areas of the site. I was hoping a more personal/direct approach would yield better results, while not bothering other members with a discussion unrelated to the main topic of the chat room.
 
5:14 AM
does the link element have onload and onerror events...?
 
is there a way to make my side navigation bar shrink with size
 
5:37 AM
percentage width
 
how's preparation going??
 
5:55 AM
shantellmartin.art wow what has he/she used to get background like that
 
6:46 AM
anyone here
@CapricaSix hi
 
 
3 hours later…
9:17 AM
Hola
 
9:51 AM
hello can anyone give answer for this one, stackoverflow.com/questions/43006815/…
 
@PinalKalal Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.
 
is there a reason to have an empty <IndexRoute /> in react-router?
 
10:07 AM
HELLO
 
10:33 AM
Can anyone help me with this stackoverflow.com/questions/43015020/…
 
 
2 hours later…
12:31 PM
I was reading this in a blog about implicit returns in ES6.
ids = ['5632953c4e345e145fdf2df8','563295464e345e145fdf2df9']
var messages = ids.map((value, index, list) => `ID of ${index} element is ${value} `) // implicit return
is it me the only one that thinks
is harder to understand at a first overview?
what it does, i mean
 
the old sintax is more clear to me
 
It's not just about the syntax, they offer different things such as lexical scoping
 
@BenFortune you like that glare?
laptop screen tilted forward so I can record myself on the phone
 
@rlemon You suck at making videos
 
12:34 PM
So, what is the difference ins cope between an implicit and explicit return?
 
don't care, bluetooth led
 
haha
What screen/driver is that in the background?
Looks just big enough for a project of mine
 
Eh, looks bigger than 5 inches
 
because it is 7
you know how many hdmi car displays there are
 
12:36 PM
oh lol
 
finding the exact one is impossible now
it's a cheap chinese one. doesn't even have a model number on it
but runs on 12v and takes hdmi in
soooo no complaints
 
lol well yea
 
12:55 PM
@Lorthas there is no difference in scope depending on how you return; he was just referring to lexical scope of an arrow function vs classic function
but to add on to the conversation, most of us think that implicit return is super easy to read and understand, so yes, you're in the minority
 
I want to reference a span in Angular2 and so I do :<span #selectElem>aaa</span> .This code is inside *ngFor. But when I access it via TS file - $(this.el.nativeElement).click(function (){$(this).hide();}) - it only works for the FIRST element. what is the right way of attaching the TS handler to all of spans ? (classes? seems unorgenized to me)
 
IDs are unique, you can only have one element with that ID; classes are exactly what you need
 
Does it mean that I won't be needing this ? @ViewChild('selectElem') el: ElementRef;?
 
I have no idea; angular makes me want to die, so I can't help you there
 
:-)
not to mention v4 with a lot of breaking changes
I'm sick of it to tell you the truth
 
1:01 PM
MV* frameworks in JS was the worst idea anyone has ever had
 
you're so right
but you know what's the problem ?
is that if you search for a question and you find a solution , a month later it stops working due to changes in the FW
and nobody changes the old irrelevant answers ( which got the highest ranking score both in GOOGLE and SO)
this is bad
I'm unfamilier with react , but I think I should be
BTW - if you think about it - no one will publish NG2 book ( hardcopy). it will be useless after a month
 
 
1 hour later…
2:10 PM
!!tell SomeGuy define anamnesis
 
@SomeGuy anamnesis The ability to recall past events; recollection.
 
2:24 PM
Hi beautiful coders i need help can someone please help me to answer this question i will appreciate thank you
Here is the Link http://stackoverflow.com/questions/43006815/how-do-i-remove-and-add-value-in-dynamic-created-dropdown-using-jquery
 
lmao I had a guy mention "ASC2" when I'm pretty sure he meant ASCII
 
assassin's creed 2?
 
definitely not
 
3:18 PM
is it possible to make a text shrink as the screen size decreases using bootstrap ?
 
Yes. This is called 'responsive'. It uses a CSS feature called "media query". Hopefully that helps your search.
Bootstrap uses media queries, you'll do the same.
 
yes it was comming out in less or sass that is why i was asking , yo thanks @Luggage
i dont have any idea how sass or less works
and its more complicated when trying to use it in ng2
 
it's all css and angular should have 0 effect on it being hard or easy.
 
I meant hard to setup
 
If you are using less or sass, then you can use bootstrap's variables for it's built in screen sizes, but you don't even need that. It can be another .css file, included after bootstrap, that changes the font-size based on @media () {}
 
3:28 PM
okay
wow my toggle broke :O when screen size is small
damn responsive ness is hard
 
3:54 PM
its not working moreover when i am toggling my side bar I would like the text to shrink according to the space left but instead the last two letters are invisible
 
1 message moved to Trash can
@AtharvaPandey Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
 
/* Extra small devices (phones, up to 480px) */
@media screen and (max-width: 767px) {
}
/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
}
/* tablets/desktops and up ----------- */
@media (min-width: 992px) and (max-width: 1199px) {
}
/* large desktops and up ----------- */
@media screen and (min-width: 1200px) {
}
 
4:20 PM
messenger is slowly turning into slack
 
whats a slack
 
about 5 lbs
 
you're a slack
 
thats true
what to do
 
4:42 PM
anyone used firebase cloud functions?
 
not me
 
being playing with AWS lamdba, seems so complex just to build an app
firebase seems to be made for web devleopers
 
I don't think lambda is for apps, but for random tasks
 
it can be used for it, but im pulling my hair out trying to follow it
arns and authorisers , api gate way etc etc
 
well not every shiny new stuff is for everything
 
4:51 PM
Can someone explain this eslint rule to me? eslint.org/docs/rules/no-div-regex
Like, how does \= equal as "escaping a division operator"?
 
I don't see how return /=foo/; is confusing but return /\=foo/; isn't
 
I agree
 
is it a default recommended rule?
 
@Luggage No idea, it just came up in conversation
You know how eslint rules often come up in casual conversation?
 
It's not. I just checked. You need to opt-in.
 
4:55 PM
Oh!
It's referring to /= as in += or -=
 
ahh.
 
That example code sucks :P
 
I have a react best practices question
 
s/best practice/unsubstantiated opinion/
 
If I have a feature component that is strictly concerned with rendering itself out, and another component that acts as a view, which is only concerned with rendering feature components... where do I do business logic that effects the props that I pass to the feature component?
so... visually, this looks like...
<MyView>
    <MyFeature/>
</MyView>

but I need to pass props into my feature, but I don't want to make the view care about business logic
and the feature doesn't care about the business logic either
 
4:59 PM
Business logic should be outside react altogether, so <View> import another file.
<View> would serve as the glue/translation* between the business logic and the <Feature>s
 
To be more clear, I'm trying to conditionally render a button depending on user authentication.
 
ohh, I think that's more app-state than business logic
 
I have all of the code working, just trying to think of the best way to put all the pieces together without making my views full of spaghetti
 
Your <View> is the main component for a page/route?
 
yeah
<View>
    <Feature something={ basedOnAuth }/>
</view>
 
5:07 PM
I think that's within the responsibility of a View...
 
@ndugger That's one of the major weaknesses of React, you've no DI.
 
Ohh, do you just want to make "authStatus" available to all children? You can do that with context..
 
So you either resort to global state, (either "connect" Feature or just import a module), or you wrap MyView with MyController and whore MyView out.
@Luggage a.k.a. option #1 ^
 
@Luggage nah, features don't care about app state
I have a mobx store I could pull in
Yeah, I'll just do it in the view for now
 
Dec 5 '16 at 18:40, by Luggage
so.. context is your react version of a 'global variable'. Treat it with similar caution.
 
5:11 PM
@ndugger Pull into where?
You'll connect your Feature to a mobx store?
 
No, I don't want to do that
I have a handful of utility functions that I'm using within the view component
to control the props I pass into the feature
the utilities access the mobx store
if (Util.user.isAuthenticated()) {
    something.foo = bar;
}
...
<Feature something={ something }/>
 
what is this initial [foo] ?
var [foo] = async foo()
 
it doesn't matter
 
@SuperUberDuper Invalid syntax.
 
I thought it was {foo}
 
5:14 PM
My <View>s are aware of my main mobx app store. The <Feature>s are not, though. One of the things I do in all my <Views> is to pass along or translate those values.
<Feature canEdit={appState.isLoggedIn} /> //contrived example
 
@Luggage Alright, basically what I'm doing. I just wanted to make sure that other people were doing it the same way.
 
I don't consider my last examle to be 'business logic', which I think belongs in another file
More 'view logic'
 
seems like firebase is the silver bullet for webapps
not much thinking required
 
There are no silver bullets.
You might as well have just claimed to have invented a perpetual motion machine.
Or and all-you-can-eat ice cream diet that improves your health.
 
5:23 PM
I crave pizza like every weekend; how can I stop killing myself with poor decisions?
 
If I knew I'd tell you.
that remind me. I forgot the eat the pile of unhealthy food I picked up since i'm so high
my quesadilla is cold :(
 
rip
 
1 message moved to Trash can
@Tantrik Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
thats what I was looking for
sorry / thanks
 
@CapricaSix Hey Smithy, can you do me a quick favor?
Check over my code
 
5:41 PM
CapricaSix is a bot...
 
that's racist
 
that's black
 
Oh crap
Sorry, wrong room, wrong person
 
lol
 

« first day (2352 days earlier)      last day (2596 days later) »