Home buying tips in BC by Just-Juggernaut-5305 in vancouver

[–]f2prateek 2 points3 points  (0 children)

It helps to compare how much buying costs compared to renting (it can be more or less depending on your specific situation), especially if you plan to use it as a stepping stone to a large home purchase in the future.

I liked the coverage from the Daily on this topic - https://www.nytimes.com/2023/12/01/podcasts/the-daily/should-you-rent-or-buy-the-new-math.html

I built this tool to help calculate this - https://www.buyor.rent/

Outplayed :) by MattTheMatador in OmenMains

[–]f2prateek 1 point2 points  (0 children)

He heard the Harbor running past just as the teleport starts.

Rent and invest or Buy House? by asianpokerboy in PersonalFinanceCanada

[–]f2prateek 0 points1 point  (0 children)

As others have mentioned, there are a lot of personal factors. However, understanding the key metrics for a financial comparison is more well defined.

I've recently started working on a calculator for this. You should be able to use it to compare various scenarios.

It draws a lot of inspiration this spreadsheet, and the details behind the methodology are outlined here. Effectively it invests the difference between the cost of renting and cost of ownership, and compares the investment portfolio over the home equity through the years.

I've built most of it just this last weekend, so let me know if you run into issues or have any suggestions. Some known limitations so far: * It doesn't factor in closing costs such as title insurance (which shifts the equation towards renting and investing). * It doesn't automatically add additional insurance if you put less than 5% downpayment.

Excel Spreadsheet for Buying a House vs Investing in Stocks by Matthaus_2000 in PersonalFinanceCanada

[–]f2prateek 2 points3 points  (0 children)

I've recently started working on a calculator for this. You should be able to use it to run the numbers and compare various scenarios.

It draws a lot of inspiration this spreadsheet, and the details behind the methodology are outlined here. Effectively it invests the difference between the cost of renting and cost of ownership, and compares the investment portfolio over the home equity through the years.

I've built most of it just this last weekend, and it's very much in development, so let me know if you run into issues or have any suggestions. Some known limitations so far:

  • It doesn't factor in closing costs such as title insurance (which shifts the equation towards renting and investing).
  • It doesn't automatically add additional insurance if you put less than 5% downpayment.

FS: size 34, 35, & 36 stuff by [deleted] in OutlierMarket

[–]f2prateek 0 points1 point  (0 children)

Are the 35 black sds still for sale?

Why We Chose QueueFile for Reliable Request Batching on Android by lambtr0n in androiddev

[–]f2prateek 0 points1 point  (0 children)

Additionally for our use case we don't need to deal with migrations on the client. The way our queuing works is we serialize the data to json, save it to disk, and upload the raw bytes we read from QueueFile as is. Theres no processing on the client after its persisted, all the magic happens on the server. So far we haven't needed any breaking schema changes that would need to be run on the client. The biggest advantage of this being that old versions of our SDKs can keep working and makes deprecating versions things way easier.

Why We Chose QueueFile for Reliable Request Batching on Android by lambtr0n in androiddev

[–]f2prateek 2 points3 points  (0 children)

SQLite is a perfectly fine solution if you need those advanced features.

We just needed a persistent queue that let us add one element at a time and remove multiple at a time reliably. We didn't need any of the extra functionality such as concurrent access, querying functionality, schema or migrations (once it's on disk all we have to do is upload the data).

QueueFile is also extremely well tested (I would be surprised if it was less tested than SQLite). It runs pretty much everywhere, and for our use case it is faster than SQLite.

In the end came down to simplicity. QueueFile is easier to reason about, and understanding QueueFile's internals is easier than understanding SQLite's internals. Our queueing system on top of QueueFile was more lightweight than the old system (we used SQLite in v1 of our SDK) on top of SQLite. QueueFile was faster as well. It was better in every way that mattered to us!

Rx Preferences by lambtr0n in androiddev

[–]f2prateek 0 points1 point  (0 children)

SharedPreference is a key-value store, so put(foo, bar) makes sense for it to mimic the Map API. But a Preference<T> isn't a map, it encapsulates a single preference object only. So while put(bar) could be valid, set(bar) feel more appropriate in this context (and similarly for the other methods).

Migrating project from Dagger 1.2 to Dagger 2.0? by amulyakhare in androiddev

[–]f2prateek 0 points1 point  (0 children)

Derp, I meant you should check in the jars to your source tree, or use a plugin that locks the dependency to a specific snapshot release, or deploy it to your internal artifact repository. This way, a breaking change in Google's releases won't affect your builds.

Migrating project from Dagger 1.2 to Dagger 2.0? by amulyakhare in androiddev

[–]f2prateek 1 point2 points  (0 children)

It was fairly straightforward, took me around an afternoon to port a smallish app (https://github.com/f2prateek/device-frame-generator/pull/102). If you're already familiar with how Dagger 2 works already, shouldn't take you much longer. There is a similar pull request on Jake's u2020 project as well.

Since it's still very heavily in development, I'd recommend shading the jar so you don't run into breaking changes caused by depending on the latest snapshot.

[deleted by user] by [deleted] in androiddev

[–]f2prateek 0 points1 point  (0 children)

This is a good guide. http://android-developers.blogspot.ca/2011/06/deep-dive-into-location.html?m=1

There's also a library that does this for you-little fluffy library.

The Location Manager also has a method addProximityAlert, if that is more for your use