« first day (2553 days earlier)      last day (2399 days later) » 

6:00 PM
or however many the normal number is
 
> all 6
 
so, you can get insta-suspended now? Or only if anyone flags you and there's a blacklisted word? How does that work?
 
"5 senses" is a myth
 
I mean, I totally deserved it, but still
 
@towc enough flags and you get insta-suspended
 
6:00 PM
@towc you hit +4 before I could click
 
towc got flagged?
 
been like that for a while
 
I missed the party?
 
@towc A mod can suspend you at any time, I think
 
+6 or +8 is the ban line
 
6:00 PM
:)
 
@towc how long were you out for?
 
@rlemon no party, just one message
 
He was probably talking about how cool he is for using vuejs
 
Yeah I got flagged a week ago and a mod came back in and adjusted it to a week lol
 
mods accepting a flag iirc make it longer
 
6:01 PM
@rlemon like 30 minutes
 
if it's a 30 min, likely just validated
 
it said automatically suspended for inappropriate content. Can you pick the reason for a flag when you flag? Too scared to try and then see that I can't take the flag back
 
user1596138
I did it using MobX built in shit
 
@ssube flags - counterflags - 0.25*unsures >= 6
 
it was 30min, yeah
 
6:01 PM
@towc no that's the generic message
 
@rlemon lol nah I got flagged on something that had nothing to do with my ban. The mod just came back in and saw my deleted messages and banned me cause of that lol
 
@towc no
 
user1596138
@towc You said you were going to assault his dog
 
oh, I guess it's always inappropriate content when you flag
 
it better be
 
6:01 PM
@Jhoverit assault is another way of putting that, yeah...
 
otherwise you're flag spamming
 
@Jhoverit again, I totally deserve it, but a warning would have been nice
 
user1596138
It literally says "Flag as Spam/Offensive".
 
@Jhoverit to clarify, I meant code smell
 
@ssube in a general sense could I set something up that stored filter terms in categories and let me assign categories to docs?
 
6:02 PM
@towc you were warned when you read the rules
 
user1596138
@towc A warning? You think it was me lol
 
why are you deleteing something from an observable
that's cray
 
user1596138
You got warned by getting banned for only 30min.
 
@Jhoverit always your fault ;)
 
user1596138
@Mosho It's not crazy at all. Data grows and shrinks
 
6:02 PM
@Mosho I think it's something being observed, not part of the observable
 
user1596138
I have a @action to remove an entry lol
 
@Vap0r yea what I'm saying tho is that if a mod deletes the message, their name attaches to it. if a mod suspends you it also says you were suspended by a mod. but if a mod validates a flag the flag is instantly put through (no more voting) and I'm pretty sure it's an hour or two, not 30 min at that point
 
hence needing a copy rather than delete
 
> Feeds
5:28 PM
deleted this message
but towc was a natural flag
 
@Jhoverit I would nullify stuff I don't need anymore
 
user1596138
6:03 PM
No I have 6 things in this array, one of them has been deleted through the API and needs to be removed
 
user1596138
@Mosho So have a null property lol
 
user1596138
That's whats cray
 
yeah
 
@rlemon yeah I believe it's an hour for the first, but then they start stacking and not many people know about all the mechanics behind stacked, validated flags
 
@rlemon which message?
 
user1596138
6:03 PM
delete has a proper use.
 
why is that cray
it triggers all the observable things
 
user6638423
hello guys
 
@Evan 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.
 
@Jhoverit what is it? I've only ever seen people trashing it
 
@Vap0r flags only stack time if you're getting flagged on multiple messages
 
user1596138
6:04 PM
@Vap0r inorite lmao
 
user6638423
can somebody please take a look at my question?
 
@Vap0r have you thought about not probing the depths of that system?
 
user6638423
it's urgent and have found no solution yet :/
 
@Jhoverit check if there is a mobx method for doing that
 
@KendallFrey ugh, you gonna make me find it? it was about forcing himself on a dog
 
6:04 PM
rather than delete
 
user1596138
@Mosho There is.
 
sounds like undefined behavior to me
 
user1596138
And I am using it.
 
oh
 
@Vap0r I certainly run rlemon's dark chat now, yup
 
6:04 PM
@rlemon I found it
 
user1596138
I only asked what that batshit syntax was because I found it randomly
 
and what happens after that
 
but shhh, @rlemon doesn't know it yet
 
user6638423
-1
Q: Google maps searchbox, if I hit 'enter' marker moves to next dropdown list item

