« first day (2615 days earlier)      last day (2318 days later) » 

9:01 AM
oh noes
 
I don't know why you think the email thing is a hack fwiw @MadaraUchiha - a hack implies it's inelegant but effective and that implies people are reading those emails
It was a hack at one point, and @Mosho's initiative and it worked for a while - but you and @Linkgoron have a tendency to complain about things people did years ago that solved problems then - where in fact you haven't bothered updating them in half a year and are then surprised they don't work to your liking. As if we didn't have to spend time maintaining and giving code love all along.
Like... when Mosho wrote it it wasn't expected to be a permanent solution - it was the minimal amount of work to solve a problem he saw (not having to tell QA a new version is up). There was no grand design, and changing these sort of things is a matter of minutes.
FWIW, I'm not sure he remembers, but he also had growl notifications - those weren't more effective.
TipRanks was much smaller then, solutions that were appropriate at one point aren't effective for all time. Look at some of @Linkgoron's code from 2014 :D It's not bad code but you'd call it a hack today - however solving the grander problem (for stock splits for example) would have been ineffective and wasteful. Namely it wasn't even well understood.
 
Q:(TS) I might be asking something stupid here but how can I declare a method in typescript which is async and subject to return boolean ?
async cameraGo(): boolean {}
^wont compile
In C# I could do : async Task<boolean> foo(){}
What is the equivalent to TS ?
 
@RoyiNamir Promise<boolean>
 
async methods return promises
^
 
@BenjaminGruenbaum You and me both know that most "temporary" solutions become permanent.
 
9:11 AM
 
Also, the fact that it's email (my disgust with automated emails for notifications of any kind is well documented) is only part of what brought on the rant.
 
(Doesn't work - Attached an image).
 
It's also the fact that it's not even a @tipranks.com email address, which is clearly because of something akin to "the remote was on the other couch, so I couldn't be assed to get up walk 4 feet and pick it up"
 
F* suppose to be Boolean not boolean
 
@RoyiNamir No
 
9:13 AM
async cameraGo(): Promise<Boolean> <--- does work
 
Should be boolean if you return true or false
 
I thank you. didn't had any return.
 
@RoyiNamir Also, webstorm is known to be off with TS warnings.
Use tsc directly or give VSCode a try
 
VSCode the dream
stupid stupid svg paths
 
Webstorm is known to be good with web stuff IMHO
(My daily work is with Visual studio - server side) - So i'm deep in MS.
 
9:15 AM
"web stuff" is quite a wide term.
 
especially ng4
 
@RoyiNamir VSCode is quite OK, especially for a M$ product.
And its support for TS is second to none.
 
$ lol
What about ng navigation ( clicking on elements and go to code....) ?
 
No idea, we don't use Angular at my workplace :(
 
mvc ?
 
9:17 AM
React
 
Do I hear a voice of sadness for not using ng ?
Currently (I don't know react , yet). too many things to do with ng. and nativescript
 
myehh. you can find everything superfast with the search tool
 
@RoyiNamir Oh no, you hear the voice of sadness for not being able to help you.
Not using ng is reason to celebration.
 
:-)
naaa I find it hard to believe
 
+ with proper modularization I've literally Never had problems finding my components
 
9:20 AM
To be perfectly fair, I haven't tried the later versions of Angular (4 and 5)
 
if I ever do, I will know I have fucked up
 
That's OK I've never tried react.
not that i'm proud of it but there are only 24 h/d
 
@MadaraUchiha no, they really aren't - everything is a temporary solution in software - nothing is permanent - problems change and astronaut architecture never pays off
 
@SterlingArcher noice
 
@BenjaminGruenbaum When it's meant to last for days and it lasts for years, it's permanent.
"Effectively permanent" if you will
Of course it's not permanent, but it's there for years until someone is finally annoyed with it enough to rewrite it.
 
9:25 AM
@MadaraUchiha it wasn't a work item, @Mosho did it at his own initiative to help coordinate with Dafna and other people just jumped along and use it. FWIW I think there are WAY too many emails at TipRanks and that encourages unsearchable discussion - but that's a culture issue - when I tried to introduce slack people barely used it
 
slack is also sometimes counterproductive tho
 
To be fair, I've come to see slack as a not-so-optimal solution it has many flaws
It's better than email 9 times out of 10
 
At Peer5 we're really liking it
 
But it has its own problems
 
like a funny conversation: suddenly lots of people participated into that and was not focusing on the work for 1+ hours
 
9:27 AM
It's better than email 99 out of 100 times, I get 2 emails a day here tops
 
What's Peer5 ?
 
My newish work place
 
@RoyiNamir The stream peer to peer midget porn.
 
@KarelG that's a culture issue
 
Really exciting stuff :P
 
9:27 AM
hahaha
:)
 
