« first day (2113 days earlier)      last day (2835 days later) » 

4:03 PM
is this enough for input sanitization of a image url? Assuming I can't just do img.src, but have to build the html string manually

`url.replace( /[<>\/\\"]/g, '' )`
imagining the js to be something like:

`element.innerHTML = '<img src="' + url.replace(stuff) + '" />'`
 
I don't see how mobx does what it does without proxies
 
@Luggage decorators can do all kinds of magical shit.
That's why they still don't make sense to me
 
well, I do need to allow /
 
maybe don't use innerHTML like a pleb
 
innerHTML = $('div').text('helloworld').html();
 
4:07 PM
document.createElement('img', ...)
like a grown ass man
 
I always preferred new Image()
makes it feel less DOM-y
which is just an illusion
 
!!afk two weeks holidays so the boss let me hook off at noon and start em early.
 
React.createElement('img', { src: url.replace(stuff) });
 
h('img', { src: url.replace(stuff) });
 
I like how we all ignored the question about input sanitation and tore apart his use of innerHTML instead.
 
4:12 PM
Priorities
 
JS room at its best.
 
To be fair, I only did it because he should know better
 
@Luggage sometimes you have to ignore the nudity and focus on the fact they're on fire.
 
I only did it because you did.
 
Follow the leader
!!afk fat
 
@Luggage not even a little bit
 
well, read the first paragraph.
 
I did and now I have a sad.
 
4:29 PM
@BenjaminGruenbaum *sigh*
 
user1596138
@ssube want to see my new car heh
 
user1596138
 
@Abhishrek ping! check hangouts bro
 
user1596138
375hp and a 6 speed manual lol let's race
 
4:33 PM
Is there any reason to use Electron without native node modules, really?
 
@Jhawins you should get a new shifter. That one looks weird
 
user1596138
@SterlingArcher Needs a Hurst
 
user1596138
It feels nice it's ergonomic
 
so many people are using it with Meteor, but you can't use native modules or anything. So it's just... an... installable website?
 
user1596138
It's a bank race now... They don't want to hold it for me at my price and I am waiting on the bank's confirmation. Kind of shitty, but it is what it is.
 
4:35 PM
@SterlingArcher That's not a shifter. He got the model marketed to females.
 
user1596138
I'm going to be ridiculously pissed off if they sell it out from under me
 
@corvid You don't have to worry about about user's browser version. You can use all the latest clean css (flexbox), etc. There are still advantages if you need a 'local' app.
 
user1596138
It's nice asf and getting a good deal
 
:32014314 You have to grind gears. Like I said, marketed to females.
 
4:38 PM
omg
 
a 'ball' shifter is better than a 'pistol grip'. They always feel odd.
 
user1596138
@Luggage Almost always. This one actually feels great
 
A ball shifter sounds like a particularly energetic blowjob
!!urban ball shifter
 
@KendallFrey No definition found for ball shifter
 
user1596138
It has electro-hydraulic power steering that raises the steering ratio the faster you go
 
4:39 PM
@KendallFrey I can't wait for you to get a girlfriend
 
user1596138
And that stupid hill start assist so you don't roll back when you hit the clutch
 
or boyfriend(s). Either or, whatever floats your butt
 
@Jhawins nice
 
user1596138
Heated seats/mirrors, leather, sunroof, navigation lol factory 6.1 Boston Acoustics with a sub
 
@Jhawins That sounds like the devil
Unless you drive with a gamepad
 
user1596138
4:40 PM
@KendallFrey It felt really really good actually.
 
user1596138
Err maybe I said it backwards
 
Maybe it works in a road car, idk
 
user1596138
It makes the wheelsturn less for the same amount of steering wheel being turned if you are going at high speeds
 
electric assist can be good or bad. It can be used to over-assist and give you no feedback, or to have nice subtle variable assist
 
I've gotten that with misconfigured settings in racing games
just kill me first
 
user1596138
4:41 PM
Which is needed lol you ever had a car where if you are doing 70 and you just touch the wheel it like flies off in that direction lol
 
That doesn't happend since the wheels get harder to turn the faster you go
 
user1596138
Supposedly it gives better and more consistent road feel.
 
unless your assist is too much
 
user1596138
4:41 PM
It's not electric assist
 
user1596138
It's full electric powering the hydraulic steering, and it has a variable steering ratio basically
 
