« first day (2173 days earlier)      last day (2770 days later) » 

9:01 PM
that's just an abuse of the flags, there's gotta be a better way to learn him not to be a grumpy ass
 
who was that?
dugger?
 
Yeah he got flag bombed for saying anus
they hateus cause they anus
2
 
@ndugger I'll wait for you.
 
#DicksOutTillNicksOut
 
free v nasty
but don't actually, cause she's a terrible rapper
 
9:04 PM
#ClamsOutTillMyFamsOut
there. gender inclusive.
 
omg lol
 
nice job
 
Hey, I have the row id and the class of one of the element in that row.
How do I get the value of that element using JQuery?
 
@The_Outsider 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.
 
9:10 PM
@The_Outsider which part of that are you having trouble with?
 
Ignore it
 
Done
 
I ended up solving it
 
@The_Outsider easiest thing I've been asked to do all day
good thing it's leaving time
 
@The_Outsider are you still supporting IE8?
if not, then why the fuck are you using jqeury for things like this?
.. hell ... it's actually supported even on IE8
 
9:23 PM
awww yea my package came with free bubble wrap
 
... why would you use queryselector if you have an id
 
@KevinB he was looking for nth child in a row
 
hmm... did i miss a message then? because i don't see anything about that in his question.
 
Could you try to make your anti-jQuery advice sound less attacky?
3
 
9:26 PM
@Luggage because to me it looks like not-funny version of:
 
@SterlingArcher who takes videos with the flash on
 
What looks like that, the question?
To be clear, I'm all for helping people see the light. It just came off as hostile.
 
has anyone really been far even as to make rollup work?
 
const data = [
		{thing:1}, {thing:2}, {thing:1}, {thing:1}, {thing:2}
  ];

const oneThings = [];
const twoThings = [];

data.forEach(el => {
	if (el.thing === 1) {
  	oneThings.push(el);
  } else {
  	twoThings.push(el);
  }
});
how can I do that w/o a forEach?
wow that formatting...
 
rollup is the new webpack-like thing?
 
9:31 PM
i get stuck at "react.js does not export Component" even though i'm using rollup-plugin-node-resolve
 
@Luggage kinda, but less plugins i guess
@Loktar const oneThings = data.filter(el => el.thing === 1); maybe
 
@Loktar I'm thinking of something in the form of let { oneThings, twoThings } = data.reduce();
 
but then I have to do that for the other one too?
 
but your current code is clear.
 
9:32 PM
@Loktar const twoThings = data.filter(el => el.thing !== 1); ?
 
yeah lol it just feels wrong/dirty?
Like I'm missing something idk
or rather just not doing it "right"
 
i'm gonna try my reduce solution in jsbin to see if it turns out ugly
 
@bitten yeah I mean I can do that.. I just wonder if it's slower idk, I did initially think of using filter, but this way I just loop through one time and ship them off
my real world use case is I have data that needs to be put into 2 arrays like the above and I'm using foreach to do it, idk I guess that's the use case for Foreach
 
@Loktar yeah, it loops through twice although i'm not sure how fast forEach is against filter
 
I have quite a bit of data in my real world use case
that's why I was trying to limit looping more than once
 
9:35 PM
i miss jsperf
 
me too
 
hmm interesting
 
what's the hit on for..of vs array method
if we're talking raw speed, for(;;) should also be considered
 
if i could get that middle block down to one statement it'd be a lot cleaner
 
9:38 PM
yea
@rlemon well speed isn't that important
 
yea, a plain loop is more readable anyway.
we're just being fancy
 
I want it to be clear, I was just assuming I was missing something super simple I could use
 
I'd be for for..of then
 
so many people advocate against using loops
but this is a case where I can't see a way not to
besides the reduce method which is fancy ;)
 
fancy as fu
@Luggage nice
 
9:39 PM
for( const item of data ) {
  if( item.foo === bar ) foo.push(item);
  else bar.push(item);
}
but with like, {}'s and shit
 
// the absolute most clear. use .forEach, for..of of for(;;)
loop {
    if {
        a.push()
    } else {
        b.push()
    }
}
 
Q: How do I onboard brand-new JavaScript developers into StackOverflow? These are 18 year-old students.
 
yea, what the Lemon said.
 
for..of is slightly more readable if you don't need to track index
 
TIL for await (const foo of bar)
Great talk @BenjaminGruenbaum
 
9:41 PM
show them the home page and say "find the duplicates"?
 
