« first day (2573 days earlier)      last day (2390 days later) » 

12:09 AM
Slack's down. My life no longer has any memeing...
 
Are there tools to process logging?
locally
 
12:26 AM
I shot myself in the foot with too many logs
although them not streaming is kinda confusing
 
12:59 AM
morn
 
1:15 AM
@HatterisMad There are forums for everything. Everything.
Everything. I just wanted to make that clear.
 
how many things are there forums for?
 
All of them.
 
@Tavo Bahoooo Hooo Hooo
 
that's a weird greeting, but hey
 
On the lonely night shift.
 
1:21 AM
The night shift is beautiful.
Sleep is for the weak.
 
sleep when you are dead
 
I am already dead.
 
I am already asleep.
 
then you both enjoy your sleep
in other news, I had to save an ant from drowning in my coffee... Not the best way to start the day
 
slack is down
 
1:25 AM
i thought it had just come back up?
 
slack is terribly slow on my computer
 
it has been screwed for a few hours, but i can use it atm
 
You mean you had to prevent an ant from drinking your coffee.
 
seems they say it's still a little screwy: status.slack.com
 
> Spit it out, you little fucker.
 
1:26 AM
@Luggage I had a milkshake yesterday that had chocolate syrup that hadn't been stored properly and was full of ants
 
ew
 
don't know how many i swallowed while gulping down that milkshake
yeah... not good
won't be going back there again
 
I.. could maybe not handle that.
 
@Luggage well, considering she tried to go back in, that might be more accurate
 
didn't have to pay for the milkshake though so at least i have that going for me
 
1:27 AM
@david more proteins
 
just eat the ant it is protein
 
The rest of the day was actually quite hard, constant fear of barfing if i thought about it too much
 
yea. if I have to deal too much with ants, I see them when I close my eyes
or just randomly imagine them on things for a while
 
@Luggage ants in my eyes Johnson
 
This milkshake situation might require counseling if I went through it.
lol.. yea
not literally, but. ugh.
 
1:34 AM
What's the best way to make an audio conference in js? Is it still webrtc? What do google/facebook/skype use instead (and is it open source?)?
 
2:16 AM
Oh no
Alcohoscusc bad dotyczy you
 
yes
 
 
2 hours later…
4:15 AM
So, rfkill is now a part of util-linux. Hmm.
 
hi guys
anyone here?
 
4:59 AM
no
 
5:27 AM
🚽
 
 
2 hours later…
7:06 AM
I really like the Laser 84 font, but the kerning is all messed up
 
7:20 AM
o/
No offense to you. But what is wrong with you?
Kendall Frey
0:03
Terrorist attack in NYC, 8 dead
too soon but I liked it
 
7:43 AM
@KendallFrey that is way beyond the line, seriously WTF?
@Tavo you said morn :D
so I mourned ;)
I mean I am an ogre after all bahahaha
 
bahahahaha
 
@Tomm hey tom, what brings you to the ogre's bridge?
 
The Gingerbread Man
 
Curious!
@MadaraUchiha o/
 
7:54 AM
@ShrekOverflow sounder more like a ghost imitation
 
bohohohohoho
 
LOL
I am in a good mood today
 
Im not
 
That ws sarcastic.
I am pullling my horns off trying to debug a node stream being a bottle neck issue
 
I am working on this project for internship and I am stuck as hell
 
7:59 AM
somehow I have managed to make heavily IO based async code run slower than sync Python :|
@Tomm just ask away :D someone might help ya
 
I do not even know how I am going to format this question lol
 
Raw dump?
as long as its in english :)
and not poop
 
I have a html table being fed with a php while loop ( sql query)
Now i have to be able to fetch row specific data and the system also knowing it is from that row, which is retarted since its a loop
and i also have to be able to filter on date by the output of my jquery datepicker
 
If I am not mistaken you might need Ajax here
 
I have never used ajax before
cause last time i used ajax my jquery did not work anymore
 
8:02 AM
AJAX is a concept
not a jQuery method :)
it basically means pipe your data down exactly when you need it
 
hmmmm
 
and now I am going to bed.
 
Sleep well my ogre
 
Before I go
@jAndy THE GAME!
 
sup fam
 
8:16 AM
hey, is there a better way to write this:
  (this.isDisabled) ? this.letterFormControl.disable() :
an if-then ternary operator, but with no else statement. The colon at the end seems kind of clunky
 
did you try google?
 
googling now
 
8:31 AM
if (this.isDisabled) this.letterFormControl.disable()
 
this.isDisabled && this.letterFormControl.disable();
?
 
yeah, that works, thanks. It doesn't pass validation in my linter though. Says unused expression. I might just think with the long-form if with curly braces
*stick
 
Does anyone here have a Mac with Safari 11 on it?
 
8:51 AM
is there any point any catching errors if you don't do anything with the error?
 
