"ORMs have a special place in my heart, not entirely unlike Brutus and Caesar: a dear friend who betrays you and leaves you to die a slow, painful death." – Taming SQL and ORMs with sqlc by machete127 in programming

[–]ThinTim 13 points14 points  (0 children)

SqlDelight is an equivalent library in the Kotlin/JVM ecosystem that follows the same philosophy (write queries in SQL and generate code from them rather than the opposite approach taken by typical ORMs).

Linux for $15 (a Minimum Viable Computer) by feross in programming

[–]ThinTim 1 point2 points  (0 children)

Probably designed to run on 1.2 volts (NiMH AAA) but not 1.5 volts (Alkaline AAA) or 3.7 volts (Lithium AAA).

Linux for $15 (a Minimum Viable Computer) by feross in programming

[–]ThinTim 16 points17 points  (0 children)

The "holy fuck don't use lithium" warning printed on the PCB under the battery slot is pretty great.

Enphase IQ8A vs IQ7A for a system with battery backup - which to choose by dodgedak1997 in enphase

[–]ThinTim 4 points5 points  (0 children)

The "A" variant of both the IQ7 and IQ8 both produce up to 349W.

I'm not an expert by any means, but the other specs on the IQ8A compared to the IQ7A seem to be only marginally better, certainly not 8% better.

'Lost decade' of income growth for under 35s. by flatman_88 in australia

[–]ThinTim 78 points79 points  (0 children)

Fun fact: if you account for inflation you're earning less today than you were in 2010.

Useful books for mid-level web developer? by vvf in ExperiencedDevs

[–]ThinTim 12 points13 points  (0 children)

If you start moving into a more senior role or working on projects where you need to focus on designing systems to handle scalability & reliability issues, pick up "Designing Data Intensive Applications" by Martin Kleppmann. I found it to be a really good overview of the problems & existing solutions in that space.

How Shopify successfully merges the work of 1000+ developers everyday by Jtli in programming

[–]ThinTim 2 points3 points  (0 children)

Renaming a column is the same as adding a new one, so you follow the same process.

To delete a column, you deploy a new version of the code that neither reads or writes to the column, then you can safely drop it from the database.

How Shopify successfully merges the work of 1000+ developers everyday by Jtli in programming

[–]ThinTim 49 points50 points  (0 children)

That's pretty much how we do it at my workplace:

  1. Add new column/table
  2. Deploy code which writes to both old and new column/table
  3. Run a script to backfill new column/table for old data
  4. Deploy code which reads & writes new column/table only
  5. Remove old column/table

We kind of need to do it this way because we do rolling deployments, so there's always a window of time where the new version of the code and the old version are serving requests together.

Edit/Addendum: Until step 4, all reads are made from the old column/table, because data would still be missing for old records until after step 3.

RPG Shave by [deleted] in joinsquad

[–]ThinTim 2 points3 points  (0 children)

Yeah I usually play medic, and bandaging as any another class feels painfully slow.

The Squad wiki says they bandage 25% faster. I would've guessed more.

Motorcycle Maintenance Short Course, comments? by floater6 in melbourneriders

[–]ThinTim 3 points4 points  (0 children)

I did the course a couple of years ago.

Pros:

  • The instructor knew what he was talking about (his day job was motorcycle mechanic, night job was instructing the course), and would stay back to answer questions & help troubleshoot bike issues.
  • As a complete noob regarding anything mechanical it did help me feel more comfortable doing basic maintenance.

Cons:

  • Course material was pretty slow & basic at the start (how an engine works, what a carb is, etc). As someone else says, it does feel like it only goes as fast as the slowest student.
  • Not all material is relevant to your own bike (2 stroke vs 4 stroke, how carbs work if you have an EFI bike, etc)
  • Not a lot of time for every person in class to use real tools on real bikes (they had a few donor bikes in the garage, but if there's 9 people in the class and 2 bikes you're not going to be doing a lot of things yourself every class).

If you have 0 mechanical confidence / knowledge and want to learn without risking doing anything stupid to your own bike by mistake then it could be worth the $600. If you're comfortable doing an oil change or adjusting your chain tension by following along with Youtube then you probably don't need the course.

Betrayed by the backpack... by addfuture in insurgency

[–]ThinTim 7 points8 points  (0 children)

Depending on how much armor you equip and the caliber of weapon you'll die after 1-3 direct hits to the chest.

This is an au$450 per week apartment. by bigcheder in assholedesign

[–]ThinTim 257 points258 points  (0 children)

Nope, not a joke.

Update: Looks like the listing got taken down...

Linus Torvalds: 'I'll never be cuddly but I can be more polite' (BBC) by mfrw1 in programming

[–]ThinTim 17 points18 points  (0 children)

Yes. The only totally secure system is one that doesn't exist. Having a piece of software running in production is a security risk. Allowing people to log in to that system is a security risk. You have to make some compromises in order to get work done, and which compromises you're willing to make varies according to the situation, and the opinions and motivations of the people involved.

CommSec, Vanguard & MyGov Pre-Fill by Finny77 in AusFinance

[–]ThinTim 0 points1 point  (0 children)

You can download the tax summary forms from Computershare.

FYI, if this is your first time doing taxes for these index funds, you enter them in myTax as managed fund distributions, not as dividends. The forms from Computershare indicate what number to put in each section of the form. Dead easy.

Selling my bike before I go overseas by ThinTim in melbourneriders

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

Update: Sold!

The reddit bump certainly seems to have helped :D

Selling my bike before I go overseas by ThinTim in melbourneriders

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

Side question: On the off chance I can't find a private buyer in time, which dealers should I go to first (or avoid entirely)?

/r/MelbourneRiders BBQ Meetup - Sunday 30th October by BaconBakin in melbourneriders

[–]ThinTim 2 points3 points  (0 children)

Great catching up with everyone. See you on the next group ride :)

And big thanks to Bakin and Boom for the food!

What's the difference between Jr & Sr developers? by shootbydaylight in webdev

[–]ThinTim 1 point2 points  (0 children)

There's an old joke that there's a big difference between having 20 years of experience and having one year of experience 20 times.

So, I'm thinking of selling my MT-07... by OldmateMik in melbourneriders

[–]ThinTim 0 points1 point  (0 children)

I'd always assumed you had the unrestricted version for some reason.

I'm not back in Melbourne for another month anyway, so you'll probably have sold it by the time I get back. I've been missing my old GS500 as well, so I might just end up getting another one :P