« first day (1572 days earlier)      last day (2243 days later) » 

4:00 PM
/o\
 
@MadScientist looks like Postgres has what you're describing
I'm sure it costs an arm and a leg space-wise but
Alternatively we could get a real search engine rolling...
 
Anyone good with JS closures? I'm getting confused
 
namely Lucene
@Henders Go ahead
 
@Henders you're getting confused because no one seems to be good with JS closures?
 
@quartata If I have an anonymous closure like: (function(){blah})(); I can declare variables in it and set them from within like global variables. If I make the closure have a name like myClosure = (function(){ blah })(); then I have to set the variables like myClosure.myVariable = 1234 is that right?
 
4:04 PM
not unless that function returns something
closures are very simple
all you're doing is making a function and then calling it
if you return an object from that function, then you can access those attributes from outside the closure
but anything else that was inside the closure isn't available to you
but that object's "methods" (I use the term loosely because JS doesn't really have them in the class-based sense) can access them, because it was defined in the same scope as them and so it keeps them around
 
(function() { let x = 2; console.log(x); })(); console.log(x); is a good demonstration
 
yeah
but then also if you do something like this:
var f = (function() { let x = 2; return function() { console.log(x); } })(); f(); console.log(x);
 
[ SmokeDetector | MS ] Blacklisted website in body, link at end of body, link following arrow in body, pattern-matching website in body, repeated URL at end of long post: Define Enhance Mind IQ? by Entratis 19 on superuser.com
 
sorry for the braces hell
 
tpu- by K.Dᴀᴠɪs
 
4:08 PM
but the function that was made inside the closure has access to x as you can see
 
@SmokeDetector K
 
Hmmm
 
@quartata looks cool
 
I don't know how much regex Solr has
but I know it can do it
 
[ SmokeDetector | MS ] Blacklisted website in body: KeyError in Django by Jim Tay on stackoverflow.com
 
4:13 PM
If I return a function and a variable from my closure. Then I run the function, that function is not run in the same context is it?
 
fp- by CalvT븃
 
@Henders what do you mean by returning a function and a variable from the closure?
JS doesn't have multiple returns without additional data structures
 
