« first day (1593 days earlier)      last day (3578 days later) » 

21:00
I have a generator function in which I want to iterate an array. I do so by using Array#forEach, however, I cannot yield() in the callback passed to forEach. Is this behavior intended? If so, why?
function *() {
  arr.forEach(function () {
    yield xyz; // throws a syntax error
  });
}
i'm trying to get windows 365 :|
just for the fun
@ComFreek You can only yield from the innermost function
@KarelG is that where your machine boots into the cloooouuuuuud?
office 365?
Generators don't play well with callback functions
If you're on ES6, you can use a for-of loop though, which is better that .forEach anyway
21:01
I am targeting iojs and Traceur anyway :)
Nonetheless I would be interested in the reasons behind that design decision to prohibit yields in callbacks.
!!> "test".blink()
@david "<blink>test</blink>"
what
!!mdn blink
i meant windows 386, which is Windows 2.0 i think
21:03
that's what happens when you have forward compatibility
@ComFreek It's because how yield is tied to a function
why did i entered the #days of years ._.
@copy I suppose that one can't know whether the callback is something which happens immediately (as in the case of forEach) or not (e.g. through some Node functions). That's probably the reason.
As I have to know the index I must use a simple for() :(
That's the most horrifying method I've ever seen
21:06
@ssube But yield doesn't work with a callback (which forEach uses)
@KarelG I have a 98 laptop
but it is slow
I'm programming eeproms
@SecondRikudo beautiful, thanks man
looks so much nicer now
@rlemon nice. Now i understand why you want to install PonyProg ( or something that you've linked )
YOU
YOU
hello everyone! Just a simple question:
In

(document.converter.operation.value - 32) * 5 / 9

What 32) is stands for? its a constant value or?
@YOU Welcome to the JavaScript chat! Please review the room pseudo-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.
21:17
@YOU 32) is the numeric constant 32 and an expression terminator )
!!mdn document.converter
YOU
YOU
Thank you!
YOOUUUUU crank that soulja boi
@KarelG yea we manufacture our own addon boards for beagle bones and it needs a device tree :P
in other news, I interfaced a lm335 with my arduino. now I can build my temperature controller
my beer will be ohh so delicious
21:20
I miss my kegerator
I assumed it would be harder than it was.
@SterlingArcher back when I lived in a semi-rural area, I was driving up to a Home Depot one day, and this ridiculously lifted truck pulled up. It had a confederate flag flying from a 10 foot pvc pipe sticking off the cab, and was generally silly. Then, one of the "people" inside opened their door, and it turns out they were blasting soulja boi.
I need to find a solution for my lack of thermal epoxy
lol
that's awesome
was going to say that you can program EEPROMS with arduino, but i've guessed that you already know it. Seems that i was not wrong
21:21
@KarelG ohh yea I don't need that. I have a small header and I program them directly.
@SterlingArcher I was tempted to point out how contradictory that was, but decided they probably wouldn't understand. Also I didn't want shot.
that all works. the software to do the programming is old tho
and I don't know of any viable alternatives (granted, I haven't looked hard)
@ssube quite understandable lol
had to review EEPROM program before. I had to dig up my course books.
the other embedded engineer is in tomorrow, he's been at this MUCH longer than I have
hopefully he already has a solution built :P
YOU
YOU
21:23
so document.converter is?
emm ... guys, should I go with Corsair or OCZ for SSDs ?
those ones seem to be the best options (regarding speed, warranty and price)
@tereško I have both (as well as Intel)
never had problems with either
Corsair seems to be faster, but that could be me just thinking it so
I have never benchmarked them against eachother
@rlemon would it not become an issue ? embedded engineers are distinct ...
well, the intention is to use two of them in RAID0, for extra kick
even programming tools aren't being developed to the current modern machines
21:27
@SimonSarris has stock in OCZ, so I vote OCZ
@KarelG I don't see it being an issue.
we're in the process of updating a 20 year old system
these are clever:
6
Q: What is this wiring panel and what are these Ethernet "ports?"

AlessandroIn my office's building there is a stone-age LAN rack with some Ethernet ports I've never seen before. I need to find the name of this ports, if they have one, and then buy some cables or adapters. Unfortunately, I'm not allowed to dismount the whole thing and connect the cables to a normal RJ4...