onboard devs into Stackoverflow?
Give them work
They will google.. find SO.. and use it?
 
make them review the edit queue
@PhillipSenn spend a lot of time on how to ask a proper question and how to google for programming topics
if they get downvoted/closed early it will discourage some
 
so, was trying to actually install openbsd instead
and fuck no, it just wouldn't
 
what
dude, "of course it runs on BSD"
how can you fuck up BSD install
 
You're not very good at installing linux are you?
 
9:43 PM
Windows works though @towc ;)
 
debian testing didn't seem leave a bootable disk, but somehow debian stable is giving me a working laptop
@BenFortune bsd is linux? 0.o I thought the point was it wasn't linux
 
PEBKAC
 
no doubt
 
they are both unix variants
 
but the new laptop is not giving me an easy time
 
9:44 PM
There are only 2 operating systems Unix and Windows
 
very similar
 
so apparently you have to define named exports manually in rollup.. namedExports: { 'node_modules/react/react.js': ['PropTypes', 'createElement', 'Component'], 'node_modules/react-dom/index.js': ['render'] }
 
The Coke and Pepsi of OSS OSes.
 
off putting
 
9:45 PM
well, idea is, I dded install60.iso into a usb stick, tried to boot from the stick, but wouldn't recognize it
 
why wouldn't you use a proper utility
you can't just dd an image to a usb
 
on first install of the debian stable, it told me that if I kept going I wouldn't be able to have other OSs be able to use some BIOS features
because it was overwriting some machine files or something
pretty sure it's that
 
Have you ever heard the phrase "knows enough to be dangerous"?
 
well, download, check the checksum, read for further instructions, umount, dd, put in other pc, boot from usb, and cross your fingers
 
9:47 PM
this is why I need to go to uni I guess
 
@towc what os you on right now
 
I'm chatting with the other debian laptop
testing
 
get unetbootin
write your image as a bootable usb
then try again
 
meh
I surely want to figure it out
but later
at this point I just want to get done with this, finish homework, and go to sleep
 
'figure it out' === use a disk image utility
dd is not a disk image utility :D
 
^ +1
he already had it installed iirc
 
yea he's got a version of windows he can always fall back on
 
When you don't care about being "cool" and just want to get shit done ;)
 
and that hardware is known to work on it
 
@rlemon what do you mean fall back on?
 
9:49 PM
@Loktar he's determined to do things his way
 
well, I thought I was clever enough not to need dual boot
 
if it's win 10 you can uninstall and install it over and over on the same hardware
 
oh
 
their servers see you have the license
 
@towc Windows plus linux VM. Also Windows 10 now has ubuntu 14.04 'built in'.
 
9:50 PM
yh sure, I still have that option, but tbh if I can't manage to get debian working I don't deserve to touch a computer again
@Luggage except windows is known for having many security issues
 
you know, not everyone needs to be a cli jockey
it is okay if you're not
 
I really wanna tho :/
I'm clearly not cut for it
 
windows is fine. linux is worse if you start doing stupid shit with open servers.
 
but I'll get there
 
@towc are you spouting nonesense again without actually understanding what you're talking about?
 
9:51 PM
You can be a CLI jockey on windows.
 
i mean... a poorly configured linux install could have some pretty serious security issues too.
 
you enter an irc channel full of windows fanboys: linux is insecure
you enter an irc channel full of linux fanboys: windows is shitty and sucks
 
@towc
 
do your own fit and feel
try it yourself.
 
Don't belive the BS lies people tell you
 
9:52 PM
don't be a sheeple
 
Mac OS and Linux aren't impenetrable
 
while training for the CEH, I saw that windows penetration is a documented version of the ever-changing linux
 
if you want to have a secure system an up-to-date windows install with a free virus scanner and sensible firewall rules will get you pretty far.
 
because standards are used in so many cases
really easy to turn windows machine into zombies, not necessarily to put a trojan on them
 
probably easier to get a linux boob to brick his pc
"how do I X", ohh just type in this command
done
 
9:54 PM
@Loktar notice how # of HIGH vulns is stil bigger in windows
 
@towc by vs it's the same
 
@rlemon yeah, true, but then with the exception of me, if you're a noob you don't use windows
 
it's equal in the most recent version
 
and I'm not talking about the human factor
 
This is from 2014 as well
want to see 2016 data
 
9:54 PM
@towc you mean linux
 
yeah, sorry
linux
 
I challenge you to call me a noob and I run windows.
 