You probably could get used to it, but it's not intuitive to people who already know how to drive
 
gotcha
 
user1596138
No assist. Just the steeringWheel:wheels is changed at high speeds
 
user1596138
@KendallFrey No you do not understand.
 
4:42 PM
@KendallFrey if done right, you won't notice. It'll just feel good.
 
user1596138
Super tight steering when you're going fast is bad
 
user1596138
The car is jittery
 
user1596138
You want to have to turn the wheel farther for the same steering at high speeds so you have more precision
 
Only if your wheels aren't castering properly or w/e
 
user1596138
This is a thing, race cars don't have that tight steering like your road car because at high speeds you don't want to turn so hard.
 
user1596138
4:43 PM
@KendallFrey You just don't get it
 
user1596138
How do I explain...
 
I steer based on force, not angle
 
Try the reverse. It's so, at low speeds, you don't have the crank the wheel around as far
 
user1596138
You don't get it lol. It;s amazing, it's a wonderful thing to have. Trust me.
 
user1596138
@Luggage Yes it's like that. It changes it automatically
 
4:44 PM
I halfishly trust you
 
user1596138
So at low speeds you don't have to turn the wheel as far
 
I'm with kendall that it's 'not needed', but I see how, if done right, it's nothing but good.
 
user1596138
At high speeds you have to turn further so you have more precision. It's definitely not needed unless you're doing 140+
 
user1596138
Supposedly top speed is 170mph... I will NEVER do that. Promise.
 
And the fact that you turn "by force", kendall, means you shouldnt notice that the ratio changes. You just drive naturally.
 
user1596138
4:45 PM
^
 
That's true, I guess
 
user1596138
You can just drive like normal except it feels smoother
 
It feels spongy then at high speed though
 
user1596138
I only got it up to 70 on the interstate so Idk yet
 
Or, it did in the game
 
4:46 PM
You can't compare a game.
 
user1596138
Not spongy. The ratio is changed so it's not like it's dampened.. You just have to turn further
 
I imagine it's different than that though
 
user1596138
Trust me man, it's nice. But it's super expensive when it breaks lmao
 
Probably less of an effect than the game
 
user1596138
It's got the super track pack too so like upgraded brakes, steering, suspension etc lol this thing is fully loaded. I'm getting a deal
 
user1596138
4:47 PM
It's 100 miles out of warranty lol the guy traded it the week it ran out
 
I've probably driven cars with variable ratios and never noticed.
 
user1596138
Maybe. Tbh I didn't knowit was a thing till yesterday lol
 
@Jhawins does it have the super touchy brakes that a lot of modern cars have?
 
user1596138
@Luggage Yeah lol too touchy
 
the brake 'button'
 
user1596138
4:48 PM
haha
 
user1596138
It has a normal parking brake tho not a button
 
I wish I had a load cell brake for my PC
 
yea, that bothers me. my car takes a good amount of effort to brake and I think that makes it easier to brake hard without locking up
but you adapt, of course
 
i mean easier to really jam on the brakes, but still do it controlled.
There is still time to back out and get a Mustang.
 
4:51 PM
Pokemon nests changed today
Heads up
My onyx nest is still an onyx nest though
 
@Meredith what are Pokemon nests??
 
Places where pokemon spawn
 
oh i see
hmm, maybe i should use incense
 
user1596138
@Luggage You do know the power figures vs. a Mustang right? ;P
 
Use incense while walking
 
user1596138
4:53 PM
A 2010 Mustang GT is 292hp. this thing is a Hemi with 375 lol
 
Nope.
 
If you're standing still, it spawns a pokemon every 5 mins
 
yea
 
vs every 1 min and every 200 meters when you're walking
 
the latest mustangs look good.
 
4:54 PM
oh
 
user1596138
I went there and they had a Mustang and the Challenger for me to drive. I drove the Challenger and said fuck that Mustang let's talk price lol
 
i guess it depends on location too?
i tried that at home, like walking to a park
and it didn't help
 
No
 
and all I got was like stupid pidgey and rat
 
Some areas might have worse signal though
So 1 minute ends up being like 2 minutes with lag
 
4:54 PM
hmm
 
+ their distance calculations are pretty bad approximations
 
is that dependant on my gps signal in the area? or you're talking something to do with the app?
 
The app sends your location to the server every 60 seconds
And it draws a line between that point and the previous point
 
