« first day (2760 days earlier)      last day (2410 days later) » 

13:01
It lets you switch between integrated and discrete graphics.
is that not a basic feature in all nvidia based laptops ?
first time I have heard of that name tho
Well, the drivers should actually take care of switching between the chips but the linux drivers suck at it
there's also something about either ATI or nvidia discrete cards that there should be a mux to make it work but there isn't?
Last time I had to deal with this, I just ended up disabling the discrete graphics.
user9674579
what is the best possible way to create objects in JavaScript ? :: var MyObj = { } :or: var MyObj = new Object ;
13:04
I read into this years ago and ended up accepting that I can't run some processes on the GPU
But now I need to run 2560x1080 at 75Hz and discrete graphics are necessary
@AndrasDeak That's weird. What do you mean you can't run something on the GPU.
I mean that I couldn't use the integrated card for generic display and send separate processes to the discrete GPU. Or something like that that Octopus/bumblebee/ironhide/whatever should allow you to do
user9674579
:42427902 What's the best solution for this ?
In my case, the integrated graphics can't handle the display.
I see
I think I could've made that work (i.e. let the discrete do everything) but I didn't need that and I was happier with the integrated one for my laptop
13:13
@MasterDarkNight both are different things
it depends of how you are passing the value to the object constructor
Hello everyone!
I only can refer you to the documentation
user9674579
@KarelG So, what are the different uses of both ?
user9674579
Anyone interested in HTML here ?
{} is an object initialiser, creating you a literal object
user9674579
13:15
@KarelG What about new Object ;
it returns either an empty object or objectified value
the mdn docs should explain it for ya
user9674579
@KarelG Thanks, I'll take a look at it
I've got an issue with an input where the placeholder text isn't working, I can't type in it, and the cursor doesn't show up. The input is not readonly nor disabled. I've tried removing all CSS on the object and going to the dev tools and removing all event listeners on the field and it still doesn't work. The HTML hasn't changed in nearly a year so I suspect it's javascript, but I'm not sure how to troubleshoot this issue, any tips/ideas?
user9674579
Master Dark Knight left the room
user9674579
@Shelby115 Share your code
user9674579
13:17
@Shelby115 are you using bootstrap ?
Yeah a little bit
Impressive, messages after you've left the room.
@MasterDarkNight it is not the first time you are doing it
This is the element: <input class="form-control" type="text" placeholder="Search by Product # or Name" value="">
user9674579
because I joined again
13:17
please stop with that.
and try to limit your pings
I suspect it's a javascript function I'm just not sure which one and I have thousands of lines of JS in my project.
If I have an observable object, and I use a property of that object in a react component
user9674579
@KarelG What ?
When I reassign that object, it should render that compoennt, should it not?
I've checked each Event Listener listed in the dev tools, but no dice.
user9674579
13:19
@Shelby115 What exactly do you want it to do ?
Be able to type in it.
It's acting like it is readonly but it is not readonly or disabled.
something something type safety
user9674579
hummm....
It just recently started happening
Cursor doesn't appear and placeholder text stopped showing up tooo
The blue border on focus still happens though
@Shelby115: Can you reproduce it on a site like jsbin / jsfiddle?
user9674579
13:20
@Shelby115 That's by default in chrome
That's my problem, I cannot and I'm out of ideas for troubleshooting this
Which is why I'm not making an SO question
Not sure what to ask
That sucks...
user9674579
Yes, reproducing it in jsbin or codepen will be more favourable
If I could reproduce it I could fix it myself :'(
Ehm, did you try disabling libraries you may have loaded?
And is the problem consistently happening on different browsers?
13:21
Kinda, I went through the "Event Listeners" tab in chrome dev tools and clicked remove on everything and it still does it.
Yeah, both IE and Chrome
user9674579
@Shelby115 If you don't provide whole code then how would be we able to fix it ?
was going to suggest you that event listener thing :P
Can you actually prevent libraries from loading? I mean, remove the script tags?
@MasterDarkNight I don't want you to fix it, I want to know ideas as to what could cause such a thing, because there's a ton of code that could be causing it and I'm not sure where to start troubleshooting
but in chrome dev tools -> sources, you can see "event listener breakpoints" at the right
13:23
Yeah, I'll try removing the libraries individually
That'd be my first guess
user9674579
@Shelby115 just send a screenshot of that DOM element
Something got updated, maybe?
tick the checkboxes for the focus, onkeyup / down ect
if a breakpoint happens then you can narrow down
13:25
how to resolve it
1 message moved to Trash can
@Mike 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
I straight up removed all event listeners on the object and it still does it. There's no CSS that implies it would do such a thing. I'm starting to question the Event Listeners tab in the dev tools
Going to remove individually see what that does
user9674579
@Shelby115 What's the css used in form-control ?
Standard Bootstrap
I have dozens of identical ones on the site without any issue
user9674579
13:27
can you share that css please ?
element.style {
}
.input-group-addon:not(:first-child):not(:last-child), .input-group-btn:not(:first-child):not(:last-child), .input-group .form-control:not(:first-child):not(:last-child) {
border-radius: 0;
}
.input-group .form-control {
width: 250px;
max-width: 250px;
}
.input-group .form-control {
width: 250px;
max-width: 250px;
height: 34px;
}
.input-group-addon, .input-group-btn, .input-group .form-control {
display: table-cell;
}
.input-group .form-control {
position: relative;
z-index: 2;
@Mike You are not making a new promise correctly. Bad syntax. You need one more set of ()'s. Also you are resolving with a reference the the function add() and never calling it.
@Luggage: I wrote that code in this chat box so you see a bad syntax, but I have this problem in jsconsole, Let me resend my code formatted
I am not talking about the formatting, but just the syntax.
a clean way is to use async function
13:41
@Luggage: this is what I have jsbin.com/yonukesofe/edit?js,output
user1596138
@BenjaminGruenbaum tbh I'd think I would have all the control I do in any other P2P scenario. I guess a modal would help but I'd for sure opt out.
@Mike What I said is still valid.
I did call it via this

addViaPromise().then(add(1,2));
console.log(addViaPromise().then(add(1,2)))
Or is that wrong way
also you broke it more since you no longer call resolve(). you listened to some random advice from someone in here that didn't know what they were talking about.
o.o
you need to understand promise first.
user1596138
13:50
Jan 15 '14 at 13:08, by Florian Margaine
> California Style Sheets are a standard, meaning there is a group of people at W3Schools who come up with new properties (like border-radius and box-shadow) every year.
@Mike Don't use promise. Its a dangerous thing.
I know I am using async await lol
Don't listen to hellzone
Just got curous to try how to add numbers via promises
Don't use border-radius. Its a dangerous thing.
13:53
@Wietlol Exactly. Don't use JS. Its a dangerous language.
@hellzone trolling trolls is fine, but when you troll people who are struggling with something you just make things worse
@hellzone border-radius isnt JS, its CSS dangerous.
@Jhawins why are you checking 2014 transcript ?
@hellzone That's why you shouldn't use mysql, mongodb or couch db. Access is the only safe database lol
@Wietlol how else can we avoid svg?
why avoid svg?
13:57
@KamilSolecki We are a dangerous community. Don't listen to us
I use svg for everything
even input boxes
@Neoares Yeah it's fun but challenging for sure
can we say that hellzone is not part of this community because he/she's making it dangerous?
@towc we could yes. I don't have time to answer Mike's woes but I don't like to see him trolled like this.

« first day (2760 days earlier)      last day (2410 days later) »