« first day (2474 days earlier)      last day (2699 days later) » 

15:00
Since we're showing cars, here's mine
parking under trees.. risky
bird shit shows up well on black cars.
lol
I park under a tree when it's sunny outside
I could see myself getting a Skoda in the future
Not as risky as parking in trees
15:01
Dis is mine, hyundainews.com/modelbanner/2017/2345 except mine has a roofrack
@rlemon lol
OMG I LOVE YOUR PHONE!
@KamilSolecki dat phone
jesus man, throwback or what
Isnt it awesome
15:01
Why's the steering wheel turned sideways?
@littlepootis That's how you turn a car
Why would you leave it like that?
everytime Im driving with my friends, they keep talking through that phone
every single time
so it works?
15:02
@littlepootis so you don't roll down the hill
even better.
user6820627
@littlepootis if you leave it like that, you'll be rich
if you leave the wheel turned, you'll roll into the curb
@littlepootis if you are a parked on a hill you should turn the wheels
@littlepootis Car photos look more awesome if the wheels are turned in a bit
15:02
if you're in a mustang, you'll roll into some pedestrians
it does, yeah. But only with one phone that is connected to it directly
bt?
@OliverSalzburg perhaps a tip: check for octavia (Combi if you like having a "break")
is it like a retro looking new phone?
There actually is a super old nokia plugged into this phone @rlemon
15:02
TIL
ahh,
its not retro, its just a custom addition by my father 8yrs ago
I know you can buy new retro looking phones that bt to your celly
also there is an xbox connected to the car
you can play games on the middle screen
@ssube I put mine in gear ...
15:03
the old xbox, the first one
but it works.
works better if handbrake fails
@KarelG I always learned to do both
can you do that with automatic cars ?
just wondering
@KarelG sounds like a good way to ruin your gears
I pull the ebrake and turn the wheel even in my auto
15:04
@rlemon now as I think of it, I should probably just build a BT adapter for that
how does it ruin my gears ?
I'm assuming by 'putting it in gear' you mean like 1st or 2nd?
@TylerH it doesn't. It's essentially what Park does in many automatics.
6
Q: How to create site search feature in address bar of Chrome?

Damith RuwanWhen you go to stackoverflow.com in Google Chrome and if you put a space infront of last character, the address bar changes to that in my screen shot below. Then you can press Tab and you can type anything, and pressing enter will take you to the search page with your search term: https://stack...

Neat
> @Alex: ReferenceError: invalid assignment left-hand side. Seriously though, it's not accurate to say that - jQuery is a JavaScript library; the two are thus quite different. – Chris Morgan Dec 7 '10 at 6:11
15:06
If the car is trying to go in reverse due to gravity but you have it in a forward gear it will wear the gear mechanism. I don't really know how car gears are designed but I assume it's using the general principles of normal gears
@OliverSalzburg wow, that is neat
I know what I'm doing tomorrow :D
@ssube 😬 I miss 'pulling' my ebrake
fucking electric push button ebrake
Yeah, I think I'll need to open a ticket for this
@TylerH There is some wear, theoretically, but the weight it's holding is nothing compared to the weight pushing against it when driving.
RIP doughnuts in the winter
this is why you also should put your foot on the brake when idling on a hill instead of staying in drive/gear; otherwise you can ruin your clutch
15:07
@rlemon @ssube @KendallFrey btw if you are wondering im not handicapped - the blue sticker on the front is for mobile parking :D
@TylerH That's what I was taught to do.
well, the problem with doing that kind of search is that you end up not using google to do the searching... and google's usually better at it than the site anyway.
I just thought it was some weird polack thing
don't worry
I wasn't wondering but ok
yeah me neither
15:07
ok its good now
@KevinB but it makes your little small company website look so much more professional.
anyone know how to change the default behavior of what is shown when dragging? That semi-transparent display of the draggable div. I want to, instead, make it a specific element
@KamilSolecki cares
@OliverSalzburg I wonder if that guy's parents just had a lisp and meant to name him 'dammit'
I sure do.
15:08
@TylerH how can you idling (if that means that the engine is on) while being in gear
@KendallFrey btw, I forgot to get a burger yesterday, so don't think that game is over
imma starve you fam
@KarelG Sorry, I don't mean idling as in neutral gear
I mean 'not moving'
y so crul
e.g. at a stoplight
!afk 5min need to buy cigs
15:10
@KevinB sometimes I google something, but wants to search specific by using the tags. Now i can do taht from the address bar instead of going to SO site first o.O
@corvid in css you can disable the drag and then you'll have to use JS to pin your new element (-webkit-user-drag:none;)
any ideas why npm i would echo this:

