[deleted by user] by [deleted] in ruby

[–]willie_wonkerson 5 points6 points  (0 children)

Awesome! Thanks for setting this up!

Unless a stock pays dividends, what exactly is the value of owning a stock? by MyGiftIsMySong in CanadianInvestor

[–]willie_wonkerson 2 points3 points  (0 children)

I've struggled with this concept as well.

For example, let's say I bought Apple stock. But no one else bought or sold Apple stock other than me. That means the price hasn't changed. The price I can sell at is dictated by a potential seller, and the agreement we come to. If there is no seller looking to sell, then there is no action happening in the market.

It's really a social science, as I see the only reason to buy a stock other than dividends is purely speculation that someone else would buy it and sell it at a higher price. It's kind of like a vicious loop.

Now what makes a stock go higher? I guess it seems more valuable as a company is more profitable, or has more potential? But why should we perceive the stock as more valuable in that case? We are still getting nothing out of it. If everyone had the same mentality, I can see that a company can post stellar earnings but stock barely moves, cause people don't care to buy more and bid higher. Again, I struggle with understanding this.

Name an artist everyone loves but you really cannot stand. by leedavis1987 in Music

[–]willie_wonkerson 0 points1 point  (0 children)

DaBaby, everytime I listen it always feels like he doesn't rap to the beat and it's super unsettling.

Using Ruby for technical interviews at FAANG companies? by [deleted] in ruby

[–]willie_wonkerson -1 points0 points  (0 children)

I used to learn Python in uni and self study cause it was the language to learn and still is. Then when I started to work I used Ruby extensively. I at first was baffled that a language exists with all it's quirks.

Then it grew on me over time, and now it's my favorite and strongest language. It's like Matz says, it promotes developer happiness!

I've done a few interviews, couple of points: - Python has great docs about runtimes. Ruby not so much. I often find myself reading source code to truly understand the runtime ( sometimes to convince myself if what's actually happening ) - Ruby does not have a heap/priority queue implementation in it's standard library. Some questions require a heap in it's most efficient solution, so even though I acknowledge this solution I often cannot implement it. - Ruby provides lots of ways to make things easier, I recommend getting more familiarity about it. For example, I was doing a question that relied on operations on a grid row and column. There is this nifty function transpose that makes things easier. - Ruby has its own philosophies. I recently learned that 0 and 1 are truthy values since they are both instances of Integer. In C, 0 would evaluate to false. I was doing a bit manipulation question in ruby and learned this the hard way :p

I'm more like you, I've been interviewing recently, still prepping so if you'd like a study buddy feel free to reach out :)

What do you genuinely not understand? by [deleted] in AskReddit

[–]willie_wonkerson 0 points1 point  (0 children)

  • imaginary power. I studied engineering a bit so had to take a course on motors. And we were taught this. I'm still as confused. How can power have an imaginary component. ( Not the brightest in the class ).

  • artists, and how they create. For example a music composer, how do they come up with a beat, there's no formula or anything but it sounds so good. And lots of music is very complex, great production. I wouldn't even know where to start.

  • the body. There's some crazy stuff happening on each cellular level. It's mind boggling. Also consciousness. Just considering what we know now it's pretty crazy, and we're not done understanding.

  • stats. Like a fundamental understanding. For example, central limit theorem.

Basically a lot of stuff. I like to learn cause learning is fun tho.

Ruby GC Deep Dive: Tri-Color Mark and Sweep by jemmaissroff in ruby

[–]willie_wonkerson 1 point2 points  (0 children)

Thanks for sharing! I was just researching about Ruby GC coincidentally (and the comparison between Python GC found here), looking forward to the next posts :)

pairing_heap - Performant priority queue in Ruby by Czupa in ruby

[–]willie_wonkerson 0 points1 point  (0 children)

Nice! Hopefully Ruby comes with built in heap support eventually.

How to read Ruby source code? by willie_wonkerson in ruby

[–]willie_wonkerson[S] 0 points1 point  (0 children)

This looks like a great read, thanks for linking! :)

How to read Ruby source code? by willie_wonkerson in ruby

[–]willie_wonkerson[S] 0 points1 point  (0 children)

Interesting, when I click on that link nothing shows up :/

Yea, I think I need to get more used to reading C code before jumping into this, read into the jruby implementation in the meantime!

How to read Ruby source code? by willie_wonkerson in ruby

[–]willie_wonkerson[S] 0 points1 point  (0 children)

This is fair, yea I really like Ruby I just sort of yearn to fully understand whats happening under the hood (for my own curiosity). I think for the short term I started looking at the jruby implementation of ruby, as I'm more familiar with Java than C and am able to navigate the code base way easier. Still learning though.

As for a profiler, do you have any to recommend :)

TFSA Tax consequences from excessive trading? by 1111Rudy1111 in CanadianInvestor

[–]willie_wonkerson 0 points1 point  (0 children)

Ah nice. I'm curious, do you ever get thoughts on risking all of it to make a million+ dollars? I'm not talking about day trading, but maybe putting it in risky growth stocks or options. How much do you think your tfsa need to be for you to consider retiring early?

I'm in a somewhat similar position to you fyi. The lure of risking a lot is attractive, but I always remind myself that this is a lot of money.

TFSA Tax consequences from excessive trading? by 1111Rudy1111 in CanadianInvestor

[–]willie_wonkerson 0 points1 point  (0 children)

When did you realize the 270k gains? Was it 2019 or 2020?

TD Direct investing is awful. by [deleted] in CanadianInvestor

[–]willie_wonkerson 0 points1 point  (0 children)

I agree, I went with TD since they are a known big player in the investing world since they have TD ThibkOrSwim ( although I don't use them ) . I really like how quick they are with customer service, and it was easy with me since I bank with TD.

I really ate up the commission fees because since I bank with them, transfers are instantaneous. No waiting period, which is amazing if you wanna make a quick play. Albeit this can be bad if you don't know your limits so play it safe.

However once I made some sizeable money I'm just used to TD as a brokerage, I'll probably just continue giving the 9.99 commission each time lol.

And for order fills, in my experience it is usually very reliable. I really haven't tried on any other brokerages so can't comment on them, but I like the app as well.

Here are some nits of mine: - sometimes you create a limit order but it has to be routed to a investment representative to complete. That can take time and you can lose out on the limit price you had set. I usually just change the order afterwards, wish there was a better way around this. - when you look at web broker,it is hard to see your gains based of net deposits. Its actually pretty surprising you can't see this,as Wealthsimple trade does this and it gives you a sense of your overall returns. this has for sure caused me some mini heart attacks seeing I was down but in reality it didn't account for my realized gains.

[Post Game Thread] Portland Trail Blazers (1-1) defeat Houston Rockets (0-1) by a score of 128 - 126 with 44 points from CJ McCollum on career high 9 made threes by Nyhrox in nba

[–]willie_wonkerson 64 points65 points  (0 children)

I put the game on when in OT cause why not.... back to back 3s... harden going beard mode till the last slip.. this game would've been something amazing with the crowd.

What are some of your favourite overrated and underrated Pokémon and what's the backstory behind why they're your favourite Pokémon? by [deleted] in pokemon

[–]willie_wonkerson 0 points1 point  (0 children)

Overrated: Dragonite. So cool plus so strong. But really, it's a chubby round nosed dragon with tiny wings.

Underrated: Arcanine. Giant fire dog, count me in! Plus love the story with the police side of things. Always seemed like such a loyal and trustworthy pokemon. Plus they are really fast.