EvanOkay so there is a bug in this code which I've been trying to fix in many different ways but I can't seem to find one that actually works. So I have a google map that if I type a city and hit 'enter', the marker moves to that city as expected, and if I select a city from the dropdown list and cl...

 
user1596138
I didn't want to use it
 
6:05 PM
quick qeustion. How to get current time in this format
2017-10-12T18:15:44.676Z
 
user1596138
That's utc
 
@ssube I'm never looking for flags, but I'm also never gonna censor myself to avoid flags.
 
!!> new Date().toJSON()
 
@ndugger "2017-10-12T18:05:37.534Z"
 
that's not the format
 
user1596138
6:05 PM
!!> new Date('2017-10-12T18:15:44.676Z')
 
@Jhoverit "2017-10-12T18:15:44.676Z"
 
user1596138
Baha
 
But yeah I have a pretty good idea how stacked flags work now lol
 
user1596138
@Mosho What do you mean? lol. It gets removed and I move on to the next piece of functionality
 
@Jhoverit I wasn't joking, is there a valid use for the delete keyword?
 
6:06 PM
I don't use the chats enough to know how the mechanics work
I should probably use chats more
 
@Vap0r when you want to remove a property from an object
 
@Jhoverit I thought you were using actual delete
 
@ndugger Thank you!
 
user1596138
I would've if it made sense for an observable. Obv it needs to know it updated tho
 
yeah so we agree :P
 
6:07 PM
@Vap0r You mean multiple flagged messages? Suspensions are cumulative, 30min each
 
user1596138
I mean
 
user1596138
I could do like
 
suspend me daddy
 
user1596138
@action blah(prop) {
  delete this.observableThing[prop];
  this.observableThing = {...ths.obersvableThing}
}
 
@KendallFrey is there a time after which it resets?
 
6:07 PM
@ndugger from which appendage?
 
I'm pretty sure I've been suspended before
 
@towc Once your suspension expires
 
you know which one
 
user1596138
Lmfao but that'd jus be stupid
 
@ndugger alright, hand me your scrotum
 
6:08 PM
@Jhoverit that is the same as that omit thing
 
@KendallFrey no not in my experience. Suspensions stack. First suspension is 30 minutes, then an hour, then 2 or 4 (forgot which) and then Madara came in and gave me a good suspension
 
@towc there is some stacking that resets after 24hr
 
user1596138
Yea
 
ok, that makes sense
thanks
 
user1596138
Same result
 
6:08 PM
@KendallFrey flagged
 
@towc if you get one message flagged, and get 30 mins, then another message flagged and a 30 min for that, you'll have an hour suspension.
 
user1596138
Except you can't delete on these
 
never tried
 
woop woop!
 
the 24 hour timers are for chat bans (3X kicks)
 
user1596138
6:09 PM
Like I said I googled the MobX method for this and found people proposing outlandish solutions that confused me lol
 
mobx is easy, bruh
 
I still wouldn't delete properties
unless they're arbitrary
if I have a state type/interface, everything is either something or null
 
delete window.window
 
user1596138
If I have a object of data
 
@ndugger false
 
6:10 PM
I think playing with the keys encourages making a mess
 
user1596138
Or an object containing multiple layouts or anything like that
 
user1596138
When I delete one of them, why would I set it to null?
 
void delete window.window
 
void bowels
 
@Jhoverit what does multiple layouts mean
 
6:11 PM
bowels voided
coworkers unhappy
 
user1596138
Anything
 
@ndugger are we playing the keyword sentence game?
 
no
 
@ndugger undefined
 
user1596138
You have an object containing N things of the same type
 
6:11 PM
in C# , Jul 25 '12 at 17:46, by Kendall Frey
get this long unsafe object into new sealed case for catch volatile yield if void is unchecked public interface
 
user1596138
You remove one
 
@Jhoverit objects should have one "type"
unless it's an actual dictionary or array
 
user1596138
Why do you want a placeholder null laying around?
 
user1596138
....
 
user1596138
You have an object. It has mofo keys. Mmkay?
 
user1596138
6:12 PM
You're done with one of the keys. The user deleted the corresponding entry
 
user1596138
The data, everything should be GONE
 
actually wonder what's the longest string of space-separated tokens in javascript
 
user1596138
Why do I want my object to have nulls
 
user1596138
Why not remove it? It's gone for eternity.
 
6:12 PM
@Jhoverit sounds like a dictionary
 
I guess void void void void ... window works :/
 