i see
 
If the distance is over 300m, it throws it out
Otherwise it adds it
 
4:56 PM
oh well
 
54 mins ago, by towc
is this enough for input sanitization of a image url? Assuming I can't just do img.src, but have to build the html string manually

`url.replace( /[<>\/\\"]/g, '' )`
that means assuming I do need to use innerHTML :P
 
So if you're in a car or going too fast on a bike, you might not get the distance pokemon spawns, I guess
I haven't tried
 
well, I was walking..but I don't live in downtown, so theres not much where I am.
 
I get a few . kms in the car, but 99% of my kms are walked
.7km left on my 10km egg
 
@towc the sanititzation of the url and the way your put it in the DOM are unrealted
 
4:59 PM
i had a 5k egg give me a raticate
of all things ><
 
5k eggs just aren't worth hatching
I can't wait until you can throw them out
 
shit, I accidentally added that to my dictionary instead of correcting the spelling
 
lol i don't have 10k eggs yet
 
I think they're the most common too
 
well right now I got lots of 2k eggs
2 5k eggs
thats it :(
 
4:59 PM
@Luggage img.src would proably not need any sanitization at all, since it can't go outside the img element or add js attributes and create panic
 
2k eggs are great
 
really?
 
Yeah
By far the best
 
then what are you sanitizing, exactly?
 
pidgey, weedle, caterpie, rat candy
Starter candy
Geodude candy
Magikarp candy
 
5:00 PM
@towc What if it's not really an image.
 
They're almost all good
 
I don't even have a magikarp :( want 1 tho
 
Except like zubat candy
 
lol
 
!!afk retrospective meeting
 
5:00 PM
And has a program that tricks the browser into executing some code.
 
@littlepootis user tracking can be done anyway, if that's what you mean
 
Damaging your reputation.
 
vs 5k eggs where pretty much everything is bad
 
@littlepootis how's that work?
 
and 10k eggs where everything except eevee/snorlax/lapras is bad
 
5:01 PM
i hear 10k eggs give the rare pokemon tho?
guess thats wrong then?
 
Depends on how you define rare
Like yeah you can get lapras and aerodactyl that way
And you probably won't see one spawn in
 
yea thats what I mean, like not the common spawns u see every day
 
...But I've also never seen a machamp & I don't expect to see one unless I move
 
yea i gotta get some time to do some walking else where in the city
 
Seel is also notoriously rare
 
5:03 PM
really?
i got one
even dewgong or w/e
 
Nice
 
not my fav tho :/
 
It's mostly regional though
I haven't met anyone irl with a drowzee
 
seriously??
 
Really?
 
5:04 PM
we have drowzee galore here
hahah
 
But people post pics online with like 6 drowzees on their screen
 
yea i got tons
 
Yeah they're super rare here
 
wow
well, can't wait for trading to open up :D
we can trade then?
 
they're like ratattas here
 
5:04 PM
I got three drowzees
 
so many drowzees
 
haha
 
Mostly ratattas and magnetons and voltorbs :(
 
i got so many that I can evolve, im just waiting for a high level one
 
I just got drowsy
 
5:05 PM
I've evolved two
 
I havent seen a magnet yet either
Got a voltorb from an egg
 
@towc magic
 
i got a magnet
 
So many voltorbs and magnemites - take 50 candy to evolve, absolute suckiness
 
I've caught a magnet and seen the evolved version around
 
5:05 PM
I did see an evolved magnet in a gym
 
I have like 50 of them lol
 
magikarp is hard to come by here
 
lol
 
Out of my top 6, 3 are magnetons
 
We have a ton of venonats
 
5:06 PM
my top is kingler :(
 
I stopped catching them a long time ago
 
im low level tho, so its like 400c
 
I've caught so many drowsees I have evolved two hypnos
 
982 cp magneton is my top pokemon
I haven't played much since last week though
 
nice
 
5:06 PM
Is it 50 candies for a hypno?
 
yea
 
my top is 738 Aerodactly
 
Yeah it's 50 candies for a venomoth
 
I got so drowsy, I ended up hypnotizing myself.
 
And I evolved 2, and my highest is like 700 something
 
5:07 PM
we have quite a few jinx as well
 
i got a venomoth as well, some venonats too
 
If that tells you anything about how long ago I stopped catching them
 
I've caught like 5 jinx, wife has like 4
 
yea jynx here too haha
 
Never seen a jynx
 
5:07 PM
@fayzaan Pokemon CA
 
Plenty of pinsirs and scythers
 
I'm still level 19, was 18 a week ago
 
all about dem jynx
 
i got some ghastly, and a haunter too
 
& the onyx spawn I mentioned earlier
 
5:07 PM
ghastly is quite common, koffing I've seen twice
caught him one of those
 
yea got koffing
 
never seen an onyx
 
I have a koffing, never seen a gastley
 
I've never seen one outside the spawn area
 
beat an onyx at a gym once
 
5:08 PM
How common are porygons?
 
best gastly I'vecaught is 228
 
Onyx is literally the worst pokemon in the game
 
@L3viathan not.
afaik
 
lol
its a rock :D
 
Holly (my SO) hatched one
but that is all ive seen of them
 
5:09 PM
how about bellsprout?
 
seen 3-4 of them
 
i got a weepinbell too
 
I have plenty of those
 
I don't have one, but she does
 
Electabuzz
 
5:09 PM
got him
 
Haven't seen one
 
he's OP imo
 
He's so bad
 
really?
 
Just caught one of those :)
 
5:10 PM
ack, chrome changed its appearance
 
Worse than venosaur
 
i dont like em
 
500cp he took down (on his own) 3 levels of a gym all 700+
 
i wanna evolve my charmander and squirtle
 
I have one of each
 
5:10 PM
I wanna evolve my starter charmander into a charizard
 
i hope they come out with trainer battles so i can evolve them that way instead of just candy
 
started with charmander, caught a squirtle
 
But I will die of old age before that happens
 
yea same
 
haven't seen either since
 
5:11 PM
that would make this game more fun, to have battles with other pokemon go players
 
ofc it would :D
 
I can't wait until trading
 
I hope the new release fixes the crashing bugs
 
yea trading will be good too, cuz of regional pokemons
 
People are already setting up trading networks that are eerily similar to the drug trade
It's great
 
5:12 PM
lol
 
Oh yeah another pokemon that's rare af
Shellder
 
Really? I got 5 or so
 
I got 2 from eggs but I can't even brag about that cuz shellder sucks
 
yea i got a shellder too
yea haha
 
There's one 20 meters away from me right now
 
5:14 PM
i got Grimer, not sure how rare that one is
 
I got one from an egg, haven't seen one other than that
 
oh and Jigglypuff haha
a buddy I know got a dratini
 
we should do a relocation program. I live in your house and you live in mine for a week
seems we have opposite pokemon
 
I had a venosaur spawn in my room
Highlight of my life
 
wow
lucky
 
5:17 PM
Right?
I'm so blessed
 
haha
 
#blessed
 
did chrome 52 in windows change appearance?
 
bbbblessed
 
5:22 PM
i noticed that on mac
 
@BenjaminGruenbaum do you know as3
 
@BoltClock I used to, haven't touched it in a couple of years - why?
 
@BenjaminGruenbaum It's that time of year again
 
5:36 PM
Kings of Donuts
 
If I have an application dragdrop like: https://jqueryui.com/droppable/#photo-manager
If I need to send an AJAX with the position of the items in "trash".
Should I use like an array and fill this array in the "drop" method with: $(event.target).index(); ? or it exist a better way?
 
I feel like this syntax should be valid: import { remote: { BrowserWindow } } from 'electron'
 
that's not valid destructuring anyways, so no
 
It's not? What's wrong with it?
 
it would be more like import { { BrowserWindow } = remote } from 'electron';, but that's also invalid
 
5:46 PM
if it was require, wouldn't const { remote: { BrowserWindow } } = require('electron')?
 
what exactly are you trying to do?
^
Amazing
 
const { BrowserWindow } = require('electron');
// or
import { BrowserWindow } from 'electron';
 
@BoltClock making stuff for newgrounds?
 
@TylerH yep
 
5:52 PM
teen titans rule34?
 
Their mature section is fairly buried these days
Sometimes when I'm really bored I go back to that site and play the xiao xiao shooter mini game
 
@TylerH Unfortunately I don't think my contribution will be much help there :P
 
Oh I was just responding to ndugger
 
I thought I typed that into google--my bad
 
@ndugger wow, that was really good
 

« first day (2113 days earlier)      last day (2835 days later) »