« first day (2174 days earlier)      last day (2769 days later) » 

7:00 PM
@BenjaminGruenbaum do I invest with TipRanks or is it just a platform for a plan?
 
not yet, but working on that now... I have a similar example, but it's not as clean as that one
 
@SterlingArcher It's not a finance company, it's a tech company - you don't invest with TipRanks, you invest with whatever you invest with and you just double check what you read at TipRanks.
 
@BenjaminGruenbaum do you guys manage the portfolio if all I say is I want to be super aggressive?
 
Ohhhhhh
Nifty
 
5 Things To Know About @JustinTrudeau https://t.co/HPlfq7su3m
 
7:01 PM
@ndugger we don't manage the portfolio at all, we just give you research - you do whatever you want with it.
 
Ah, yeah, I don't want to have to think. I just want to say be really aggressive and have other people do stuff with my money
 
@BenjaminGruenbaum ^
 
Anyone promising you alpha online is likely lying, we sell the alpha we have for tens of thousands of dollars per sell - and you wouldn't be able to use it anyway since you don't trade fast enough or soon enough.
 
Hrm, I'm not sure if I can connect my portfolios, I only have factions of shares in a group holding
Can I add that?
 
fractions of shares? How would that even work?
Isn't your brokerage ripping you apart with fees for that?
Because you can't actually own half a share from NASDAQ afaik unless you got it in a merger or a split.
 
pooor pepe
 
However the acorns and stash apps do it. it's $1/m
They pool your money with other people who are investing in the same portfolio
 
<3 pepe
 
So I own 0.506378 shares of VWO (Vanguard Emerging Markets ETF)
 
@SterlingArcher buy some BRK.A :D
I always wanted to own that
 
7:09 PM
217,380.00USDPrice decrease580.00 (0.27%)
What the shit
That's so expensive
 
Yup, never split.
 
Really?
 
Any time they try to split it, the computer's crash. So they just leave it.
 
I'm doing this mostly to learn about the market (and save extra cash with potential interest) until I can do real big stock investing
 
Ok, I figured out how to upgrade you.
 
7:15 PM
:O
 
So, with TipRanks, I have to actively invest, and you guys just give me a dashboard to manage, or what exactly do you provide? I'm still not sure
 
@ndugger we provide aggregated research.
 
That doesn't seem all that useful to someone like me who wants to invest casually without much thought
 
7:17 PM
I provide aggravated search.
 
I'll watch
 
Someone literally made this for us just for fun
 
wow, that's a lot of work.
i assume
 
I can scribble on a book too
 
me too, but it won't look like that. Also I'd get bored 1/3 of the way into it and give up
 
7:20 PM
This is from the jolly "extension days" youtube.com/watch?v=yS0F5_Q3TIU
 
@SomeGuy, @BadgerCat reddit.com/r/shortscarystories/comments/1inv0n/… really, really good short story
 
aren't those things extensions for after effects?
that one doesn't have sketches, but some of them do
https://videohive.net/item/whiteboard-animated-elements-library/13745607?s_rank=4

That's a low quality one, but there are better ones out there
yeah, tons of them out there

https://videohive.net/search?utf8=%E2%9C%93&term=whiteboard&referrer=search&view=grid&sort=rating&category=after-effects-project-files%2Fproduct-promo
man that sucks about the school shooting
 
@BenjaminGruenbaum I suspect TipRanks works better for those with individual stock control versus split portfolio investments?
 
My investments are small scale. I invest $10 a week into my 4 portfolios
 
7:28 PM
@BenCraig That's old, but yes, that's me
I wrote that when I was... 19? I don't remember
 
I actually just closed my Acorns account, moving the funds to Stash. Stash is better IMO
 
@SterlingArcher TipRanks is a research tool, but I admit it's geared towards people with tens or hundreds of thousands of dollars. I wouldn't manage my portfolio with TR if I invested 10$ a week. You can use the website (tipranks.com) for useful info though.
 
@ndugger its well written
 
Thanks
 
and helpful haha
 
7:30 PM
@BenjaminGruenbaum I figured so, but I want to learn so I can grow into a large investment portfolio
Eventually I'll put in $100 a month, and it'll grow quickly
 
@SterlingArcher don't spend all your money on the stock market - and don't move too quickly. Read investopedia, like - all of it.
Constantly benchmark your returns vs. the market and it's very important to not move too quickly - don't buy and sell multiple times a day since that'll eat you up with fees.
 