@towc tokens? Basically anything
 
@rlemon LOLOL
 
so no recursiveness like that
 
user1596138
Lmao
 
6:13 PM
but
 
user1596138
Why am I wasting my time
 
in that case, I would use an array
 
user1596138
SOmetimes when you have very very large sets of data it makes more sense to key to a unique property than to continuously iterate an array to do operations
 
how about unique tokens?
 
@Jhoverit that right there is exactly why people treat you the way you complain they do
 
user1596138
6:13 PM
But yes, technically this is better suited for an array
 
user1596138
@Mosho Do I complain? I don't give two shits
 
user1596138
I just extend the ignore list lol. Buh bye
 
enough drama
 
did he just get kicked lol
 
6:14 PM
you did this yesterday, it's not happening today
 
@BenjaminGruenbaum see github
 
user1596138
Didn't do anything yesterday or today lol
 
user1596138
6:15 PM
I remedied the situation. I can't see him anymore
 
user1596138
So. Carry on
 
user1596138
 
user1596138
@rlemon
 
user1596138
ded
 
6:18 PM
/r/watchingpeopledie
 
get that shit outta my onebox
 
and into my mouth
 
use the dark theme
2
 
praise be to ssubus
 
user1596138
I did it for the Kendall
 
6:19 PM
I'm just giving my unbiased opinion
 
user1596138
God man I am constantly trying to find out what's wrong when I do {name} => name
 
user1596138
Wish you didn't need the extra parens
 
it would be nice if the compiler knew my intent and not just what i've written right?
life would be so much easier.
 
github is working on that
 
user1596138
Right lol
 
6:20 PM
{ name } => { name }
compiler is dumb, obvs
 
user1596138
@ndugger But then I have to have a return
 
user1596138
Adds even more
 
stop reading what I type
 
user1596138
Wait lmao that aint gonna work either
 
user1596138
Yea, good idea
 
6:21 PM
You could just do the original way of a => a.name
 
no
 
If only this worked the Haskell way so you could just literally do name
 
destructuring params is all good and fun until you need a nested default
@KendallFrey you want with :D
 
with (a) return name
 
user1596138
@KendallFrey Yea but I feel I need to name it descriptively and the top level name is always bigger than the destructured lol
 
6:22 PM
@ssube No, that's different
 
user1596138
In my case it'd be like layout => layout.name === layoutName
 
x => { with(x) { return name } }
 
user1596138
Vs. ({name}) => name === layoutName
 
user1596138
God what a waste of time lol. I should just use either or and move on haha
 
@ndugger with? lol
 
6:23 PM
@Jhoverit Why not follow the convention of single-letter lambda names?
 
hell yeah
 
haven't seen that used in a long time
 
with is #1 keyword
 
user1596138
@KendallFrey We decided as a team not to use 1 letter vars
 
user1596138
Except for e
 
6:24 PM
That's fine :P
 
@KendallFrey that's not a thing in JS land (yet)
 
That's just what I'm used to
 
user1596138
Yea I always want to _ =>
 
user1596138
But meh
 
I only use e when passing the event from the react component to the handler, but then its event
 
user1596138
6:24 PM
Yea e is always event
 
@Jhoverit dude, look up underscore in scala to see how wrong that can go
 
did you just assume my e?
 
they have 12+ different conventional uses for it
 
wow elements are mad
 
it's a mess that they walked right into
 
6:25 PM
r-eeeee
 
stop making fun of eminem on facebook jason it hurts my feelings reeeee
 
@Loktar some of my elements have started crab walking across the page, plz help
 
I often use x in lambdas for reducing
 
@Loktar towc was trying to rationalize it the other day
 
array.reduce((acc, x) => ..., ...)
@rlemon I was considering using it for one specific purpose :/
which I now regret, sure
 
6:27 PM
Lol
 
user1596138
@ssube lmao
 
user1596138
I was playing Like Toy Soldiers in a Snapchat and basically got gang raped because people thought it was the Trump dis lmao
 
@towc I always use (p, c) for those
prev/current, body/next, something like that
 
I don't know if to ewww or be impressed
I'll do both
 
idk
 
6:28 PM
eslint poops on me if I try to do _ => {} because of an unused variable
 
@Jhoverit YouTube drunk Trump. It's his speeches slowed to half speed.
 
what class is required to crawl the contents of a .pdf?
 
user1596138
Lmao okay
 
pdf crawling 101
 
with nick
 
6:28 PM
with professor dank meme
 