because linux is now being pushed on millions of people because it is 'free' with 'free tooling'
still not a great market share..
 
and that's ubuntu
 
but it is growing
 
9:55 PM
@rlemon and shrinking
just depends.
unless you're talking about every type of device and not PCs
 
developers are branching out, and average joes are leaning into it
I've seen more non-programmers use Ubuntu than I've thought possible
again, not with any great impact, but they are doing it in small numbers I guess
 
yeah SUPER small.
Steam hardware survey... 0.83% running Linux
And Valve even has SteamOS
 
but how many non-programmer or non-force-student have you seen run debian?
 
It's been like this since the 90s
people say the same thing every year, nothing changes lol
 
or arch
 
9:57 PM
@Loktar i know a few people who dual boot windows for games, so i imagine it's a tricky statistic
 
@bitten yeah but we aren't talking about a few percentage points
 
the fact that linux has managed to increase (slightly) in market share while waves of developers move to apple tells me there is a decent amount of people picking it up
 
@Loktar because the number of people using windows is also growing?
 
we are talking about less than 1 percent...
 
but there is a shit tonne of computers..
 
9:58 PM
@Loktar who knows though
 
Global data puts it at around 2%
where it's sat since like 2000
 
did windows get any better in percentage?
 
@towc windows 10
 
@Loktar while people have been steadily moving over to apple for development. maintaining that 2% is impressive.
if you ask me
 
also because there's not a huge business model behind it
 
9:59 PM
not for desktops
 
@rlemon I have found very few decent developers using OSX
 
also do a weighed checking between the OSs in servers
doesn't google primarily use linux servers anyway?
 
kicks teresko :)
 
and that's like... 90% of all servers? :P (that IS a joke)
 
@towc well for servers that's a different case :p
 
10:00 PM
Seriously though, OSX is the primary OS, these days for many people I run into.
 
@tereško I'd say closer to 40% of the developers I know use apple laptops
 
I was typing that before you said it was a joke
 
fair enough
 
yeah and developers make up what % of the population using computers
 
NaN
 
10:01 PM
developers are a different breed
stackoverflow stats put windows just over 50%
 
@Loktar my statement about the 2% maintaining is exactly that, developers make up most of the linux desktop users
 
@rlemon I know 3 and two of them also do iOS development (and have gone "full Apple lock-in")
 
so while they move to apple, maintaining 2% means that (I hope) more are using it for general purpose
 
@rlemon that's assuming any have moved
 
@rlemon apple laptops or OSX?
btw
 
10:02 PM
@tereško both
well, some Apple OS
whatever the newest is I assume
 
today a teacher was complaining that his windows desktop was slow in class. Someone said "ofc, it's windows. Mac wins". <small debate between windowers and mac ers>. Then I had to: "well, they both suck". <a few confused faces>. Someone asks: "well, there's windows... mac... you don't have many options!". "Linux.". "is that a new thing?"
 
@rlemon OSX has been the only Apple desktop OS since 2001
 
@towc no shout out for TempleOS?
 
now called "macOS" for some reason.
 
@bitten and my grandmother who supported me all these years
did you get to level 12 yet?
oh shit... I think I challenged someone to level 16 a few days ago 0.o
hope he's ok
 
10:05 PM
@towc you need a different school
 
unrelated: (@SterlingArcher thoughts?)
 
> Imagine running your favorite Windows applications and drivers in an open-source environment you can trust. That's ReactOS. Not just an Open but also a Free operating system.
 
lol why not just run them in Windows ;)
 
10:06 PM
@towc haha no not yet, a few attempts though. i need more breakpoints or just lucky breaks
the timer goes way into an hour each attempt from now too
@towc which level did he get to?
 
Imagine driving a somewhat unstable car built by your neighbors you can trust!
 
Guessing the main part is
> open-source environment
haha
 
@bitten I think he reached 8 last time I checkeed
 
i'd just like to know i'm holding the high score.. ;_:
so i have some time lol
 
10:07 PM
@BenFortune wat
 
Why drive a bentley when you can drive a volvo estate!
 
user2620028
because both of them are boring and ugly
 
haha
 
@bitten a school friend of mine actually got to 10 I think. He's the only other guy in the school who's tried linux out. He uses mac
 
because the volvo is more reliable?
 
10:07 PM
@rlemon wow. That's really sad.
 
@rlemon why is there a jump? has anyone reasoned about the rise in osx?
 
