« first day (2144 days earlier)      last day (3031 days later) » 

13:00
too bad tree | grep only shows the depth, not the path itself
user@debian:/$ sudo locate devices/virtual
user@debian:/$ tree | grep devices/virtual/input
│   │   │   ├── event15 -> ../../devices/virtual/input/input25/event15
│   │   │   ├── event9 -> ../../devices/virtual/input/input16/event9
│   │   │   ├── input16 -> ../../devices/virtual/input/input16
│   │   │   ├── input25 -> ../../devices/virtual/input/input25
│   │   │   ├── mice -> ../../devices/virtual/input/mice
│   │       ├── 13:63 -> ../../devices/virtual/input/mice
│   │       ├── 13:73 -> ../../devices/virtual/input/input16/event9
so they're linked to by some stuff and are on a second level directory
great...
(input25)
and yeah, I tried locate input25 or locate mice to see at least where those are. Nope
locate mice returns some package configuration python scripts
is it possible in JSX within .map() to define a momentjs object. Or in general just a normal variable? or isn´t that possible? Couldn´t find a way to do so..
Can someone help me with my question...?
0
Q: Using callbacks JS / JQuery

Sam Swift 웃I am trying to use callbacks in order to effectively "overwrite" the standard alert and confirm actions in JavaScript. The code I am using is a bit long winded so I jotted it into a working jsfiddle I am trying to get it so that a callback is used to determine true or false, but it is coming ba...