@MadaraUchiha actually, I don't think we do midget porn, although if you know someone with a midget porn website I'd totally be into that (integrating with Peer5)
 
I've worked at coolvision - so i'm not new to porn streaming
 
@BenjaminGruenbaum like would you allow it or not?
 
@BenjaminGruenbaum I'll be on the lookout.
 
(at Ramat Hakhayal)
 
9:28 AM
today I saw a tweet about face swapping videos in porn
with AI
 
@RoyiNamir we don't really do very much porn, it's mostly national TV agencies and big websites that do streaming.
 
@Neoares What a time to be alive
 
@MadaraUchiha indeed
 
@Neoares link?
 
it's in spanish
 
9:29 AM
Porn with people you pick is actually pretty interesting morally as a concept.
 
it just says that ppl is concerned about it but when it comes to instagram it seems all normal
 
I do not mind slack such conversations (I participate in those too), but if it goes too long, then I ask the team to let the discussion fade away
 
@BenjaminGruenbaum Especially given how you can make porn videos of people you hate and put them online vOv
 
@KarelG that's a culture issue
 
@BenjaminGruenbaum yes but a requirement of face swapping is that you need both persons moving
 
9:30 AM
@MadaraUchiha or people you like 😬
 
is that "I allow it" or "I do not allow it" .__.
 
@BenjaminGruenbaum knows whats up
 
@Neoares you really don't - at least for the speech thing
 
We had a whole section of fraud team. where internal workers used to talk to the hosters and find if they are really doing what they were paid to do.
 
I mean, if you want it to work with a photo, you need some AI for face expressions
 
9:30 AM
But i'll stop now.
 
@BenjaminGruenbaum yeah something like that but in real time
 
@RoyiNamir do you have any connections in big companies streaming a lot of video? I'd love to talk to more people in the industry and get a better idea
@Neoares why do you care if it's real time?
 
so I can upload a photo and get the result instantly
 
9:32 AM
livecams I guess
that could be a business
get a performer to do what you want
 
well, call it "fast processing", not realtime
 
put your face of desire on it
 
@BenjaminGruenbaum Actually I do . there was a guy there ( chief programmer for netowrking programming - not IT). Kirill. Brilliant guy
 
I don't want to get the results tomorow
 
let me find his phone
 
9:33 AM
@RoyiNamir maybe ask him first :)
 
Sure. but can it be at evening ? I havn't spoke with him for a while (year+). so after i'll talk to him , I'll ask him . BTW if you need an IT guy for streaming ( not programming) I have a very good friend which worked there
His name is Rotem. And if you need a programmer I also know 2 guys ( good ones) Alex and Seva. ( they work there).
 
SO chat networking o.o
 
@RoyiNamir let's talk ton FB?
 
Sure.
 
posted on December 13, 2017 by Jakob Gruber

What is it? Code coverage provides information about whether, and optionally how often certain parts of an application have been executed. It’s commonly used to determine how thoroughly a test suite exercises a particular codebase. Why is it useful? As a JavaScript developer, you may often find yourself in a situation in which code coverage could be useful. For instance: Interested in the qual

 
9:52 AM
Hello Friends
 
@RuchiPatel 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.
 
I need to add title in confirm box
Is it possible?
 
no
 
Any other way to add title?
 
custom dialogs
 
9:55 AM
Can you please give me a reference url for that?
 