it's sad that you think that is sad
:(
 
Its sad people are getting locked into a shitty ecosystem
 
@bitten tmk apple made some better tooling finally?
 
imo anyway
 
10:08 PM
not sure if the guys who said vista were trolls or not
 
I think it's because OSX gives you a nice unix commandline experience in a hassle-free package
 
@towc poor government workers lol
 
@rlemon it seems to be more forgiving than windows, at least
 
therefore developers love it
 
I'm not sure, I don't really use Apple stuff.
I use windows/linux
 
10:09 PM
winux
 
lindows
 
Weenis
 
@bitten that's like saying that "xbox gives you a really nice gaming experience"
 
^^^ was an actual thing
 
@tereško LMAO
 
user2620028
10:09 PM
Every time i touch a macintosh computer it breaks :P
 
nice
 
that's probably their UX guideline actually...
winUX
 
user2620028
@tereško It used to.... then they funneled all of the servers away from it.
 
Guys I got a new console, it's a bit locked down but it's simple to use
it's called a Mac
 
@tereško i don't know, that's not a fair analogy
 
10:10 PM
my leds work :D
 
glorious 20fps
 
:D
 
I use butterflies.
 
@Loktar granted this was ~4? years ago, was playing D3 on my bros wifes imac (new that year) 2 hours in, over heated and crashed
 
user2620028
A bit locked down...... as in the ram and cpu are soldered into the board
 
10:11 PM
apparently they don't game well.
 
@rlemon yeah they never have
at least now people are actually releasing games on it
 
arn't they like made for media?
 
is there a unicorn-based linux distro, so I can say my laptop runs on unicorn?
 
isn't that the selling point?
 
I thought the selling point was hipster/status symbol
only half joking
 
10:12 PM
well it is probably more than half truth
 
fucking bright too :D
 
@KendallFrey pics?!
 
@towc there is Puppy linux
 
:3
 
@Loktar I'll totally make a video once I finish an animation
 
10:12 PM
i guess my mac is locked down. Only I have all of /usr/local to do with as I please and it's never stopped me from ever doing anything I wanted.
 
@tereško i like how it barks at you on boot :3
 
havent actually used it
 
just install it for the bark, it's worth it
 
@bitten and pisses on boot
 
lel
then when all the osx computers boot up wooooommmm
you can come back with woof woof
 
user2620028
10:14 PM
@rlemon The selling point is that you can be seen at starbucks with a macintosh
 
> I do it for the kicks
I do it for society
I do it for family
I do it for the bark :3
 
they aren't exactly exclusive.
 
@towc eww
 
my code for animating it from my computer doesn't work :/
 
10:17 PM
finally after a few weeks of waiting, nylas builds on windows and then i get "Your platform is not supported"
lol
 
:D encrypted lvm and everything successfully booted
 
that's good night for me, sweet dreams all
 
cya
and touchpad driver
apparently
 
@rlemon one should probably get sued for that
 
maybe watch it first
 
10:19 PM
I though the same thing but decided to take a gander before running my mouth. :)
 
he said that mercury is denser than led :/
 
man. shot down again.
 
he's a geologist major iirc
 
10:22 PM
yay
I like this kind of evening when I have so much progress
 
Well, keep it to yourself. You are already making us all look lazy. :)
 
yea I wanted to program, but my laptop is downstairs..
and that is downstairs..
 
@Luggage ... I hadn't looked at it from this point of view.
 
why does he have so much mercury!?
 
"it's not http, it's cURL!"
 
10:26 PM
oh and btw, after spending another evening on it, I feel like I should reiterate that Lisp is pretty awesome.
 
if you say so, support
 
support what?
 
I'd be more inclined to play with Lisp if its friend Emacs wasn't always right there.
 
there's a swank/slime plugin for atom iirc
 
There is always Clojure.
 
10:27 PM
@FlorianMargaine support just tried to explain to me that by using cURL we're not actually sending HTTP, but "sending cURL" to the server
 
@NathanJones cool story bro
 
fire them
 
or, well, show them curl homepage that says "http client" or something
 
No. Fire.
and sue them for lying on their resumes.
you don't want to work for me.
 
@Luggage not internal support. another company's support for a product we're looking at buying.
we as in upper mgmt
 
10:32 PM
they sound pretty helpful
 
The only food I have in the house right now is icecream, but I have plenty of alcohol
 
whisky float?
 
It's peppermint chocolate chip. I can make a peppermint schnapps float
 

« first day (2173 days earlier)      last day (2770 days later) »