i crawl before I can walk
 
user1596138
@ndugger Yea same but I like that. I say use parens if it consumes no args
 
that's what he said nick
@Webster good point.
 
@ndugger mobx runInAction as well
 
pilt
 
6:29 PM
@Webster in all seriousness, that's gonna suck and you need a library
there might not even be a good one, pdfs are bad news
 
lambdas without parameter delimiters are an abomination :/
 
A PDF library?
 
even if you have just one parameter, (x) => {...} the shit out of it
 
@Vap0r a pdf parsing one, specifically
 
my bosses didnt say "do it" they said "see how hard it is to do and report on how youwould"
 
6:30 PM
@Vap0r call the digital librarians!
 
a pdf collection, just in folders with english names
 
librarians are not real
 
do the pdfs just have text or are there other elements?
 
gosh, that's actually a job I might see myself doing
 
@Webster "it's hard, and I'd hire someone else"
 
6:31 PM
growing some basil on the side
 
I don't know specifics, but I do know most of the problems around PDFs are the format changing without warning
so the simpler they are, the better off you'll be
 
thers pictures and links but those don't matter
 
@towc if it's a job you can hear yourself doing though you might not be cut out to be a librarian
 
living inside the library in a separate portion with my wife, kids, and plants
 
i don't expct the format to change
 
6:31 PM
my professional recommendation is to print and scan them, use ocr
 
no don't
 
what do you need out of the pdf?
 
wellthe library is digital
 
just print them, shred the paper
 
i need to search the contents with the search box
or report on how to do it
someone said php
 
6:32 PM
that's getting into elasticsearch territory
 
so you need a comprehensive parser for a pdf file so you can extract all of the contents?
 
at least for the search side
 
good dream
 
papa bless
 
6:33 PM
no like var contents = getElementbyContents(.pdfname)?
 
what even
 
it takes a little more code than that
 
@Webster and what are you going to do, store all the contents, then search through all the contents?
 
just trying to search the contents, if it needs to be loaded into a database than okay
 
so you want the contents of a pdf so you can search against it?
 
6:34 PM
if you want to search large volumes of text, you should put it in a text database
 
@Webster what would the searches generally be for?
 
yes?
 
if you press alt + f4 it unlocks special JS apis that let you search by contents
 
oh, they want this list of 40 docs or so to be sliced and diced every way
 
@Webster the industry, the process they are describing, or something more like some obscure measurement used in that process, contained within the PDF?
 
6:35 PM
@Webster full text search?
 
already they can look at it, look at a list of it, search titles, search file names, search keywords, but not search contents
 
@Webster because it might make more sense to just do a keyword/categorical search in most of those instances, rather than a full text search
 
yes
?
 
learn yourself some elasticsearch
 
Oh I have the category search keyword search working
 
6:36 PM
spandexsearch
 
google search in the upper right searches pdf contents
 
@Webster you won't do this live. you'll need to find something to extract the text from the pdf and do something with it
then you'll take that something (database) and search against that
 
@Webster are you working for that site?
 
yes
 
Kurz?
ok, then use google search
 
6:38 PM
i work for a flow meter manufacturer
 
They already indexed all of your PDFs
then limit filetype:pdf
 
yeah, they want my search box to do it
 
you might be able to use google's api?
to do what Vap0r suggests
 
Well make your searchbox use google API
And restrict filetype:pdf
it'll work great
 
add a "search contents" checkbox and switch to google api
 
6:39 PM
google business is going out of business within 6 months, google free site search is branded with ads and results from out there
 
it's not a bad idea and the alternative is standing up a full text database
 
@vapor i like the idea, id lose my filtering and keyword search if I did that
 
@Webster no it's not google business, and it's not google free site search with ads. Search for Custom Search API
 
Mistaek
Not this
 
google serves their results in a googley format, I have my thumbnail gallery going
 
6:41 PM
hi
 
@Webster you use their API. The API gives you data, and you style the data
!!Welcome KevinB
 