@MadaraUchiha nope
 
apparently she had a friend over and that was that
 
@joshhunt Supression
Although you usually want to at least log it somewhere
Uncaught errors by default blow everything up
 
right, that makes sense. are there times when you would want it to throw an error? Like if it is an integral part of the application and it won't work if there is an error there? Or is it generally just bad practice to not catch errors?
 
@joshhunt Sometimes you don't know what you want to do at the lower levels of your app
You sometimes need to let it bubble up the stack trace until you find a place that knows what to do
 
9:06 AM
thanks!
 
I have a scenario where I have to search for School Names in a database, this is inside a Motion.ai Chatbot with NodeJS. In database there are two school names, Glendowie School, and Glendowie Kindergarten, now user enters Glendowie Primary.
`http://localhost:8000/api/Organisations?$filter=substringof(\'' +schoolName+ '\',Name) and Addresses/any(a: substringof(\''+schoolAdd+'\',a/StreetAddressLine1))`
When Glendowie Primary is searched, it returns empty result. How can I make this search a better one?
 
since it contains a space, just look into it if there are no results
 
Meanwhile, is there a way to make a success search when School name are spelled incorrectly, by one character.
 
IF no result and hasSpace THEN split text and search by LIKE %split%
at that situation, you have to do more complex stuff
i assume it's a task for school. don't overcomplicate it
 
No, it's not for school project. I am building a chatbot.
 
9:11 AM
a better approach is to provide an autocomplete feature
it hints the person which results are present. It is also more easier to implement
 
I am not sure if Motion.ai chatbot supports that.
 
like if the word in the search box is "Glendow" then you show those 2 schools
 
You can also function it like a datalist ( they have a list which people can choose out but if you type anything in it it suggest you your answer) like karel said
 
write a solution for that then :P
if you intend to reproduce the behavior at google's search engine, know that there are years of study behind it
 
yes I get that @KarelG. I have one idea i'd like to share.
 
9:14 AM
Luzan
look at the top of this page
This is using ajax
idk if this helps you
 
I am using NodeJS inside Motion.AI, and not a master javascript developer. But I have an algorithmic concept, let me express it here.
What if we do an autocomplete call on every char after first 3. So we have call on:
Gle
Glen
Glend
Glendo
Glendow
Glendowi
Glendowie
 
tbh i think you should work with a checkbox or a datalist or something like that
cause both the school start with glendow
so is that what you want to put your focus on
 
I can't use checkbox inside Motion.AI
 
hmm k\
i just dont think autocomplete is usefull
since both school start with glendow
its just the primary or kindergarten that is different
 
No in Database there are more than 1000 schools.
 
9:19 AM
but you gave us primary and kindergarten
sorry
your information is what i was going off
 
That was just an example. Sorry for misleading info.
 
then yeh autocomplete is better
 
10:17 AM
is 2d canvas no gpu accelrated ?
but 3d canvas is?
 
3d canvas isn't a thing
it's webgl
and yes, webgl is HA
 
hi towc
 
its a shame that 2d canvas is not HA
 
10:32 AM
cant i download and use reactjs like angularjs?
 
one of the main points of the 2d context is that you can control every pixel and treat it as a matrix without additional forms of abstractions. I think that means it's not meant for parallelization
 
@Abhi google create react app
ok
 
ok
 
nok
 
10:48 AM
guys, I am scripting Acrobat and do not know how to solve 1 task: I need a MouseUP button script which will take different (sequential) values from array every time when a user leaves the Mouse button... any help??
 
10:59 AM
wow checkout deeplearn.js
 
hello to all.. why is maximum call stack size exceeded error happens?
 
@NuriEngin 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.
 
epilepsy warning
 
?
 
deeplearn.js
Don't set z1 time, z2 time to max
 
11:08 AM
@littlepootis check starboard
 
Oh
Switched from Arch Linux to Windows 7
 
I just switched my Node version switcher. Someone should write something that makes switching version switchers easier
 
dat switch
 
@Tomm I'm able to separate the quality of a meme from the context in which it arose.
 
@KendallFrey liking a terrorist attack is pretty sick in your head
 
11:16 AM
@Tomm What? I didn't like a terrorist attack.
 
I am not talking about the meme you linked
i am talking about your context
 
12 hours ago, by Kendall Frey
@HatterisMad the link text describes the link content, nothing else
 
Terrorist attack in NYC, 8 dead

too soon but I liked it
Not to be ruid the next time you link something with that think about it twice
 
Removing the context is intentionally twisting what I said
@Tomm Alright, I'll try to specify I'm talking about a meme
 
Do not throw your head to it like that now
we all make mistakes
and I just pointed it out
 
11:19 AM
halp, I cant script in java !!!11
 
teresko what is your problem
 