Will do. I don't though, I also have $400 a month going to a savings account I can't touch wirelessly, and my 401k as well
 
And if you have any mutual funds, closed end funds or ETFs make sure your management fees are low - there are often funds that track the same thing but with a much lower management fee.
 
ok, I am getting slightly angry
why is Edge not triggering keypress event on arrow keys?
 
@BenjaminGruenbaum no mutual funds yet. I don't know if I should start a Vanguard func before I get into the stock market
 
7:38 PM
I think playing with small amounts is a good idea
 
@tereško what about keydown?
 
I dont need 'keydown'
 
That's what I figured. Smaller amounts is an easy loss on a bad decision, and let's me learn more about the market in a small scale factor
 
1
A: Microsoft Edge - keydown event

Martin BeebyThis looks like a bug. In that when you use the navigation controls (or the refresh button) the window seems to lose focus and so keydown events do not fire. Also window.focus doesn't seem to work as expected either. But I have found a workaround (or two). The first is to modify your script to...

it seems there is a minor bug with keypress in edge
 
ok, fuck edge
 
7:44 PM
+1 for fuck edge
 
that's how you get the bleeding edge.
2
 
Feature detect and refresh :P
 
@BenjaminGruenbaum you cant really do a feature-detect for "are arrow keys registered in keypress event"
well ... you can do a really shitty one, that pollutes your code
 
yeah, once when your code starts.
 
if it's a problem with focus you can't
 
Anonymous
7:55 PM
I have a javascript/jquery question.
 
i'm sorry
 
Anonymous
So I am working on a very crude slack clone
 
The suspense. It is killing the me.
 
Anonymous
When you load a page, how do you scroll to the bottom of the window/element?
 
7:57 PM
I use .scrollTo()
 
what does the Google Say? tatatata
 
which part are you having trouble? the scrolling? the knowing where to scroll?
 
Does JSFiddle suck at removing external resources now?
 
Anonymous
ScrollTo is in jquery? I do not see it in the docs
 
Anonymous
7:58 PM
it is scrollTop
 
that goes to top...
 
scrollTo() is just part of the dom
not sure on jquery
 
scrollTop doesn't scroll
it just get's the position
not 10% sure
100
 
Anonymous
Ok I feel dumb now
 
`window.scrollTo(0,document.body.scrollHeight);`
 
Anonymous
8:01 PM
sorry for wasting time :'(
 
Anonymous
I am somewhat burnt out so my mind is trailing off
 
@tereško ha
 
also, keyboard events in JS are annoying as hell
 
use a lib to normalize them
they suck shit
 
Anonymous
8:07 PM
OK here is something that would be helpful
 
Anonymous
You know how whether it's slack or SO chat, the window has a scroll vertical bar... But only a single element moves (what contains the messages), and not the sidebar
 
Anonymous
how do i do that??
 
 
can you build a small jsfiddle first and post it here?
 
css positioning
 
Anonymous
8:08 PM
That will be 1000% helpful to me. Because right now I am resizing #messages to 600px in height.
 
Anonymous
@NicholasKyriakides herpaderp I can try? I am currently in a rails app
 
position: fixed;
 
you need overflow-y on that element
 
Anonymous
one sec, let me try to duplicate this...
 
8:10 PM
overflow-y:scroll
 
that puts a scroll on the element
if you want something fixed on the page.. you need to set position to fixed
 
oi
 
@NinaScholz Math.PI refers to the definition of area of a circle / radius squared. — Neal 7 secs ago
...
 
that what you talking about?
 
Anonymous
8:13 PM
Yes, that is what I am doing NOW
 
Anonymous
Wait a second, I can show you an example live
 
if you want like so does... read my advice.
the sidebar and input is position:fixed the rest is just normal.
 
@riemon can you update the fiddle?
i'm working on smth else
 
@onebree here , @rlemon made this for you
@onebree I don't think someone's gonna debug your app for you
 
Anonymous
8:17 PM
OK in that case, thank you @rlemon
 
Anonymous
@NicholasKyriakides it was to show what I was talking about. not to debug
 
Anonymous
but thank you!
 
oh
sorry then
no probz
just out of curiosity are you building a chat app in rails?
 
Anonymous
Yes, rails 5
 
i thought rails doesn't sit well with chat apps
not sure
cause it can't handle concurrent connections well
 