@tereško Intel or Samsung. Neither Corsair nor OCZ make particularly good drives (they're ok, but just ok).
@rlemon Oooo, Beaglebone. Good choice.
lol, samsung
@rlemon just subscribed to txt updates for the package, will ping you on hangouts with updates as I get them #excited
@monners <3 it so far. albeit when we started with them they still shipped with Angstrom distro
Angstrom is a POS if you ask me
but they run debian as well
21:29
@rlemon What did you flash them with instead?
I think mine shipped with debian
@monners nothing, still rocking Angstrom
@tereško they used to make the best SSDs, until Intel took over
samsung's SSDs lately have been having numerous issues and company as whole has been exhibiting extremely bad practices
Corsair has had a number of chipset issues over the years
my Intel drive is by far the fastest, but was like $90 more for the same size
21:30
OCZ is "gaming" gear, so overpriced and unreliable
although my revodrive at home has been working well for 2.5 years, now
they're also stupid fast
@ssube I got a bunch of vertex 3's and 4's for dirt cheap when their stock plummeted
Sounds like Alienware (except Alienware is sexy as hell)
@rlemon 20 years is VERY old in IT sector.
@KarelG not in the embedded industrial sector
@monners alienware is shiny dell
21:31
I have literally never had a storage device fail on me
we have 25 year old hardware still in the field. still running!
@ssube Exactly!
that's why i'm questioning it. Should there not be a research for new EEPROMS ?
@ssube you are talking to tiny-avatar people again =)
21:31
@monners I don't trust Dell's consumer stuff
gif from Sterling Archer was moved
@tereško all our avatars are the same size?
@KarelG why? we wrote our own device tree. it works.
proof is in the pudding
@rlemon keeping proof in the pudding is entirely unsanitary
@ssube he's ignored him
21:33
@ssube laughed hard
@ssube can you link to some material to back this up ?
I have been trying to avoid fan-boy opinions
@ssube Admittedly I haven't bought anything from them in years, but my first custom computer was from them.
@tereško are you opposed to Intel?
how big were you thinking
240-256GB
meh, if you say that there is no problem, then it's good. I don't have to worry about that. Not that i'm sleeping with this problem, just thinking at it
21:34
@tereško it was fairly common a while back, google has a number of results for ocz unreliable
FWIW, I have never had a OCZ drive fail on me
it isn't like they are seagate or anything
@rlemon Read that as "fall on me"
I was all "That's oddly specific"
@rlemon me neither. Was super worried buying a revodrive, but had no issues. Course, that seems to be the minority experience.
@ssube hmm ... the first result (slashdot, bankruptcy) seems quite ominous
Intel 730 series is decent
pricey but good imo
21:35
@tereško yes, but they aren't actually gone, so I'm not sure how that shook out.
Intel seems to be regarded as the best SSDs, though, for a few years now.
yea I love mine. I wish I had more
Probably because they focus largely on enterprise stuff.
save a few bucks and get the 330's
boss has one in his laptop. no issues I'm aware of
21:37
I need want two SSDs for my build
But saying that you had no issues with a single device doesn't say anything, statistically
@copy i dunno man, 1 can be a pretty large number.
hmm ... 200€+ seems quite expensive for a 240GB SSD
Heya guys, anyone in the mood to review my code snippet? Been working on it for a month, I know exactly what I want it to do, but for some reason it won't.
Need a pair of extra eyes, if I can return the favor somehow, will be glad to
@tereško 200 EUR? do you really have that much markup?
21:40
@Freelancer No matter how hard you try undefined won't be a function
@monners you know this freelancer ?
@ssube salidzini.lv/search.php?q=intel+330+ssd (that site is search-thing for LV online shops)
Nope
i don't get your reaction :
@monners undefined = function() { console.log("sure it is"); }
21:41
Never mind. Silly joke
anyways freelance, you are free to put a snippet. Don't forget to use Ctrl + K and ensure taht it's small. Not 25+ lines ...
@tereško that sucks. On Amazon, they're the equivalent of 130 EUR/240GB.
730th would be close to that price range here
@monners yes, thanks:) but it is something more complex than that. Maybe it isn't but you know that feeling when you do everything right, and somehow it still don't work...
@tereško not sure from which country you are, but if your country is part of EU, hardware stuff is cheap in Germany
21:43
@ssube undefined = function() { throw new ReferenceError('undefined is not a function'); } /* trololololol*/
i keep importing from there. Even USB sticks are 50% cheaper than here ...
it's not general "hardware" .. I think we just have expensive storage mediums here (something to do with copyright laws)
@KarelG: how about 100 lines? Maybe i can put it to jsfiddle? (although it won't work there, it works in the context in another online environment which you can access )
I charge five cents per byte. choose your 100 lines carefully.
so stringify-ing window proved to output TMI
21:45
@rlemon haha
got a 414
@rlemon do you accept imaginary money or good karma:) maybe some funny link
you can send all payments to [email protected]
@rlemon sounds about right, maybe you should charge a dime (indenting included, spaces vs tabs wins :P)
Imma snail mail you that shipping money in rupees @rlemon :P
21:48
INR FTW!
DAMMIT
YOU
YOU
converter.operation.value - 32) * 5