{requestData != null ? requestData.map((row, index) => (

	var x = "test";	//error
)}
user3119231
)} *
yep! :)
copy mistake ;)
user3119231
13:07
ternary + es6 = fine
@elsololobo where's the 3rd part of the ternary?
ternary = 3 parts
part1 ? part2 : part3
user3119231
^
I only see part1 and part2 in your code
user3119231
nevermind
@Gouverneur if you do that, I'm going to ridicule you.
everything is there, and the map does work. Only If i try to format the dates with momentjs which requires to make a var it doesn´t work
argh, rebooting again and seeing where problem lies
the Ternary operator is correct used here
any ideas how to define a var in .map()?
i could do it in the render(), but then I would have to run twice over the data
Hi guys
13:12
that doesn´t make any sense
I need some one help regarding Google Map?
user3119231
!!welcome @Mediasoft
@@Mediasoft 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.
this is my question
if anyone can guide something or give some hint will be appreciated
user3119231
totally downvoted to hell
13:15
Arg. How do I login to stack on a different gmail account without having to change the user?
read about "How to ask Questions" !!!
@SterlingArcher associate a new login
@Gouverneur what is Down Voted ?
@SterlingArcher network profile -> my logins -> add new
13:17
so, just rebooted and connected successfully with sound
as expected
user3119231
@Mediasoft why do you have multiple accounts?
/var/log/Xorg.0.log is still saying it's a keyboard
you people want to answer or not ?
this that
user3119231
no, thanks.
13:18
so many questions
well, you want to answer or not?
dmesg output regarding bluetooth:
[   99.827592] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   99.827596] Bluetooth: BNEP filters: protocol multicast
[   99.827601] Bluetooth: BNEP socket layer initialized
[  185.873973] usb 2-6: new full-speed USB device number 4 using xhci_hcd
[  186.003170] usb 2-6: New USB device found, idVendor=8087, idProduct=07dc
[  186.003175] usb 2-6: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[  186.017666] Bluetooth: hci0: read Intel version: 3707100100012d0d00
[  186.028147] bluetooth hci0: firmware: direct-loading firmware intel/ibt-hw-37.7.10-fw-1.0.1.2d.d.bseq
@rlemon damn, the page isn't working. I'll try again later. Thanks!
@Mediasoft bye
still marked as /virtual/input
user3119231
13:19
Robert Lemon, do your job as hell keeper
hey flags here
@littlepootis do the one thing you're good at. You useless fuck :D
@Gouverneur I did
lol
@JaromandaX 30min — SAQLAIN RAZA 8 hours ago
@rlemon the shed looks good man. Do you have to wire it underground?
13:22
well right now I'm wiring up a home made led bulb
if I can drive it from a solar cell and a psu battery, no need
What if you need more power than solar can provide?
I can't see a band saw running off a cell
extension cords
nahh garden shed is for garden tools
garage is for power tools
Ohhhhh gotcha
So that's where you keep all your hoes ;)
ewwww imgur's latest redesigns really suck
it's slowly becoming a just slightly better version of facebook
instead of the platform to rull them all
@towc You mean popular and lucrative?
13:29
it already was
On the mobile app, every post now has an ad under the post and I don't like it :(
I get it, and it's good placement, but it confuses me sometimes
the comment layout (on pc) is just bad and intrusive
I mean, sure, cleaner in a certain sense, but no... just no
I bought so many useless things this weekend
I'm kind of ashamed
are you talking about condoms?
13:37
Not quite, but zing :P
quality construction
@towc got a test tomorrow
@littlepootis ouch, gl
@rlemon sadly true
13:38
I've done the math, but I'm still afraid to connect it to 12v
I was always terrified to turn on my breadboard circuit
I couldn't find my breadboards
so that is fungeneered
but if it works it will be my new shed light.
lol look at that wedding ring you nerd
Should be safe to wire up
You luurrrve her
The key is to not wear any gloves when you wire it up, so your body takes most of the current and you don't ruin your LEDs if something goes wrong
13:42
Appropriate lighting for a shed, no offense
@SterlingArcher sounds legit
well it worked
but I think the resistors are too high
well, I know they are
I was electrocuted once by a portable pump for a pool system. The hose clamp snapped and water sprayed all over a frayed extension cord. Boss says "yank it yank it yank it!" so I yanked it and the exposed wires + water shocked me to shit
@rlemon resistance is futile
@Neil then I have to run cables. it is a garden shed, I don't need lights to pull out the lawn mower
this is for the rare instance where I need to go into it at night
> Boss says "yank it yank it yank it!" so I yanked it
suddenly, promotion
13:45
@KendallFrey guided by a true genius of a manager
My father-in-law needed my help rewiring an outlet once. He insisted that we did everything with the power on because "you can't get shocked if you know what you're doing". He was holding the ends of live wires like it wasn't a big deal
Meanwhile I was imagining what I would do if he started getting electrocuted sweating bullets the entire time
I was sure something would have happened, but nothing did
Apparently, you can't get shocked dealing with one wire at a time, though shit I didn't know that
Pretty sure my father-in-law was testing my metal
@Neil I'd still be careful though, because my friends tell me I'm always negative.
13:56
okay
my light bulb works
@littlepootis you don't have an electrical personality, eh?
@Neil you sure can, if you're on the ground
@KendallFrey well we certainly were
That's what I always assumed
who needs wire, or breadboards
He was probably wearing insulating shoes or standing on something insulating
14:00
@KendallFrey he was wearing gloves, so there's that
so he wasn't touching the wires
@rlemon is that running on mains or DC?
14:01
Not with his bare hands, no
@rlemon the nail
wtf?
@Neil well duh, of course he wasn't electrocuted then
it isn't a nail
just some 6ga wire
maybe 8
random copper I had kicking around
I'm talking about your fingernail.
@KendallFrey well, I didn't realize that then
14:02
@littlepootis ohh, yea well.
@BenjaminGruenbaum How would you combine .spread() and .map() in bluebird?
not the same name, but the same output.
and I've got a couple solar cells to charge it
free energy bitches woop woop!
@MadaraUchiha combine? what is your intent?
14:05
A plastic bottle full of water in a hole in the shed provides a surprising amount of light in
at night?
the shed has a window for the daytime
@rlemon no, clearly not
for night I can either do a battery powered light, or run a cable.
You're accessing a garden shed at night?
not often, but if I ever need too I don't want to have to go looking for a flashlight.
14:06
Fair enough
Of course, an engineer would tell you to just put everything you might possibly need at night in the house and not in the shed
everything I could ever possibly need? that cannot be defined
so a better engineer would tell you to prepare to get things from any of your current storage mediums
You're not going to need a lawnmower at 3 o'clock at night
Then just tie a flashlight to a rope in the shed. Problem solved.
@Neil might need a shovel
You might need shovels if things go wrong with the GF.
14:10
@rlemon doing some late night activities that require a shovel, are we? Remind me to never meet you personally
casa de lemon. come for the food, stay because IT PUTS THE LOTION ON ITS SKIN OR ELSE IT GETS THE HOSE AGAIN!
Shed some light on the situation
@MadaraUchiha use destructuring over spread
How about a light at your house, with a lense to focus it on a small patch of the shed, that has a lense to spread it out again.
Get the LED out
14:13
@rlemon dude that thing is briiiiight
Lighten up? OK, that's a stretch
Good morning all!
@Neal why hello my doppelganger
@BenjaminGruenbaum since you are here.. do you know if await* [promise, promise]; is part of the spec? I see conflicting info about it being dropped / not.
@Luggage yielding an iterable has nothing to do with promises - or do you mean await*?
await* was part of the spec at one point but it was dropped in favor of Promise.all, it might be reintroduced for async iterators.
14:17
I've just ordered the nerf elite
anyone fired this thing?
yea, i meant await.
await* being equivelent to Promise.all()
sorry the nerf RIVAL
I think await* for Promise.all is a dumb idea :P
70 mph balls
Well.. like the spread vs destructuring thing, it's completely redundant, i agree, but meh..
I kinda liked it
14:18
@SuperUberDuper is that a medical condition?
@SuperUberDuper When you start taking "Fun" too seriously.
@SterlingArcher on that battery, without the solar cells, it will run for 80 hours
aprox.
So the battery is charged by the cells even when the light is off?
Clever girl
It's charged by the light, so it'll run forever. :)
14:20
lol
100 frames per second? Wtf?
perpetual photon machine
photon fountain
I think, again if my math was correct, that this draws ~90 milliamps. that battery is 8 amp hours
is there circuitry to charge it and keep it charged properly for that battery type?
as in, not overcharge, or destroy the battery life with abuse?
lead acid battery with a very very low charge rate
14:22
That sounds dangerous
nahh
I have no idea what those requirements are, if any, jsut raising the concern.
> lead acid
these solar cells are made to keep car/boat batteries charged
you put them on and leave them
14:23
How do you check for overcharging?
user3119231
@rlemon solar cell ~3volt, or?
see if the shed is burned down or not
@SterlingArcher you take the credit card away from the wife
@SterlingArcher the point is that these are like 30 milliamps, they will not overcharge the batteries.
@Neil Shalom. How is it going mini me?
14:24
Oh so the rate of charge literally isn't powerful enough to splode the battery
@Neal working hard and hardly working, man
in a car a lead acid battery would be subject to constant charge. it's normal.
@Luggage at much higher draw
14amps idle? or something like that
@Neil ha yep yep
is it a deep cycle battery or a starting battery?
14:26
I thought most batteries came with a basic resistor to prevent overcharging
Dont cars use tire rotation to charge the battery?
Or is that only in electric cars?
Was that serious?
Do I look like an engineer?!
Wait fuck
24 mins ago, by rlemon
SigmasTek