Anonymous
8:20 PM
Rails 5 added ActionCable which deals with websockets and stuff
 
Anonymous
it came out of beta over the summer
 
Anonymous
So yeah, either my layout of the page is messed up, or position: fixed; does not work well with bootstrap grid
 
oh no it wont
are you trying to fix the position of a grid cell?
 
Anonymous
yes
 
Anonymous
8:25 PM
my app looks like this: (one second)
 
Anonymous
DEVELOPMENT HEADER                         | LOGOUT
------------------------------------------------------------
          | CHANNEL HEADER                 | SEARCH
------------------------------------------------------------
SIDEBAR   | MESSAGES
          |
          |
          |
          |
          --------------------------------------------------
          | NEW MESSAGE INPUT
 
right
and you want everything static?
 
Anonymous
Yes
 
but messages to scroll it's contents vertically?
 
Anonymous
yes
 
8:28 PM
so set a height to messages
and use overflow-y: scroll on it
 
Anonymous
I have the height set to 600, but I want it to adapt to the window height, minus whatever height of the headers and new messages
 
use vh instead of px
 
Anonymous
vh?
 
vh -> viewport height units of some sort
yeah
you can use something like this
height: calc(100vh - 50px);
where 50px is the sum of the height of the rest of the stuff
 
Anonymous
oh, wow. Is 100vh like 100%?
 
8:30 PM
yeah relative to the viewport
 
Anonymous
I forget that css has functions
 
viewport height
what IE browsers do you support?
 
Anonymous
not on my mind
 
then use calc
 
Anonymous
this is proof of concept practice, so firefox and chrome
 
8:32 PM
then calc is good enough
 
Anonymous
ok!
 
otherwise you're gonna have to use JS
to size #messages
 
woo, i can use calc. I support ie10+
 
i think some versions of safari play shit with it tho
but safari sucks shit anyway
i'm not sure - i remember i had some problems one time years ago
not sure if it was my code or safari
but since it's safari i'll blame it either way5
 
my mac users are all on chrome and I am in a position where I can tell new mac users to use chrome (internal app)
 
Anonymous
8:35 PM
wow! CCool!
 
Anonymous
Thanks!
 
no biggie
orrr
 
Anonymous
Now, is it OK that the vertical scrollbar is next to the #messages element, instead of belonging to the whole window? (Like SO chat)
 
@luggage package it in an electron app then
yeah why not
@onebree yeah why not? i actually think SO chat is the wrong design
 
a web page is still easier to deploy.
 
8:36 PM
yeah much
but you can't deny that headerless looks awweeesome
 
Anonymous
ok thanks!
 
only if there was a way to do such deployments as easily
 
ohh yea. if I had a reason to make a desktop app, i'd use electron (assuming no good reason to use something else)
 
HTML6 should allow something like DOCTYPE app of some sort that removes the address bar
kinda silly but you get the point
 
meh. I like the address bar. my app has meaningful URLs and good back button behavior and I spent a lot of time getting right
 
8:38 PM
yeah i get your point
i do too
 
I even store scroll position in my history state and restore it
 
hah what?
that's a nice one
your url's must look shitty af
 
yea. the browser kinda did it right, but not 100% of the time, especially with pages that delay loading data and change size
 
Anonymous
woohoo it looks so much better now
 
no, it's not in the url, if you copy and paste a url you lose scroll position, which is fine
 
8:40 PM
@onebree hooray
 
Anonymous
thank you @rlemon and @NicholasKyriakides
 
no biggie
 
Anonymous
NOW I can do the scroll to bottom stuff
 
but yes, some of my urls are ugly. especially on things like search screens with a lot of options
but that's also ok.
 
is it worth it?
 
8:42 PM
who, me?
 
Anonymous
so it looks like scrollTo() can only act on window, which, has no need to scroll... Only #messages
 
yeah
var messages = document.getElementById("messages");
messages.scrollTop = messages.scrollHeight;
 
I think so. If you are on a search page (or any page), you can copy the url, email it and the other people can see what you see. And the scroll-position restore helps usability a LOT when you have a place where you click, edit, save (which goes back to where you came from)
 
Anonymous
Yeah I am doing that now
 
@luggage gotcha
 
8:43 PM
Hello human persons.
 
it's a single-page app that doesn't punish you for clicking a back button
like some do.
 
Is there any way to pause JS in the browser, as a non-dev, visitor/user?
The solutions I could find for Firefox involve addons like QuickJava or Javascript Toggle and involves refreshing the page.
 