npm WARN enoent ENOENT: no such file or directory, open ‘/Users/site/.Trash/site/src/ember/package.json’
whats with .Trash?
that file doesn't exist
What do you mean by "pin your new element"?
looks like you're running a script that's been deleted
15:11
its certainly there
you only get two options for drag styles. show them or not
so you'll wanna hide them, then add your own with js
for the 'specific element' you spoke of
keeping in mind user-drag is chrome/safari only afaik
can't find it on mdn, so I assume it's -webkit- only
That's fine, I actually only need to support Chromium (electron)
I have a react state variable that holds an array of data objects. On render I map these data objects to components. I think this is probably not the best way (efficiency-wise) to go about this. My other idea is to run the object->component mapping in componentWillUpdate or componentDidUpdate. I just don't know where to store this array of components. I think it would be bad to throw it into state, would assigning it to a class-level variable be fine?
I'm always wondering, how bored does 007 have to be to keep his troll up for that long
user1596138
@HatterisMad How would anything like that work? Firstly there's no engine compartment in any sense at all...
15:18
you assume he's trolling
user1596138
And then there's weight distribution. If anything you could take the HUGE platform of batteries and do a hydrogen car
user7480455
why do you think that kamil??
user1596138
@HatterisMad did you see the fuel cell Colorado's putting out enough power to run like 3 houses
user1596138
$2M prototype
TLDR; data array maps to components in render, want to move it outside of render but am afraid of throwing component array into state.
user7480455
15:19
I have never said a negative thing about any one in these rooms
subjective
that has nothing to do with trolling
@007 inconsistency.
user7480455
maybe I just dont understand what you mean about trolls and vampires but I have not been negative to you all
user7480455
15:20
in what way friend?
subjective
lol.
user1596138
@HatterisMad Aww unfortunately I saw the joke explanation frist, so no excitement
calling a Canadian mean is negative.
user7480455
what is consistency?? I don;t know how to program well that is just fact
15:20
it's like the worst insult we have
user2620028
@Jhoverit it was a joke, but then i googled and saw that lol
Your backstory is incredibly improbable/inconsistent @007
user1596138
I just saw on that page where they said the pic is fake
user7480455
how do you know this?
@Jhoverit you can tell by the pixels.
user7480455
15:21
and why does it matter?
@KamilSolecki it really doesn't matter, tbh. He breaks enough rules to be kicked regardless.
@SterlingArcher Breaking: we have a new employee named Sterling.
user7480455
you guys talk about people mothers... and dont get mad
I have a JavaScript question. Who is to blame that we have Array.prototype.slice and Array.prototype.splice?
15:22
@007 it matters because every time you come in here you ask questions that are easily googleable
user7480455
that is troll like I feel but I am old so what do I know
every, time.
@OliverSalzburg just don't use splice ever?
problem solved.
@ssube regardless, I still wonder why would one want to pretend to be someone else for that long.
@rlemon I want to remove the first up to 20 elements from an array and return them. How would I do it better than splice?
user7480455
15:22
some times kevin it is hard to translate the technical answer
and you've been doing it for a looong time
user1596138
@OliverSalzburg Valid uses for both.
kick
@Jhoverit I know. And I always pick the wrong one
user7480455
if this place was not a questions place I dont think it would exist
15:23
@OliverSalzburg filter, reduce, etc.
:D
user7480455
no no kick
123 for 007 kick
there are alternatives.
user7480455
I will stop
HAMMERTIME!
15:23
123
user1596138
Splice mutates, Slice doesn't
user7480455
kamil made a statement
This Vap0r guy is easily triggered. He shouldn't be RO.
5
user7480455
I asked why
@Vap0r you're pretty close to one
user7480455
15:23
no need to kkick
@Luggage 123
lol
I would agree with littlepootis
/r/FloridaMan
@Vap0r Let's not do that stupid Twitch crap.
kappa
15:24
@Trasiva is that twitch? I thought I was copying off nudgz
Guess he got it from there
Pogchamp
What happened to ndugger?
@Vap0r he left
omg @Luggage .bound is fantastic.
it's up on the github
user1596138
15:26
He was dethroned
@Loktar 'took a break'
we hope
indeed
.bound?
user1596138
@rlemon One of those loud breaks where you make sure everyone knows?
@action.bound (mobx-react)
15:26
@action.bound fn() {}
user1596138
Or did he ghost
github
not ghost, made a comment about not coming back on github
Have never used it @Luggage
no more binding in the constructor or wrapping in a closure
just also .bind()s
15:27
sexy
// also works, i think?
@action
foo = bar => {
}
that might not..
user1596138
He's prob jus chillin at the bicycles and coffee shop
weird, yeah I never use actions inside of a component
always in stores
I guess this would make sense in a component though for sure
lemon is mixing.
I'm trying to use @action for any place I'm mutating state
15:28
in a component it seems proper to use state personally
the docs do recommend that
but I look at mobx as a flux/store solution
user1596138
@rlemon Turn on the thingy and you'll know if you forget lol
user1596138
Strict mode or wever
strict
15:29
damnit.. trying to get openssl to d/l all the certs in this chain for me..
user1596138
It literally does not function in strict if you forget an action haha
yeah if you don't use strict holy shit it can be a mess
user1596138
Even on a lambda
noted
I'll enable it now
I started learning mobx then went on two weeks holidays and forget everything
so now I'm back from step one :D
the nice thing is there isn't much to learn at least
observable thing, make changes to thing with actions, all the thing(s) update!
15:31
computed properties are freaking neat
yea
esp for my product where almost everything is derived from something else.
statement: A Javascript deep clone has to be a frozen object by definition.
true?
user1596138
They "fixed" the floodlight next to my bedroom window by replacing it....
user1596138
Imma have to fix that bitch with a rock
user7480455
15:36
guys I hate to ask this again but I am seriously not understand all of the work arounds for this... maybe some one can advise... As a boolean (bool), the values will always be "True" or "False". If you want to represent these differently when converted to a string, you can do the following in your view:

