« first day (2576 days earlier)      last day (2597 days later) » 

19:00
can we only allow positive reals now?
Are you aware of the fact that e^x >= x^e for all x >= 0?
This might be one of the underlying truths you're seeking
@KendallFrey the /amount was a stupid mistake, nvm it
but didn't realize it worked for all positive x, that's cool :)
actually, can't be negative x because reals, huh :/
negative numbers are in real
guess I haven't done any maths practice in a while
wait wait wut
but you can't sqrt a negative in the reals, for example
and that's what happens with non-integer powers, apparently
x^(1.5) is x^(1/2) * x^(1)
and I guess even irrational numbers like e work in the same way
x^(2.728...) is x^(2) * x^(7/10) * x^(2/10²) * x^(8/10³) * ...
something feels wrong about that
!!> [Math.E.toString().replace('.', '').split('').reduce((acc, x, i) => acc * 2 ** (x/(10**i)), 1), 2 ** Math.E]
@towc [6.5808859910179205,6.5808859910179205]
19:10
amazon's "related to items you've viewed" is totally random
I hope I'm not being brainwashed somehow
it's detecting you're buying things you really don't need
bollocks
they are mostly random
some really obvious items will have related ones, like paper might show pens
pretty on point for me
I was so tired when I moved in
so I just deployed the mattress in the living room
19:13
earbuds, cooling pads, black clothes, cooking books
I didn't realized how unwieldy it is once expanded
a knifeset?
so I guess this is my bedroom now
@Mosho you've got to take us on a twitch tour of the place
we'll see
19:17
oh, cool, lisp has ratio numbers: (+ 3/7 1) is actually 10/7, not the floating equivalent
variable name restrictions are top notch :3
42some.thing-x is a valid variable name
@towc nudge check chicken
smells like burnt :D
@KendallFrey I wonder if you can buy crts like that like you can buy nixie tubes
new at reasonable prices, i mean, not just scrap oscilloscopes for one
I don't seem to know what to google to find out.
before I click, is this more bad science?
it's art
ohh, ok
I think I accidentally bought a turkey instead
that seems unlikely
19:35
it's like a huge chicken, and the flesh is really brown
doesn't taste like chicken
but still close, and quite good
how huge? 10lbs? 40lbs?
maybe duck?
wait, I think I have the exact measurement
It does sounds like duck
and should actually have the name of the thing too
1.95kg
did you not check the name before purchasing it?
19:37
it was in slovak. Looked like a chicken, was cheap, I bought it
yup, duck
Netflix should do an original series on your life
he's like the hosts from American Vandal
@towc we had duck today too!
19:57
that was a good duck
20:12
hi, is it just me or are all user end frameworks focussed on dom-manipulation?
In my case I wish to "render the page in a page-sized canvas". So the dom is only minimally useful. The view is not an html (or html-like thingy such as angular uses) object, but rather just a javascript class that renders the canvas.
It seems there are no libraries that work well with this?
pixi.js?
react works like this, in a way. you render the whole component/page whatever and it handles any dom manipulation needed. This isn't painting to canvas, though.
Well that seems to be just for drawing things - I mean "binding data to render objects". IE my viewmodel has list of vertices. - Then the renderer binds to this list (two way binding I wish to be able to add vertices by clicking) and renders it.
ohh, this is for graphics.
I can do it the "manual" way, but that would require the render to have knowledge of the (view)model. - Or the model to understand that it is actually being rendered by whatever I decide.
20:18
@paul23 Ah right. I looked into react-canvas some time ago and didn't find it satisfying, but you might want to check it out
MVC: Model-View-Controller
SRC: SceneGraph-Renderer-Controller
I like MVVM best right now :P. - Especially after I noted that whenever I did things myself in MVC I actually went for MVP (model-view-presenter) by accident constantly.
kinda the same
not mvvm and mvc, but my two above
Anyway, i don't know of any libraries in that style.. but i haven't looked much
@Luggage Google keeps sending me back to the same problems which end up being about dom manipulation.
20:32
Yes, don't buy bitcoints
same
20:49
hey
sendText(text: string): Observable<any> {
    return this._http.post('/api/todo',text).map((response: Response) => {
        return response.json();
    });
}
if I have an input textbox and submit the word hello
what would the json look like?
as i have the following in asp.net core (c#): public IActionResult Create([FromBody] TodoItem item)
which will pull the contents of the body of the post request
pretty fun to play around with LC on lisp
man, this language is actually quite amazing
I still feel like I know nothing about it, but I really like a lot of what I'm seeing
@Permian check out this console.log(response.json()) thing!
thanks
still a noob
forgot to do that
had been doing it earlier!!!
it's ok
sorry but how would you incorporate that?
mines not outputting
return this._http.post('/api/todo',text).map((response: Response) => {
            return console.log(response.json());
        });
i tried that
=> {
	console.log(response.json());
	return response.json();
}
21:04
thanks
its weird to have so many returns
console.log(response.json()); that bit returns nothing
it's not meant to return something
it's meant to log it
open the console
im in the console
screenshot?
also, is that code running on backend or frontend?
(guessing frontend, but ya never know)
frontend
can you even upload screenshots here?
you can upload files that have been stored on your computer
or upload your screenshot to another website, and post the link here
21:09
i use snag.gy
nice website
well, make sure that code is running
the sending text bit means it entered the funciton
the console.log only fires if you call it somehow
console.log("sending text"); it worked there
21:12
weird
yeah i know
can you post a larger snippet of your code?
sendText(text: string): Observable<any> {
    console.log("sending text");
    return this._http.post('/api/todo',text).map((response: Response) => {
        console.log(response.json());
        return response.json();
    });
}
did you make sure to update the server so that the changes are in place, and then disabling cache and refreshing the page?
i rebuilt the server
and the frontend before i run it
21:15
to see if it's a cache issue, change "sending text" to "sending text v2"
repeat the process, and see if it logs the right thing
yeah ive rerun it and its say v2
must be a problem with the responses
the only other thing is if the array has no elements in it
hence nothing gets passed to the backend in the line after
after the "sending text", do console.log(this._http.post('/api/todo', text).length)
Observable {_isScalar: false, _subscribe: Æ’}
same if i keep clicking the submit button
21:21
so, the map may not be giving anything back
probably an issue with the backend, yup
but it hasnt even had a chance to get to the backend
is the backend saying nothing happened?
check the network tab on the frontend
maybe it didn't send anything at all
submitData(textdata:string): void {
    console.log("button clicked");
    console.log("read data");
    console.log(textdata);
    this._appService.sendText(textdata).subscribe(data => console.log(data));
  }

Mid-Senior Front End Web Developer - React, Redux - Remote,…

Seven Hills Consulting, Inc.

Initial short term remote contract position for an experienced front end developer that can hit the ground running with…

Posted on Stack Overflow Jobs on November 2, 2017

that's interesting
if I wasn't employed I'd go for it
i changed it to subscribe to the function
now i get an error 415
unsupported media type
21:23
@Mosho if they don't vue, they're not worth it
but that's a lot of money
remote consulting is da bomb
whats wrong with react +redux????
once I get my canadian citizenship I'm getting a job like that and moving to thailand
@Permian says the person using angular
mate
im a noob
i ask because i wanna know
21:24
@Mosho sounds like a plan
people are generally displeased with redux I think
relatively speaking
ok
why do you need it with react?
it did its job well, but then stuff like mobx came along, and outdid it
then more and more people were discovering vue, and now everyone's about vue. This room is very passionate about vue
haha
theres so much of this stuff
im surprised people can hire for it
not many people are good at self learning
the industry standard is generally quite low
a lot of people here are well above the bar
21:30
i consider myself good at self learning
background in theoretical physic
and i struggle to cram it in
well then, guess I won't be helping you any longer :P
this stuff is tricky
and im surprised companies out there can afford to train people in it all
calculus tends to be tricky if you haven't learnt about equations first
21:51
I just realized I'll be having my 18th in 3 months
I should get something going
invite people I've met from all over to bratislava and have a fantastic night out
but 3 months of advance is probably not decent enough for making the plane tickets worth it
22:19
should i learn VUE?
yes
well, actually, not you
the community is already below standards
what's a good standard then?
react has a decent community
go ruin that one
sup fellow kids
well i got into ruining communities from you
ur the teacher
@taco hi
22:26
sure, but I don't do it on purpose
atleast i can help it
nice
Lass I know on Facebook has just discovered @realDonaldTrump in her dogs ear.
did some research and react is the winner
ima skip learning vue for react
3
sure
@towc creepy
23:34
had to turn the heat up in my room because the previous temperature was likely damaging the plants, but now I'm borderline sweating :/
(I'm completely naked. That's a nice image for you)
@rlemon random thing i printed (sorry for new owner spam): drive.google.com/file/d/1TQk6xSnke0_SDsJeVeoCLe2N9eg_B8py3g/…
extruder cover, though I'm not sure it's of much use
@Mosho instead of the gym thing, you could have bought a 3d printer and maybe enough material to make your own gym :P
a 26 month print
23:49
well, good enough
and if it messes up, you start over

« first day (2576 days earlier)      last day (2597 days later) »