what do you use?
for the front-end stuff?
what do you mean pause?
@ThatBrazilianGuy
 
^
 
@Luggage what do you use for the front-end in your SPA?
 
8:45 PM
it was all knockout.js based. Now it's react with some knockout pages.
I'm using route-recognizer + custom code for the navigation. I converted to react-router in a branch, but am unhappy with a few things
 
user2620028
Minimizing the browser might pause it :P
 
Can I see your spa :d
 
it's closed source.
 
@NicholasKyriakides Some amazingly user-friendly site I have to use block paste on the login fields, using JavaScript.
 
please don't do that
it's retarded
 
8:46 PM
@Luggage I just want a facial scrub
 
and server 0 purpose
and serves
 
@NicholasKyriakides it prevents needing therapy
 
react + react-router + mobx is a decent 'stack'.
 
i'm on polymer
never used react
i'm using an exceptionally retarded routing thing
page.js or smth
 
It's the bee's knees. The wasp's nipples.
 
Anonymous
8:47 PM
@NicholasKyriakides I tried this and it does not work.
 
fiddle please
 
that's probably fine. You don't need much for decent routing. I'm currently on github.com/tildeio/route-recognizer
 
Anonymous
Ah, messages.scrollHeight is undefined.
 
Anonymous
lemme debug
 
@Luggage any idea why they use hashbangs in some routers>
 
8:49 PM
also, i use a named-route system. There are 0 hard-coded urls in my app. If I want a link, I use something like <Link goto={{ page: 'viewUser', args: { id: 123 }} />
then, if I change the url for that, i change it in one place.
 
...well, thanks for the non-help, I guess.
 
no problem
make a jsfiddle
i can take a look
 
he wants to pause js. Put a breakpoint.
 
@NicholasKyriakides: are you talking to me? It's hard to be sure without reply arrows.
 
8:51 PM
yes i am
 
@NicholasKyriakides Like that
 
hashes (#) are for older browsers that don't support changing the url without a page load (pre history api)
 
@NicholasKyriakides Like, are you calling me retarted here?
 
no
no drama please
make the fiddle
:D
 
What's a fiddle and how can I make one?
 
8:52 PM
it's like a noddle
 
jsfiddle.net
 
(he didn't spell his insult correctly)
 
re-tart-ed: (adj) Turned back into a tart.
 
8:53 PM
ahahah
has anyone studied CompSci in college?
 
What's college?
 
Viola!
 
viola.... fuck
 
8:54 PM
@Luggage No. Fiddle.
 
OK, so I ask how can I, as a visitor to a site, without any access to the code, prevent JS execution.
I'm somehow retarded for not providing code examples. Or for making typos. Or whatever.
 
nobody called you that
 
@Luggage This is a Viola:
 
@KendallFrey I knew I had to be fast.
 
9 mins ago, by That Brazilian Guy
@NicholasKyriakides Some amazingly user-friendly site I have to use block paste on the login fields, using JavaScript.
 
@ThatBrazilianGuy turn off JavaScript or blacklist the site
 
@KendallFrey Unfortunately, if I turn off JS I can't then click the login button. If I turn it on, I can't paste the password from Keepass. I'm stuck in a catch-22.
 
no you're not
 
well, you can click it
 
you shouldn't block execturion
 
8:55 PM
man.. slept with his wife and didn't even invite him to watch?
 
you should just disable/enable that paste thing on the inputs
now that's my cup of tea @Luggage
 
onpaste = null;
 
Nobody seems to know what a catch-22 actually is
:(
 
@KendallFrey Thanks for being respectful, by the way.
 
heh we do
dude we all are
don't take it personally, whatever it is you thought we called you
 
8:57 PM
col-lege: (n) A great way to go into debt. An alternative to Googling all of the time.
 
no alternative to google
 
@KendallFrey a book.
 
you shouldn't block execution of JS
 
nobody said it was a great alternative to Googling
 
you should just disable/enable the on-paste thing
so did anyone studied CompSci ?
in college, uni whatever you wanna call it
study*
 
8:59 PM
I studied corn
 
i studied...portn
 
<form id="frmCredenciais" action="/cassso/login" method="post" autocomplete="off">
autocomplete="off"
WHAT THE MOTHERDUCKING DUCK
 

« first day (2174 days earlier)      last day (2769 days later) »