Yeah, sorry, I mean like: return { myVar: myVar, myFunc: function(){ //do something; }}
 
yes, calling that function would be like you had invoked it inside the closure
that's what my example above illustrates
 
Ah yeah, I see that now...
 
4:21 PM
[ SmokeDetector | MS ] Username similar to website in answer: Quick questions for marketplace magento2 by TheHTMLCoder on magento.SE
 
Anything from channels yet?
Kinda looking forward to it :p
 
@SmokeDetector K
@Magisch the channels here are pretty boring
 
Okay, thanks @quartata, @ArtOfCode! I've worked it out now. Basically, I was returning the function which changed a value in the closure. The variable I was returning was a snapshot in time of the variable in the closure instead of getting it from that closure every time. It meant that after I had run the function to change the value, I was still just looking at the value originally returned instead of getting it from the closure again.
 
!!/watch thehtmlcoder\.com
 
@Magisch why are you looking forward to it with your tongue out? Your tongue might catch a cold
 
4:23 PM
@WELZ Added thehtmlcoder\.com to watchlist
 
@Henders what was in the variable?
 
@WELZ I thought I've seen this site before
 
must have been something that was pass-by-value
 
@M.A.R. yes twice before
 
CI on d8273f8 succeeded. Message contains 'autopull', pulling...
 
4:25 PM
kisses his awesome memory
 
[ SmokeDetector ] SmokeDetector started at rev d8273f8 (SmokeDetector: Auto watch of thehtmlcoder\.com by WELZ --autopull) (running on teward/Solar Flare)
Restart: API quota is 13485.
 
@quartata if you use Postgres, the fulltext search is pretty decent. The major disadvantage of this kind of index is that you can only search from the beginning of a word. Arbitrary regexp are not possible.
 
we don't use postgres unfortunately
 
Weren't channels supposed to start a half hour ago? :/
 
@ArtOfCode Go time on Teams!
I got the link, but it 404s. Probably attached to your account.
 
4:28 PM
Soooo Art and Undo set it up and then the rest of us get in?
 
aye, attached to me
 
Drop the 'and Undo' out of that and you're right
 
waiting for a confirmation email
 
@Undo ha, imagine there be a power outage and Art would come 6 hours later
 
The horror
 
4:29 PM
The suspense would kill half of Charcoal
 
Charcoal is a pretty interesting example how hierachies create themselves even if you try to resist them
 
@Magisch I'm above Undo in this hierarchy
Just being a little modest
 
@Magisch Not much of one... and we never really tried to resist
well maybe a decent hierarchy
 
when are you going to let me in the suspense is killing me even now
 
we have like 6 ranks now
 
4:32 PM
If you see a closed door three meters away from you, will you open it?
 
of course I would what do I look like an idiot
no closed doors allowed
 
@M.A.R. I touch the doorknob. Is it hot?
 
you touch the Doorknob?
 
@quartata An integer. So when I used my function to update that integer, the returned value obviously didn't change because it's just an integer. The solution is to return another function which goes into the closure and gets the integer.
 
@Henders that would do it
 
4:34 PM
>.>
 
Whoever responded to the form first, congratulations you're now a test subject
 
pretty sure it was me
 
Let's see if I can break things
No it was nobody
literally
 
tsk
 
was definitely not me
 
4:35 PM
@K.Dᴀᴠɪs it was Nobody
 
yeah I'm gonna see if I can add gmail as a domain... this'll be fun
 
Noobody
 
@quartata Thanks! I was thinking about the closure wrong because it returns an object of things in my case. :)
 
ArtOfExperimentation
 
APPARENTLY THAT WORKS
well I've got a bug report or three to make already
 
4:36 PM
Bahahaha
 
what
 
I want credit on the security page
 
...
 
hey @Undo... still have access to your icloud.com address?
 
I want credit as a cheerleader
\o/ yay go art .... let's gooooo .. You can do it!
 
4:37 PM
@ArtOfCode ummm which one?
 
one attached to Smokey's account
 
@Undo you bark when MS breaks?
 
yeah probably
 
@ArtOfCode Nobody has an iCloud address if you need that
 
I have a gmail address too, though
 
4:38 PM
@Undo If I throw that into the system, wanna send me the verification link to click when it comes through?
 
@K.Dᴀᴠɪs your dancing sucks
 
@ArtOfCode sure
 
it does xD
so does my attempt to italicize my words
 
on its way
 
856 unread emails. Wow.
ohhh THIS is where all the AWS notifications I've been missing are
 
4:39 PM
@Undo Sounds like SD needs to go thru your inbox
 
@Undo Any... spam? ducks
 
@Undo pfft
 
I offered to do a screen recording of setting up the team for UX people to look at... suddenly feeling like I should add some dryly amused commentary and comedy music
 
@Henders about two hundred things from Amazon, that might count
 
@Undo I am Amazon's favorite customer.... Have two credit cards thru them
And they get used quite often
 
4:41 PM
This should totally not be possible
 
what?
 
I verified gmail.com and icloud.com, IOW completely defeated domain-email based auth
 
@Glorfindel gonna abstain from that because self-promotion and recent events
 
@ArtOfCode eh, just give us our access! :P
 
4:43 PM
@ArtOfCode Maybe it's okay, though - you did it as an owner, so you're breaking in to... your own channel
 
@Glorfindel K
 
Can't we just log in with smartcards?
 
Yup, but that might mean anyone with an email on the domain can join
 
@K.Dᴀᴠɪs smartcards are of the devil
 
I used them in the military. Pretty secure
 
4:44 PM
and break all the time, at least here
well, we have "virtual smartcards" which I guess are some chip inside our laptops.
 
@K.Dᴀᴠɪs You can already, just touch your card to the screen now :)
 
so congrats to the top three people on that form responses list you're all test subjects
 
am I one of them? o.O
 
@Henders why isn't it working? :p
 
@NobodyNada @Catija @DavidPostill stackoverflow.com/c/charcoal
 
4:46 PM
boooo
 
@ArtOfCode might as well claim Hotmail and Yahoo while you're slurping up domains
 
others of you with a gmail or icloud address may also be able to get in
 
@Andy +1
 
@ArtOfCode WHOOO!!!
 
are domains exclusive?
Like, can no one else register @gmail.com now?
 
4:47 PM
@Undo shrug... shall we find out by claiming all the popular ones
 
@ArtOfCode you should probably turn off the gmail one
 
I'm in!
 
0 questions... Hmmm.
 
Might be a good question to ask. A company our size might have a bunch of teams under one domain
 
@WELZ probably should wait for charcoal-se email
 
4:48 PM
I'm user 3
 
(also Art did specify only those three people :P)\
 
