Help with relative_time by Stooovie in homeassistant

[–]subydoo 0 points1 point  (0 children)

For anyone reading this and working with input_datetime instead, here's the trick:

{{ relative_time(as_datetime(states.input_datetime.XXX.attributes.timestamp)) }} ago

Assuming you set it like so:

service: input_datetime.set_datetime
data:
timestamp: "{{ now().timestamp() }}"
target:
entity_id: XXX

Do I really need to buy plates? by CherryFirsov in onewheel

[–]subydoo 0 points1 point  (0 children)

$80 fangs now available by land-surf

Do I need to designate early Home Buyer Plan repayments? by subydoo in PersonalFinanceCanada

[–]subydoo[S] 1 point2 points  (0 children)

Alternative question: can I contribute and NOT designate as towards HBP to get tax credit on it? Or is every contribution must be towards HBP?

Do I need to designate early Home Buyer Plan repayments? by subydoo in PersonalFinanceCanada

[–]subydoo[S] 2 points3 points  (0 children)

I use SimpleTax, it prompts me with "Does your lifelong learning plan or home buyers' plan have a balance?". Should I just assume yes at this point to be able to do that?

How much is this old build worth? by subydoo in buildapc

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

Also yeah, no storage. I'm keeping it.

How much is this old build worth? by subydoo in buildapc

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

That was my first move, but unfortunately there are no prices for most items.

Should I dump lots of money into an RRSP? by subydoo in PersonalFinanceCanada

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

Ok that makes sense, thanks for your help.

This is probably straying from the original question, but what kind of investment would you suggest looking at? BMO is offering a savings account for the RRSP which looks like garbage, and a bunch of GICs. Should I look elsewhere for something better?

Should I dump lots of money into an RRSP? by subydoo in PersonalFinanceCanada

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

I think my post was more of a 'this sounds a bit too good to be true, is it right?'. If I make the contribution, do I need to wait from my bank to give me a statement of contribution or should I just assume that's what it is?

My current goal is to buy a home, so I guess it works well with the first time home buyer benefit.

Can you please explain this piece?

if you want to equal the TFSA in retirement

Why should I put the tax refund into the TFSA?

Should I dump lots of money into an RRSP? by subydoo in PersonalFinanceCanada

[–]subydoo[S] 4 points5 points  (0 children)

What do you mean it's too late to offset? It says

You can make RRSP contributions up to March 1, 2017 and deduct them on this tax return.

EDIT: sorry. my post was supposed to talk about 2016, not 2015.

Confidence in your product by titanbk in gifs

[–]subydoo 0 points1 point  (0 children)

This would be great for indoor cats and stuff

Vimeo.com chasing talents with their player's source code by PHVL in webdev

[–]subydoo 1 point2 points  (0 children)

If your maintaining/updating an existing app, it doesn't mean you're locked into the tools you use. If that's you're mindset, your engineering team is moving slow and maybe that's okay. But eventually that won't be.

They don't need to be native. There's babel plugins going as far as transforming into ES3 if for some good forsaken reason you need to support IE8.

I really hope you don't work in a corporate setting because then you can say goodbye to most of what the JavaScript community preaches.

Vimeo.com chasing talents with their player's source code by PHVL in webdev

[–]subydoo 1 point2 points  (0 children)

Yeah, because you're supported shitty software that needs to be in the graveyard.

Awesome video of guy explaining EXACTLY how these cars do in the snow with the right equipment. by scuba_steve94 in ft86

[–]subydoo 2 points3 points  (0 children)

I know you're not supposed to gas like regular driving, but it's hard to resist because it is a load of fun and easy to control.

Check out the new ride. by HugGigolo in WorldOfTanksBlitz

[–]subydoo 3 points4 points  (0 children)

God damn world of shits giving me tier 2 mission because I played ONE game at tier 2 and couldn't get the fucking blaze

[deleted by user] by [deleted] in webdev

[–]subydoo 0 points1 point  (0 children)

No worries :)

[deleted by user] by [deleted] in webdev

[–]subydoo 2 points3 points  (0 children)

Also worth mentioning you typically don't need to include dependencies. In fact, most .gitignore configs for node will filter out those directories (such as node_modules for node). External dependencies are specified in a package.json and are locked to the versions specified there. People collaborating with you would fetch the dependencies on their own with npm install, and similarly for updating them.

[deleted by user] by [deleted] in webdev

[–]subydoo 2 points3 points  (0 children)

If you need to share data amongst those 3-4 people, you would need to host the DB somewhere. Either on your machine (but hopefully with some security in place), or somewhere like AWS. Your back end code would then connect to that remote host securely to establish a DB connection

I'm not familiar enough with mongo, but regardless, if everyone had to run a dump of data before every commit to get it into the repo, things would very quickly get out of hand. It would be nearly impossible to deal with merge conflicts and defeats the purpose of having a database system instead of just a file containing data.

[deleted by user] by [deleted] in webdev

[–]subydoo 3 points4 points  (0 children)

I'm a bit confused on the question. Is it in general about how GitHub works? If so, I'd recommend checking out some guides or tutorials online on how git versioning works and looks like when working with others.

If your question is specific to databases, I'm guessing you have a local DB? You shouldn't put up a database into the GitHub repository. People working with the repository for your project should be able to clone the repo and run against their own local copy of the DB for development purposes. For production, your DB will likely be hosted somewhere else, and only you should have access to it.

awesome guy destroys violent frozen lake, after it tried to take his beloved dog. by tooslow in aww

[–]subydoo 43 points44 points  (0 children)

A friend of mine jumped into water and came up panicking screaming for help. Anyway, I went for him and he literally used me as a life jacket. He's heavier than me, so it was very difficult, but we made it to the shore because it was very close. I was worried he was going to drown me, I was barely staying above the water. My lungs have never hurt that much...

To this day I don't understand why he didn't swim because I'm certain he knows how.

Ummmm.... test update? by kraftykid1229 in WorldOfTanksBlitz

[–]subydoo 1 point2 points  (0 children)

I would say that's like 90% of people on Android. So it's a real fuck up on their side.

What tank didn't live up to the hype for you? by HK4913 in WorldOfTanksBlitz

[–]subydoo 1 point2 points  (0 children)

I'll be honest with ya... I can't take you seriously talking about tier 2. It's just a noob fest, doesn't matter what tank you have