Its operation.value minus 32 x 5 ? correct?
I just clicked on the trash can and you moved it
21:49
I don't often ninja, but when I do, it's ninja'd.
user4330208
cuddle.js. its a framework
youarenotfunny.js
it isn't a framework, I just thought you should know. XD
what about Corsair Neutron XT drives ?
scriptnamesarefun.js
user4330208
i think you mean !youarenotfunny.js
21:50
@SterlingArcher butts.js :D github.com/AmaanC/space-burn/commit/…
he touched the butt :O
REQUIRE BUTTS!
virgins.js
@rlemon es6 plz
21:51
@david they actually renamed it
var virgins = require("virgins"); virgins.pipe();
it is called ES-Sticks now
YOU
YOU
document.getElementById("ioaj").value = (document.converter.operation.value - 32) * 5 / 9
/* Select "ioaj" by Id and set/return output of (operation value) minus 32 multiply 5 Divided by 9 into "ioaj" ID input field*/

Is this correct?
document.getElementById("ioaj").value = (document.converter.operation.value - 32) * 5 / 9
/* Select "ioaj" by Id and set/return output of (operation value) minus 32 multiply 5 Divided by 9 into "ioaj" ID input field*/

Is this correct comment?
@rlemon wait really?
oh
i thought you meant they renamed imports ><
ESsex
21:52
^ by AFK he means 10 seconds of silence
1 message moved to JS trash
it's ES2K-neXt.io
esQuery.angular.io <- the future
anyways, enough of that.
PonyProg I hate you
that is all.
MyLittlePonyProg?
21:54
serial device programmer which doesn't want to build on linux and doesn't want to install on windows > XP
time to bust out an XP box
@rlemon you can get a free win98 vm from MS, I think
I know you can get XP ones
free vmware player and you're good
ohh I have all of them legit
company doesn't toss anything
I have a windows 95 still in the shrink wrap
MSDN has em too
We keep a win98 machine at home to play zoombinis
I have a windows 98 laptop here
@ssube THAT WAS A FANTASTIC GAME
21:55
but it is uber slow
@SomeKittens it's great to play on slow nights when you're mildly intoxicated with friends and being boring
I have a windows 98 machine at home. Haven't touched it in years. No idea what I should do with it.
mine bitcoins
HA, no.
Is that even profitable?
21:57
they don't pay for power in Australia
guys I have a dumb question
@SterlingArcher Of course! Hardware manufacturers are making a mint!
@rlemon Eh?
on wowhead, how do the models work? Are they just stored locally on the server or are they fetched externally somehow?
Shocking
@monners don't you guys just put a dingo on a treadmill or something?
21:58
man wowhead... i haven't thought about that site in a long long time
@rlemon That's how we generate the power, but you've still got to pay for it.
@corvid if you open the dev tools and check out the network tab you can see external requests
so you can see if they are xhr'd in or locally
dev tools?
developer console. F12. CTRL + J.
in chrome
21:59
F12?
ctr+shift+i sometimes also
@monners forgot, you are in Australia
My keyboard doesn't have letters on it. I don't know what any of them are!
ᄅƖℲ
easier to read for you now?
Oh! That.
22:01
All computers have function buttons. How would it even function then ?
YOUR MUM
NOU!
holy shit! how did I not notice it was 5pm
Seriously though, my keyboard has no keycap inscriptions
Those keys above where the arrows are are a total mystery to me
real programmers doesn't need keycap inscriptions
22:02
Exactly
real programmers don't need keyboards
!!afk I'll be back... with booty!
Real programmers don't need mothers.
user4330208
A programmer without his keyboard is like a:
bar without beer
22:03
Canadian without a moose
1 message moved to JS trash
dude, stop
HAMMERTIME!
I love that
user4330208
22:03
i said without no clothes, meaning she was wearing clothes
@SterlingArcher I'm afk. if he says anything over the top stupid bin it plox.
thanks.
@carb0nshel1 You were asked to stop, not to defend yourself.
@rlemon 10-4 apricot
user4330208
K. sorry. I love SO. bye bye friends.
^-- that guy is probably "famous"
22:10
youtube.com/… oh my god LOL
are you referring to that what has happened after 2min20 sec ?
or before ?
youtube.com/… Jesus that had to hurt
there are some stunts where the person has luck to not break their neck or back ...
like that table in the cafeteria one
22:30
BAZINGA !
finally the problem got solved. Now i can go to home (it's 23.30 o clock). *

leaves note with "solved the problem of project x, now leave me alone. Those who still call me tomorrow before 12h will be screwed, hatred, molded. Let my soul rest in pieces for now " *
m59
m59
@rlemon heheh, I've fallen out cold about 3 times, but I was already sitting down.
The other day I fell down in the hallway holding scissors. It was rather quick, but more of a fall into the wall and slide down.
22:51
For the Javascript WebGL programmers: unrealengine.com/blog/unreal-engine-47-released
HTML5 platform + WebGL is ready to use -- run your game in a compatible browser with a single click!
yes
yes omg lol
no
@m59 I sometimes lose my vision. That is scary enough. I cant even imagine dude.
the final one was hilarious
I've been unconscious twice in my life
once was a concussion from a 2x4 to the head
the other was in an ambulance from blood loss
m59
m59
@rlemon hmm, all the way lose it? I kinda know what you mean there, too. My vision gets very blurry often. I have to intentionally see straight lol. I'm that tired.
why does your vision go out?
23:05
@SterlingArcher I go unconscious just about every night
Every night you say?
@m59 Not just the tired-can't-focus-need-to-slap-yourself kind of vision loss. Actually not being able to see in part of your eyes.
@rlemon Oh, you know what else is scary? paralysis
@m59 you should get a medical bracelet
@m59 I get bad visual auras caused by ocular migraines that block out my center of vision and most of my peripheral sight. it isn't so much blurry as there is swirls of dark and colors in front of me morphing and changing. lasts anywhere from 30 minutes to a few hours. I don't yet know the trigger, happening since I was about 12
maybe 14ish
long time ago in any case
ouch
m59
m59
23:10
wow, doesn't affect driving?
it isn't instantly onset. I get a good 10 minute warning
starts in the left eye always as well and moves to the right
m59
m59
Crazy stuff.
been to the doctors, they don't wanna give me a shitload of pills because they are not daily. maybe once a week -> once a month
depending.
that sucks
I need to find the trigger. nothing is wrong with my eyes they say
m59
m59
23:12
It's sin.
For me, it happened when I was looking at something high-contrast or "busy"
I think
I know bright lights will trigger it. but it isn't the only trigger
m59
m59
(kidding) (mostly, but that's a whole theological subject)
not like daylight, but a bright flash.
23:13
@rlemon Have you ever welded?
yes
but always wore a mask
pretty sure I was getting these before highschool shop tho
maybe not.
welding didn't trigger it though?
even if you saw someone welding across the room
Maybe you saw some social injustice while welding and that triggered it
I should weld more...
I've been thinking about picking it up
23:17
Good project for practice: go kart. Source: made one
@KendallFrey no. they weld in the shop a crossed the parking lot from us. I often see those flashes and they (from that distance) are not bright or instant enough
My dad used to be an air frames mechanic, so I'll be working with sheetmetal as well with him once spring rolls around
like, you know around 11am or 2pm when walking past a window and you get that fucking bright flash you didn't expect right in the eye.
normal people just get the purple haze for a little and its over
I've learned to close my eyes when walking past windows
Maybe it's The Butterfly Effect. You should stop time traveling so much.
23:26
@rlemon NSW
New South Wales
New South Fucking Wales
@rlemon huehue
seriously tho, wtf?
A dude built a castle by hand
people will get shit done by whatever means necessary
it's pretty impressive, even though it's sometimes plain stupid
23:36
looks like india
am I fair to make this assumption?
@Shmiddty That happens all the time in computer science. People write x86 emulators from nothing.
5 hours ago, by Kendall Frey
woo India
I think yes
ahaha I missed that. :P
@KendallFrey You're in India?
context, bitches
making me click links and shit
what kind of monster are you?!
23:39
how do so many highly populated places have so many people doing insanely dangerous things? you would think that would have a negative effect on population growth.
@rlemon not if you just have more babies than people die?
@rlemon Because they have so many people
we've had some shitty weather here the past week. Snow, but the slushy kind that sticks to everything then melts and freezes into sheets of ice
one upside of cold weather is no slushy snow
Yay, someone is angry :D
23:41
:P
always love that
stop being such a bastard :P
The one that upsets me the most is when a person accepts my answer, then later answers their own question in a lazy manner (link to a pre-packaged solution, etc), unaccepts my answer, and accepts theirs.
lol, here here and here
I wonder who I angered. Wish I could see them rage :D
this will have to do
23:47
@BenjaminGruenbaum Heh, I read that question today
Did you downvote it :D?

« first day (1593 days earlier)      last day (3578 days later) »