:(
 
@rlemon @Loktar @KendallFrey @ndugger i.imgur.com/ZFWIFzP.jpg (Maybe nsfw)
 
lol
 
6:42 PM
your memes are mediocre
123
 
You are mediocre
 
> yOuR mEmEs ArE mEdIoCrE
but yeah, 123
 
you are midi ochre
 
this is a mutiny
vap0r and I are taking over
 
Deal
 
6:43 PM
*This room was placed in timeout for 10 seconds; no, you are not
*
 
not it
 
yes we are
cry
 
!!cry
 
I thought it would take way longer than 10 seconds for you to satisfy your need to abuse authority
 
6:44 PM
123
 
abuse?
ask to get hit then complain when you get hit?
 
lemon is nothing if not quickly satisfied
 
The boujee-wazee will fail!
So says rlemon!
 
thanks comrade greeting card
 
I'm running for office, who wants to join the lemon party?
 
6:46 PM
pee on me daddy
 
rlemon you've got no juice
 
I'm all rind
@SterlingArcher i.imgur.com/ocxSeib.gifv
 
You went for the joke with the most a-peel
 
would crawling the .pdfs and putting contents into a database to search be all doable with JavaScript and Jquery?
 
jQuery for sure
 
6:47 PM
@rlemon I hope you conseed victory to me in this pun war
 
how ambitious are you, Webster?
 
If you are ambitious enough parse it with regex
 
I'm not going to do it, I'm writing a report on how much I can't do it
it recently came out at work that I'm supposed to be the programmer
 
user6638423
anybody there guys? can somebody please take a look at my question? stackoverflow.com/questions/46713275/…
 
@Webster you know just because you waited 10 minutes to ignore my answer doesn't mean I never provided it.
 
6:48 PM
PDFs are mostly binary
so that's your first problem
 
@Vap0r 🍋
 
Oh Vapor I read ti, I read them all
I appreciate your help
 
An award lemon!? Victory has never been so tart!
 
google results lok like google results
 
no victory, I'm just hanging out over here
 
6:49 PM
ive looked into custom search APIs
none sinmple or free
 
this is somewhat horrifying for some reason :/
fn add_one(x: i32) -> i32 {
    x + 1
}
 
@Webster are you working for free?
 
When I see new code in 2017 that's using var, it makes me want to pee on a dog
 
that returns x+1, but this doesn't:
 
nope i am being paid
 
6:50 PM
fn add_one(x: i32) -> i32 {
    x + 1;
}
difference is the semicolon
 
im not sure I can learn this javascript in the time given
im in emergency mode
 
@ndugger I just /var /window./g replace everything to avoid this
 
you'd have a hard time doing it in JS even if you already knew it
 
ActionScript is the new JS
 
just use jquery
 
6:50 PM
@Webster if you are being paid then anything you write won't be free either...
 
jquery is the answer to parsing and indexing pdf contents
obviously
 
right. we're a weird little company, i'm a fixed cost, pay for code libraries is an over expenditure
 
@Webster are you a contractor working a gig economy?
 
pay for libraries? what is this, C#?
 
paying $100 for a library is probably cheaper than you getting paid $500 trying to find out that you can't do it
just saying.
 
6:52 PM
IDK, pay for solutions
 
all the good JS libraries are free
 
@rlemon he wants to prove that it can't be done to his boss
 
or do it easy and for free
 
the only part you might pay for is the PDF parser
 
6:53 PM
in the same way people can spend more time looking for libs than it would take to write them, people cost their companies more money trying to get a 'free' solution than it would cost to just buy a pre-fabbed one
 
what is drugs?
 
I'm normally highly productive, I'm quarantined with this website until its 100%
 
@Webster can the website be considered complete without PDF full text search?
 
if I make a convincng arguement
what was the easy and free option?
 
user8581664
Could someone help me figure out how to get this bookmarklet that I made working? It should try to replace a string and if it doesn't, then it should go on to the second part and add a string to the beginning of the url. jsfiddle.net/samgurdus/koyb3eeb/10
 
6:57 PM
you got syntax errors
 
the free and easy option is shipping without pdf content search
 
user8581664
rlemon me?
 
yes
 
user8581664
what needs to be fixed?
 
hit F12 and check.
 
6:58 PM
Why do you have random };'s?
 
user8581664
oh i didnt even notice
 
clearly
 
user8581664
I had them inside of functions and forgot to delete them
 
@Webster easy is relative. I would say that elastic search as mentioned by ssube isn't too difficult, and it's free. I would also say that using javascript to do this would be bad, difficult, and not worth it. I would say that using the google search API is probably easiest, but might not be free. Then again if you're going to convince "management" that anything is worth/not worth it, it should be to convince them that paying for Google Search API is worth it.
 
> cheap fast good pick two
 
6:59 PM
@Webster I can, right now, search your site by pdf contents
 
feels relevant to this conversation
 

« first day (2553 days earlier)      last day (2399 days later) »