how the hell can I get a reference to the node, that I just added, if I used a DocumentFragment?
let node = containerNode.appendChild(fragment);
the node actually is the DocumentFragment again, which means I can't actually manipulate it
I think (checking something)
 
* pats tereško's head *
 
yeah, it's returning an empty DocumentFragment
 
@tereško that's because it's not a node, it's a fragment
you can have a wrapping div
and save a reference to that
etc.
 
11:23 AM
then I need to pull the lastChild from that div .. which will probably end up sometime a TextNode ... then I will need to guard against that
 
depends on you, I guess
 
I mean, is there a simple way to get a hold of the newly appended node?
 
what node though
that's the point
 
the first child node of a fragment
 
you would have to select it
or save a reference to it
 
11:25 AM
I can't get the reference
I think that's because the fragment is actually created by importing a template
FML
 
but
I don't see why you can't just get the reference
before you append it
 
because the fragment shows up as empty
 
before you append it
shouldn't be empty
 
yes
 
the nodes get "moved" when you append it
but before that they should be there
try
const nodes = Array.from(fragment.childNodes);
before appending
and see if the elements are there after appending
I just did it in a fiddle
 
11:31 AM
nevermind, I missed the generalization diagram in the MDN
 
the what
 
inheritance
 
you need Array.from to make a "copy" because fragment's childNodes gets cleared when you append it
so it works?
 
anyway, this was the key:
5 mins ago, by Mosho
the nodes get "moved" when you append it
thanks
 
cool
np
 
11:33 AM
Liking nvs so far. Good stuff. Feels way better integrated into standard workflows than nvm
Especially npm version switches seem to be handled more gracefully than with nvm
I also like the distinct separation of switching and persisting
Even though it threw me off initially
 
wrong chat
 
@Mosho I hope you used protection
 
@OliverSalzburg ( Í¡° ͜ʖ Í¡°)
 
12:20 PM
@Loktar @KendallFrey thingiverse.com/thing:1188689 tried to print this in one go
support nightmare
 
So just like IE in that regard
 
ohh yea
@Loktar @KendallFrey @FlorianMargaine
user image
6
 
I posted that to the fb group
god, I hope I don't get banned :D
 
@SuperUberDuper Pretty sure it is
Only using imageData directly wouldn't be hardware accelerated
 
12:27 PM
It was my understanding that you could have your 2d canvas be hardware accelerated if you initialize the 3d context but never use it
 
Certainly using fillRect is significantly faster that drawing a rectangle using imageData
 
I would imagine so
 
@copy I'd think that's just because the fillrect is done on a lower level than iterating through the javascript array and it having to deal with types and stuff
I know chrome has an experimental flag for HA of the 2d context, but it's off by default
at least last time I checked
 
I need a table
 
oh, it's on by default now
 
12:40 PM
@rlemon where do I buy a cheap desk
 
oh, there's a chrome://gpu/
 
Decent table, but the 'particle board' is a turn off. I need a nice tough table for when I get angry and bash my fist into it.
 
good point
 
@Mosho no clue.
I'm about to fight with SYS
 
12:44 PM
Joking a side, if you ever want to do one of those desk-mounted VESA monitor stands, that is a no go. Because the whole setup will crush your desk.
 
they failed payment on 3 cc's so far. pissing me off.
 
@hilli_micha I want to get a hipster desk down the road
for now I just need something
 
IKEA may be an option for you. They actually sell a hardwood desktop for around 80 USD here. The legs are like 10~ a piece?
 
yeah I guess
but I have to go to IKEA :\
 
Sorry, 90 USD. But still, hard wood.
 
12:48 PM
I would really like to not go to IKEA
if possible
 
in my country ikea also delivers if you order it from site
 
I'm sure they do here too
 
then that is your answer
you do not have to go to ikea
 
Well, provided the shipping is free. If not, that'd be an expensive bill.
 
@Mosho try teppermans
 
12:51 PM
will do, thanks
oh
well that's neat
 
yeh no worries only 700$
 
I just spent that on a year hosting
a desk lasts longer than a year
sounds like a good deal.
 
> Our review of the IKEA Bekant has been revised multiple times since our first write-up in February of 2015. With each revision we’ve had to lower our rating due to field reports from customers who purchased the Bekant only to have it fail, if not out-of-the-box, within weeks of installing the product
nice
> Due to the unfortunate pattern of consistent user reviews we’ve had to lower the rating all the way to the unprecedented bare minimum of 0.5 stars
 
I prefer just having a table, as opposed to a funny shaped desk. I do plan on getting an Executive-style desk when I redo my office, but I don't know when that will be.
 
I build my own desk
 
12:57 PM
heh, looks like amazon is a SPA now
 
@hilli_micha I got one, kinda regret it now
they're nice. but they take up a lot of room
 
that's relatively new I think
 
Is that their adjustable height table?
 

« first day (2573 days earlier)      last day (2390 days later) »