@Model.IsAdded.ToString().ToLower()
user7480455
user7480455
I am trying to understand why this is issue for something so simple
now that mobx is working, man am I enjoying it
Why do you consistantly ask C# questions in here @007
thanks @Luggage and @ssube for putting up with my pings :D
15:37
very good question sterling archer
user7480455
should I change my function to not return Boolean and just return as I typed before a message so I don;t have to deal with the true false issue.
user7480455
I could just do int right and return 1 or 0 that way there is no need for conversion correct?
It's funny because I can warn him, and since he has me on ignore, I can kick him whenever I feel he's overstayed his welcome.
#PerksOfIgnoringARO
I don't even need to kick him anymore. he pisses off others quickly enough for the problem to take care of itself.
He seems to not realize that he can can just pass the value from C# to JS, and then ToLower()
user7480455
15:39
this is not a C# excatly
@Trasiva no he knows.
he was in like an hour ago
user7480455
it is returning from C to script
there are very clear answers on the Q
both questions he's linked explain
Then he's just a moron.
15:39
he just won't read them
choosing to vamp instead
@Trasiva easy
user7480455
no trasiva
user7480455
that is what I am asking
user7480455
if I change it to string is it still a bool?
user1596138
@007 open your console and type what you want
user1596138
15:40
See what it does
user7480455
there is no clear statement on that in any of the reading
if you make it a string, by definition, it's a string
not a bool
is there a problem with trying it and seeing for yourself?
@KevinB he's printing from c#, so he wants True to be true.
if you missed the earlier convo
user7480455
guys I am doing that, I have it it my program
user7480455
it is not working
15:41
then debug it
what errors are you getting?
user1596138
@007 just use your string value in Boolean
right, but if you're returning it from the server, unless it's parsed json, it's gonna be a string anyway
explain the problem with a minimal, reproducible example
user1596138
`Boolean('True') or Boolean('False') whatever it all works :)
user1596138
True all teh things
15:41
!!> !"false" ? console.log("true")
user7480455
for some reason mine is not
@Trasiva "SyntaxError: missing : in conditional expression"
user7480455
it is skiping the logic
!!> Boolean('false')
@MadaraUchiha true
user1596138
15:42
@MadaraUchiha Stahp helping him
user7480455
when I watch the var it returns True
@007 post a minimal, complete, reproducible example, now.
uhhhh
That's because C# returns booleans as True and False. Not JS.
> Boolean('false') === true
lol
user1596138
15:42
Try Boolean(Boolean)
user7480455
ahhhh
@Vap0r Only empty strings are falsey in JS
user7480455
ok
@Vap0r the boolean ctor is a bad place
Which is why you have to run ToLower() on them.
15:43
@Jhoverit Boolean(Boolean(Boolean(Boolean(Boolean(Boolean(Boolean(Boolean(Boolean(Boolean‌​)))))))))
user7480455
that makes sense
Which you'd know if you'd bother to just run the log statements on your values being passed from C# to JS.
even if you to lower, it'l still be true regardless unless you eval
@MadaraUchiha @ssube yeah but I would have figured Boolean would have some Parsing abilities
@Vap0r No. Boolean takes the value and coerces to boolean.
15:43
@Vap0r lol nope. Ever met Number?
user1596138
@MadaraUchiha True all teh things baha
It's exactly the same as !!value
Even when JS does try to parse, it does a really bad job.
@MadaraUchiha oh well then.
user1596138
Want to check a string against a bool in JS?
user7480455
15:44
I don;t know what a log statement is sorrry but in the debugger you can see that it was True
@ssube haven't had the pleasure, unfortunately :P
At least, it's consistently bad.
user7480455
I guess when the view bag pushed it into the var it changes some how
@littlepootis it's not consistent
user1596138
("True" || "False" || "true" || "false").toLowerCase() === 'true'
user1596138
15:44
How is that so hard
@Jhoverit wat
Log statements ^
What is that supposed to accomplish?
@Vap0r enjoy the following piece of wat:
user1596138
You read it as code instead of psuedo code
15:45
!!> [10, 10, 10, 10, 10, 10].map(parseInt)
@Jhoverit that's fair
@MadaraUchiha [10,"NaN",2,3,4,5]
!!afk just show him jswtf.com
...
user1596138
Yes I meant any string in any casing of "true" or "false" you can just toLower and check against string true
15:45
@MadaraUchiha Why does this happen?
user7480455
so I have this var JSV_SOMVAR = '@ViewBag.SOMECVAR'
@littlepootis map passes multiple args
think about what .map does
and the arguments accepted by parseInt
@littlepootis something to do with the radix, second arg of parseint
jswtf.com is down
15:46
@Vap0r I was talking about seeing them in the js console.log, not the C# Debug.Write.
@littlepootis What parameters does the .map() callback accept? And what parameters does parseInt() accept?
^ just a guess though
@007 don't post partial code, post a complete, reproducible example. I've been telling you this.
@Trasiva oh my bad I need to pay more attention
@Vap0r You should get that tattooed on your forehead.
15:47
@MadaraUchiha I don't get it why does it do that
@William What are parseInt()'s arguments?
aaah
@MadaraUchiha index, radix. Makes sense.
I'm setting an img's src to a canvas' .toDataURL. I hope to then use that image as the background-image for a set of other classes ( .bubble { background-image: url('#bubble-image') }). Is this a thing?
@Trasiva I'll do it if you get "intolerable" on yours :)
15:47
I know you can set the background directly to a canvas, but it's not very supported :/
@towc Good question
I think testing it out is your best shot.
Don't think anyone here has a clear answer for that
I tried that, but didn't seem to work
@towc I did this before, but never using a class to set the image
Except for @BoltClock maybe
@Vap0r Pfffht, everyone knows I'm a walking talking asshole. I don't need additional advertisement.
user1596138
15:49
@littlepootis [10, 10, 10, 10, 10, 10].map((value, index, array) => parseInt(value, index, array));
user1596138
Same thing
I mean, I'm using javascript, so at the end of the day I can just mock-up a stylesheet and set the data url there
@towc You'll have to do that yeah
oh well, thanks :/
@towc that should work. I was using JavaScript's Image class. You probably know this but in case it comes up data-uri's trigger onload instantly
@towc is the canvas an intermediary so you have access to .toDataURL? Or do the user's perform actions on this canvas?
15:53
an intermediary
user7480455
Thanks jhoverit I missed your reply I will give that a try
@towc If browser support permits, set a custom property. No need to insertRule()
user1596138
@towc Come back inna year and use attr
!!caniuse insertRule
user1596138
15:54
But still you couldn't hit an unrelated section of the DOM tree like that
13
Q: Accessing a CSS custom property (aka CSS variable) through JavaScript

MarcZHow do you get and set CSS custom properties (those accessed with var(…) in the stylesheet) using JavaScript (plain or jQuery)? Here is my unsuccessful try: clicking on the buttons changes the usual font-weight property, but not the custom --mycolor property: <html> <head> <script src="https:...

Mmmk that's what I did too. You can also use file-reader, so see which is better for your purposes. Canvas has some quirks that had to be worked around.
@BoltClock oh my. I need to support IE8, that's not going to cut it :P
@towc how do you support canvas with IE8?
@towc Bad news, jquery might be your best answer.
15:56
wait does it not work?
user1596138
@towc Are you being for real
user1596138
@towc you should know you can't even use Array.map in IE8 lmfao
user1596138
Hope everything is jQuery..
@towc no, you can use 3rd party libraries (polyfills), but if you are doing that, and using canvas as an intermediary, I would just use a non-canvas non-file-reader data URI script
I'll work my way out. I'll use babel anyway
15:58
Yea, if you need IE8, you'll probably need jQuery to make life easier if you don't want to deal with polyfill all day.
user1596138
@towc Have you researched that
user1596138
Because that's going to be real fun too.
@towc you might not be able to do what you want
data-uri's are only supported in IE8 up to 32k, which I think is like 0.03 mb
damnit people, this is not an XY situation

« first day (2474 days earlier)      last day (2699 days later) »