This is a replacement SLA battery for UB1280 (D5743), UB1270 (40800), PS-1270-F1, SLA1075, CA1270 and UT-1270. We guarantee the best price and 100% compatibility with your Power Patrol SLA1075 model. The replacement sla batteries also include a minimum of one year warranty. Popular applications for our sla batteries are UPS, emergency lighting, security, fire and burglar alarms, scooters, wheelchairs, medical, and other.
Cars use an alternator (a generator) to charge the battery.
14:27
@Neil surprisingly not the common 18650 lipos you get for ecigs
And what's the alternator powered by?
@SterlingArcher +1
It'll be on the front of your engine and look like coiled up wires in a cage, on the belt.
I don't know much about cars, except how to drive
And dammit do I drive
14:28
@rlemon I know there is a resistor to limit max current as a safety feature
^ Alternator
and I could out-drive you any day of the week. I was scaring passengers when you were till pooping yourself.
Otherwise I think you could get shocked by touching both ends of a 12v battery
@Loktar @GNi33 @BenFortune
Good song, like a reggae metal feel
You are the resistor in that case. The battery needs to be able to put out 100's of amps to start a car. The reason you don't get shocked is that 12v is low voltage, so unless your hands are wet you are high resistance
@Neil unprotected lipos might have some shit but they are "unprotected". You can overcharge them to explosion
14:31
@rlemon sounds like a great thing to put close to your face
Only if you are using them wrong
yea, lipos need circuitry. either in the battery or the charger (usually both)
or boom.
A fork sounds dangerous when you describe it.
@Luggage with the ecig (and Tesla's) it is the charger.
Shitty chargers have caused many fires.
safeish LIPOs have a circuit that will permanently disconnect the battery if the charge goes too LOW, otherwise, when you charge it again Boom.
Metallic triad meant to spear food for the purpose of putting it in your mouth
14:33
One thing I never skimp on is chargers
I don't trust any of those cheap shitty ones to not destroy me
@SterlingArcher also don't put 100% faith into them. I don't leave batteries unattended while charging
what are you charging? things like phones might do that themselves..
cheap phone charges can still have problems, though
I'm charging high draw 18650s
They think they've found the reason behind most smartphone explosions
I meant sterling with his 'never buy cheap chargers' statement
14:35
The newer lithium batteries already have this fix
Watch out for cheap battery banks as well.
@Neil it's because the batteries naturally do that if you don't treat them right. :)
The only thing I leave charging overnight is my phone
cheap lithium batteries sometimes lack a protection circuit
I don't charge my vape batteries overnight
14:36
man.. a perfect battery is a dream technology thaat changes everything.
@Luggage well not sure if it is directly linked to usage, but there was an erosion between the membrane between positive and negative poles in the battery
yea.. and that erosion gets really bad when the battery becomes totally de-charged, hence the protection circuit
otherwise, when you go to charge it again, it's shorted and all explody
Aren't they discovering new highly conductive but insulative materials that are going to skyrocket batteries into the future?
I have heard that it is not good to always leave the battery charged too
I hope so. better batteries change everything.
somethign that has high energy density but won't release it all at once (explode).
14:38
@SterlingArcher I haven't followed what Elon is doing recently, but last I read he was just putting money into making lipos more efficient and safe
it's not just lithium that is dangerous, it's the fact you have a lot of stored energy
I mean, that is what he uses in the Teslas
@SterlingArcher I have been hearing about a revolutionary new battery for about 10 years now. Where the hell is it?
well.. there are lots of cool battery ideas that are jsut too difficult/expensive to ever manufacture and nano technology could fix that.
I think better batteries are coming, but yea.. i won't put much money on a specific year..
I watched a TedX on using diamonds or something as a battery
14:40
@SterlingArcher graphene
it "works"
@FlorianMargaine that's the one, thank you
Elon is producing a huge lithium battery plant bigger in scale than anyone has ever seen
right.. we can arrange carbon to be the insulator,t he conductor, everything.
but all comes down to making it
It's so insulative that it generates next to no heat with a current running through it
14:41
I think for the foreseeable future we will be just improving lipos
It promises to produce more than half the amount of batteries produced in the world today
Our ability to predict how atoms will behave when arranged in a pattern has not caught up with our ability to manufacture
@Neil SolarCity?
er.. other way around..
@SterlingArcher I don't recall the name
14:42
My bosses don't like it when we talk about Elon or SpaceX because they're a direct competitor with us lol
You need to know your enemy.
@SterlingArcher "Elon? More like pls mon, amirite?!"
skyrocket your career
@SterlingArcher not a good sign, bro ;)
@SterlingArcher keep Elon distracted with simulation arguments a la Nick Bostrum
orbital sciences?
who do you work for?
14:44
SNC
ahh, sierra nevada
I am going to open a new business that directly competes with Google sometime this... Aaaaaaaaaand we're already out of business
I always thought SNC was a house hold name like boeing
@SterlingArcher was surprised when I was like "OMG YOU WORK FOR SNC?!?!"
it doesn't have the same recognition as boeing with genpop.
everyone knows a 747.
14:46
lol I honestly didn't know SNC was so big until a couple months after I came aboard
@SterlingArcher you and @rlemon work at the same company?
I wish
His corn and my orbiting models? We would go far
@rlemon has a corny job.
@SterlingArcher we should totes start a side project together
14:48
man, i can't type today.
SkyCorn
It's a maizing
You might need a team member that knows what an alternator is. :)
@Neil oh you
@rlemon lol I can't do side projects while under contract :(
@SterlingArcher woah interesting
14:49
Right dude?!
@Luggage that's the key that swaps my porn workspace, right
the boss key.
Hello guys, I was searching for a way to protect localStorage from being accessed from XSS attack.
I have an idea to unset the localStorage variable from "window" object and make another variable with same reference in a anonymous scope.
Maybe it's a naive idea, so I'm wondering if an attacker could access the localstorage by any another way ?
@rlemon Ahh yes, it's school time again. All the CS students are going to be flooding SO with shitty questions once again.
man, the music at starbucks is unbearable today.. i mught have to go to the martini bar instead.
14:52
@AhmedSabry the only way to be sure is to test it
@Luggage martini bar at 11am? Ilike your style
@Luggage justin bieber?
They open at 11, so yea.. not before.
Hey.. want to meet up with @Abhishrek and I?
I didn't know you were a bored housewife ;)
Did you two ever meet last time he was in town?
Independant contractor.
I rent an office, but sometimes i need a change of scenery
14:53
lol no our schedules didn't sync up in time
I'd love to meet up. My september is tricky because of a family wedding though
we only need a few hours
or 15 minutes if you are already horny.
I have had my quota of awkward conversation for today. Bye all!
Hi I need help in Google Map
@Neil do you mean test site against xss attack or test the example I sent (the gist)
I'm not talking about how to prevent xss attack, I just want to make localStorage being accessed just from specific place (then I don't need to worry about xss attacks)
user3119231
14:56
@Mediasoft Please, not again.
which alternative account will he post the question from this time I wonder?

« first day (2144 days earlier)      last day (3031 days later) »