I would appreciate it if you could give us an answer for this post. stackoverflow.com/questions/47783223/…
 
10:14 AM
Just a quick question for a newbie :
I manage to get an element with this : this.$refs.modal.$el
The thing is I'd like to go further in the element and get this.$refs.modal.$el.firstChild but this return me an empty node :(
But when I inspect this.$refs.modal.$el I see the node I want :/
 
is that an array or object or a node ?
@Baldráni best to share a ss
 
I'm not sure
Looks like a node
 
it is a vue object ...
but firstChild should give that div element
 
vm.$el === document.getElementById('example') // => true
From the doc of Vue
 
10:29 AM
trying to decide what to do with the plants :/
moving out in a few hours
 
Plant them !
 
to a new location?
 
yeah...?
I can just put them in a bin
 
did not know you were moving
 
or I could tell the landlord that the new tenant can keep them if he likes them
but chances are he won't
and he'll just be mad at the tenant
 
10:31 AM
@KarelG Hes gonna live in the woods or something
 
@KamilSolecki well, to the hackerspace first
 
I need dating advice
 
no wait
we need to sort out my plants first
 
You plants can wither and die
 
if I put them on the overhang, they might survive for a while, until it snows
but if they get knocked over, the glass jars can roll out of the overhang and on people's heads
I can leave the plants on people's doormats, then ring the bell, and run away
with a note saying "please take care of this plant. I've been an irresponsible parent and I will always bear the shame of what I'm doing"
or I could give them to the neighbours
 
10:38 AM
what is wrong with you?
give it a bit water, place it on the right place and it can stay there for a week
or setup a drip system if you want to keep it alive longer
 
@BenFortune have you Heard about witchfire? (TBA 2018)
 
@KarelG well, I'm not coming back here
and I can't bring them where I'm going
 
Why tho
Dont They want like.. New plants?
 
I'm already taking up too much space at the hackerspace
I'll probably get a new plant after a few weeks
but don't want to overstep my boundaries
alright, I'll ring the neighbours and ask them if they want some
 
@KamilSolecki nope
 
10:43 AM
got announced on reddit
 
Ugh, PS4 lol
 
From the studios behind evan thingie game
 
@BenFortune it is PC too
And the first Trailer looks interesting
@towc Hai mr. Neighbor-san, here zis some very legal plantsies
You take zis
I go
Bai
 
@towc is that not temporary ?
for a week?
 
@KarelG nah
well, I don't plan to spend years in there
but I'm going to be there for an undeterminate amount of time
and after that, I'll probably get a small room in a student house
@KamilSolecki they're very legal :/
 
10:52 AM
That's why you are supposed to say that duh
 
towc ... Do you realize that you are having weird plans?
It happens that people stays overnight at hackerspace. But you are going to stay "underdetermined"
that is just ... not rational. Also asocial :) I hope that the organization does not have problems with that.
 
@KarelG well, I've been talking with them
 