2 mins ago, by ArtOfCode
others of you with a gmail or icloud address may also be able to get in
 
what's my charcoal-se.org address @ArtOfCode?
 
@K.Dᴀᴠɪs Keep trying, sometimes it takes a few attempts :)
 
@Undo pretty sure it's undo@
 
4:49 PM
huh
 
heh. The confirmation email ended up in zoho's spam folder
 
Team Guides?
 
@Andy yeah, likewise
okay, hotmail and yahoo addresses...
 
well hopefully having to change the email won't be a pain
 
It doesn't want to show up in my gmail
 
4:50 PM
Let me be the first to post spam on Charcoal Team!
(see if smokey catches it)
 
@Undo it got to mine
 
@Undo it takes a minute or 2
 
it's a little slow
 
@Andy it is related to spam
 
should I start filling things in or?
 
4:50 PM
@Undo Or zoho stopped it because it's spam
 
~o~ ~o~ ~o~ ~o~ ~o~ ~o~ ~o~ ~o~ ~o~ ~o~ stop taking so long ArcOfTode
 
oh
 
@Christopher @M.A.R. @K.Dᴀᴠɪs @Tinkeringbell who's around?
 
here
 
I'm already in.
 
4:51 PM
|o
 
@ArtOfCode \o/
 
@K.Dᴀᴠɪs gonna ping you an email that'll have a confirmation link in it, don't click the link, just send it to me so I can click it
 
[control-freak]
 
@Undo wanna get @K.Dᴀᴠɪs into the room?
 
:P
 
4:52 PM
@ArtOfCode That sounds like an excellent phishing scheme
 
@ArtOfCode the practical approach to csrf
 
Charcoal Community Elections 2018!
 
@ArtOfCode you should be an owner
 
@ArtOfCode I am almost a sphere
 
Im usr nmber threa, so that maks me kwalified for mod toolz
 
4:53 PM
Eeek, I have only 1 repz!
 
@Mithrandir 101
 
:( No association bonus in teams, apparently.
 
@M.A.R. likewise
 
Hey @Undo @ArtOfCode so we noticed that you've added gmail.com and icloud.com as allowable emails in the team that means pretty much anyone with those could join your team.
 
4:54 PM
Hehe, someone is watching then :)
 
@ArtOfCode Done :)
 
Yup, just trying to see how much we can break things
 
12 mins ago, by ArtOfCode
I verified gmail.com and icloud.com, IOW completely defeated domain-email based auth
 
@ArtOfCode just checking
 
@Taryn We're a bunch of chaos monkeys intent on utterly wreaking havoc
 
4:55 PM
@Henders sounds fun
 
@Mithrandir I'm just gonna ignore that right now
:P
 
@Mithrandir I'm a chimp and smarter than you
 
The page layout seems a bit wonky.
 
@Taryn More seriously, if you don't want us to do something, let us know.
 
climbs a ladder to get bananas
 
4:56 PM
@Taryn If we de-authorize it after people are in, will those people get kicked out?
 
New metasmoke user 'Kendra' created
 
@Taryn - I was going to say hi earlier but you left about 30ms after joining! :P
 
@Andy it's fine for now, just making you aware that it makes it pretty open, unlike if you had all charcoal emails
 
@M.A.R. email in your inbox, drop link in here
 
@Catija :shrug:
 
4:56 PM
@Taryn Understand, thanks
 
@Catija seems like a good opportunity to test
 
@ArtOfCode I am now, on mobile
 
um
> at least one tag such as (corn-for-horse)
it's pulling tags from here
 
well this is an excellent way of not having to play silly buggers with email address allocations
 
emergency alert
 
4:57 PM
@Taryn I think the concern we were having was that we don't have enough emails to go around, so Art would have to do some... weird stuff.. to get people in.
 
@quartata no, I asked a sample question
 
@Undo oh
false alarm in that case
 
Great, how am I supposed to post the link in mobile?
 
@ArtOfCode Apart for those of us with personal domains :P blushes
 
@Henders yep, I'll get to you guys. We'll have plenty addresses to go round just those people :)
 
4:58 PM
woo! personal domains
 
Sooo on mobile clicking the big "Stack Overflow" link goes back to public q&a
 
@Catija no worries, just figured I'd drop in and mention it.
 
@Mithrandir as on desktop
 
"what's your on-topic question" HAHAHA
 
@Mithrandir yeh, it's a bit annoying that it's still pretty connected with main so
 

« first day (1572 days earlier)      last day (2243 days later) »