this is my code..  $( document ).ready(function() {

	var contact_form = $('#contact-form')
	contact_form.submit(function(event){

	$.ajax({
		url:'/contact-us-message/',
		type:'POST',
		data:contact_form.serialize(),
		success: function(res){
			if(res=='okay'){
				$('#success_message').show().delay(5000).fadeOut();
				$("input[type=text], input[type=email],select,textarea").val("");
				console.log('okay')
			}
			else{
				$('#error_message').show().delay(5000).fadeOut();
			}
		},
		error: function(jqXHR, textStatus, errorThrown){
 
@HiteshRoy 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.
 
I have a feeling that you do not know what your live goals are. Hence taking non-deterministic choices
 
11:04 AM
they said that as long as I can ensure the members are ok with it, so are they
so now I'm going to lunch with some of them
@KarelG do you know what your life goals are?
 
yes
already achieved some goals. I still have other goals to reach. But I am working on it
 
wtf
#random
 
haha, I'm pretty sure that's fake, but also nice
 
11:22 AM
node working on linux?
 
yes, of course
 
and possible to use node with wordpress
template
 
it works better on linux, even
 
sounds great
 
12:11 PM
isnt rick and morty that thing you get when you die and your body gets all stiff
that thread
 
Q:TS. I have a method returning Promise<Location | boolean > the problem is that the caller doesn't have in intellisense - nor then nor catche
But if I remove | boolean - it does show me.
What can I do ? the method should return promise or boolean.
 
@KendallFrey -21c
💓 Canada
 
@RoyiNamir That signature doesn't say promise or boolean. It just says promise.
 
sorry. it should return promise of (location or bool)
 
Does it compile, even if intellisense is missing?
 
12:16 PM
In short :
  var res: (Location | boolean) = await this._gpsService.getLocation(cb);
        if (typeof  res == "boolean" && !res) {
            console.log("user didnt allow");

        }

        else {}// should I do here typeof ...promise ?
The app requests location. user can deny it ( Promise.resolve(false))
or to actually approve and get a Promise <Location>
But this seems hacky ^
 
That looks at first blush like it should be Location | false, not Location | boolean
That would also answer your question about typeof
 
What do you mean ? I will still have to check what type res has
(bool or promise)
 
No you won't
You can just say if (res === false)
or !res if you're a heathen
 
oh , and what about the promise side ?
if (res== ?)
 
Nothing, just else
 
12:20 PM
make sense - but jsut for learning , what if I had 3 options ? how would I check if promise ?
 
Depends what the third option is
 
date
 
@rlemon already, daym
 
Instanceof
 
probably another else if
 
12:20 PM
It's actually +10 here
 
fuck poland
5
 
@KamilSolecki yea. Sucks
 
@rlemon this is what i've found in order to check if promise :
Object.prototype.toString.call(x) === "[object Promise]"
seems ugly
 
no no no no
 
Because it is
 
12:22 PM
hh
 
instanceof
 
Or maybe check if it has a then method
But in this case, you don't need to check that
 
BTW I didn't know I could do ` if ( res ===false) ` in promise of (Location | boolean)
thanks
 
Is returning true ever a possibility?
 
12:24 PM
to tell you the truth - no.
 
Then type it as such
 
Either the user approved ( and then I get a location object - OR the user denied access and then I want false).
 
tbh it would make more sense as Location | undefined
 
Why ? false indicates a given decision of NO. as opposed to unknown decision
 
false is a boolean value, but what you're using is more akin to Maybe/Option
You get a Location or nothing
it's not a real boolean value
 
12:28 PM
yeah, that would make more sense.
if its a boolean, it implies you'd expect either true or false
just no value is a deal for undefined
because client did not specify location -> location is undefined
Thats the way it generally goes in JS
 
I don't like returning variable types.
 
anyways, since I have all yall smart people in here now
SVG / path question!
I'm drawing these arcs with d3
Now, the path boundaries seem to be bigger than the path itself
and I absolutely have no clue what could be causing this.
I have eliminated my arc params from it, since all I specify is startAngle, endAngle, radius and padAngle.
 
do you have an invisible stroke?
 
nope
oh one more note
some of them have the boundaries correct, some dont
I have not found a rule to that though
 
code?
it might just be an optimization thing that doesn't work right, when inspecting elements
if you get the boundaries through JS, do you get the same values?
 
12:43 PM
@towc hmm, let me check
btw this is the actual paths component, there is also another one that just wraps it in an svg
 
@KamilSolecki output?
 
@KendallFrey I think I've missed something here. Did you mean that the method ( leave the undefined for now) should return Promise<Location | boolean> or Promise<Location > | boolean ?
 
I don't know that it matters much
 
(Promise<Location > | boolean) doesnt compile
 
The second one might make more semantic sense if in fact it's possible
But the first one is easier to use with await
@RoyiNamir why not?
 
12:47 PM
in The h Bar on The Stack Exchange Network Chat, 4 hours ago, by Sid
Ha! anagrams are fun. A guy just pointed out that "Winter Bash= Er, win BS hat"
 
@towc I figure this will be the best way to show you:
 
@RoyiNamir Oh, well, duh
From that code, it clearly needs to be async
 
which part
 
12:49 PM
The function
 
You're right.
Thank you.
 
Hey, I have a problem with Intl.NumberFormat. For some reason it does not show correct money symbols for all currencies. For example it shows Norwegian Krone as NOK as it should show it as kr. Is it possible to format numbers without symbol? So I could add the symbol by my self using coinify?
 
1:07 PM
@SomeGuy do you ever sleep?
 
I just saw this comment on reddit
> I don't know if you believe on evolution or creationism(I kinda believe in both at same time),
had a mindfuck
 
@ShrekOverflow A solid 9 hours. Why?
 
Fuuuuuuuuuuuck, Tool are bringing out a new album.
cc @SterlingArcher @GNi33 @Loktar
 
from your twitter and knowing where you work
you seem to be doing awesome stuff 24/7
 
Haha, I'm primarily retweeting cool stuff
 
1:14 PM
 
guys I am having trouble with a react performance issue :\
 
fix it then
 
they got pills for that
 
I have no idea how. Right now, I propagate a variable to redux which is causing massive re-renders across the app. I need access to it in multiple places, but it takes a good ~400ms for the action of updated that variable
 
@rlemon eh ... I really thought that it was thursday today ... Just checked my logbook and yeah, I created one for thursday while it should be on today ... (there is a "THURSDAY 13 DECEMBER" on the top of the file.)
 
1:30 PM
@ssube just a thought, the glow in the dark filament would probably make a really kick ass lithophane
 
I bet it would. I just finished printing a thingiverse.com/thing:1692607 and am thinking about doing it in glow.
 
nice.
 
@rlemon My money is on it being blurry
 
why's that?
 
glow in the dark is too dim for fine details
 
1:33 PM
this stuff is pretty bright if you shine a light at it
 
so is normal PLA :3
 
Dec 7 at 0:14, by ssube
user image
it might work, if you make it thin enough and light it well
 
Wtf why are those so expensive
 
material
 
1:39 PM
Just get some glow in the dark paint
 
material is cheap
glow in the dark PLA (for me) was cheaper than regular white PLA
only by $1, but still.
 
yeah, my two coolest colors (glow and translucent purple) were both $15ish, normal is $20, and the nice hatchbox stuff is closer to $30
 
@ssube nice
 
I already have enough/too much and apparently my gf suggested filament to my mom as an xmas present, which... will not end well
 
has anyone tried 3d printing the one ring with thermal sensitive filament ?
 
1:41 PM
AMZ3D is almost all between $25 - $29 per KG
well, unless you go into the fancy woods and metals
then yea, like $40-50
 
yeah
the metal and carbon fiber stuff is pricey
 
I'm still not sure if I want to 3d print my new control box, or make it out of wood
ofc parts will have to be 3d printed, for ease, but the bulk of it I could just build out of wood into the table.
 
how small can the control box be if you put the filament elsewhere?
are you going to integrate the pi into the box?
 
I'm putting the control board and psu on the underside of the table, and putting a cutout for the screen
so I guess the table itself is the new 'control box'
then going to do one of those rubbermaid tote storage thingies
@ssube oh man, I just had an idea. hook up a camera flash into the dust cover on the extruder so charge up the pla before it gets printed
and print in the dark, with a timelapse
 
that would be sweet
you don't even need to sync them well, just offset by a few seconds
would you need a flash? An LED that you leave on 10 out of 15s (or whatever the timelapse period is) ought to do
 
1:51 PM
I'm shopping for PLA this morning :P
 
hi! I ve searched around trying to understand what exactely is node js and i have some conclusions, but I am not sure if is true: 1) node js is/can be an intermediate between client side and server db side? 2) the point is:node js can handle some variables, but can't store it forever, do the stuff with them and then update the db(if case)
3) for example, if I have a fight game, client connect to db, get players stats, then put them in server side where node js handle characters positions, stats, etc, then in the end, put some persisting values to db?
 
@BoteaFlorin 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.
 
you did not have done your research very well ...
 
@BoteaFlorin are you familiar with any other backend technologies?
@KamilSolecki no clue :/
 

« first day (2615 days earlier)      last day (2318 days later) »