HNHacker News
TopNewBestAskShowJobs

lastofus

718 karma · joined January 14, 2014

submissionscomments
lastofus··on Ask HN: How do I know if OOP is what I need?
Check out “99 bottles of OOP” by Sandi Metz for a fantastic beginner friendly book on OOP concepts.

It does a great job of starting you from first principles and showing you not just the how, but the why of applying OOP to solve problems.

lastofus··on Ask HN: What to use instead of Bash / Sh for scripting?
Check out Babashka if you enjoy lisps/Clojure.

https://github.com/babashka/babashka

lastofus··on Not knowing how to flirt is the main reason behind “involuntary singlehood”
Check out the book "The Charisma Myth" by Olivia Fox Cabane. The premise of the book is Charisma is just another skill - something that can be learned and practiced, and is something the author coaches to C-level execs with a history of success.
lastofus··on Not knowing how to flirt is the main reason behind “involuntary singlehood”
Are there any actual examples of innocuous flirting earning someone a scarlet letter? Otherwise, this kinda reads like some "men's rights" propaganda.
lastofus··on Golang generics proposal has been accepted
Out of curiosity, what changed between now, and when proposals for generics came up in years past?
lastofus··on Child-safety laws may reduce the birth rate
Start crash testing expired seats and compare results to new ones of the same make/model. They expire relatively quickly, so they would not be difficult to find. For example, our Graco Keyfit 30 expires after 6 years.
lastofus··on Ask HN: Any Day Traders on HN?
How does one learn about finance enough to do something like this?
lastofus··on Oregon becomes first state to legalize psychedelic mushrooms
I believe the cutoffs are for taxable income, not gross.
lastofus··on Algebra Driven Design
> Why should I care about recompiling? That's an implementation detail.

Sometimes you don't have access to 3rd party src code you call into, hence why you can't always modify and recompile it.

lastofus··on San Francisco apartment rent prices are dropping fast
Something to keep in mind is that once you own a few rentals, it's easy to pull equity out for a down payment on another rental, and buy the rest with a loan. Leveraging is easy when there you are buying physical assets that retain value.

In other words, even if you own 10 rentals, you are probably wealthy, but the bank my still own a majority % of those assets.

lastofus··on A small restaurant owner on Google, DoorDash, and Grubhub
If I wanted to start a grassroots local competitor for collecting delivery orders without screwing over restaurants, what would be the best way to handle payment processing? Using Stripe + manually sending money via ACH doesn't sound sustainable. Would AML/KYC laws start to apply for this sort of thing?
lastofus··on Ask HN: Where do you find software development freelance work?
How does one join gigster as a contractor? There’s no obvious way to do this on their website.
lastofus··on Ask HN: What’s your go to deployment process for personal Django projects?
I used to set up each fresh VM by hand as well. After doing that 5+ times, each time taking around 2-3 hours, I realized learning to automate things might save time in the long run.

Ansible is an investment for sure, but one that’s already paid off in time saved.

lastofus··on Ask HN: What’s your go to deployment process for personal Django projects?
$5/mo Digital Ocean droplet + Ansible deploy scripts based on https://github.com/jcalazan/ansible-django-stack
lastofus··on Boeing 777X’s fuselage split dramatically during September stress test
Back in March, the FAA was still insisting the 737 MAX was airworthy, even after it had been grounded by other countries. It seems like at the very least, the FAA is worried about the business interests of manufacturers.
lastofus··on Ask HN: 120M rows Postgres – how can I speed up queries?
From my experience 7+ years ago, I saw an order of magnitude difference running Postgres on higher end bare metal hardware (think $6k rack mounted server w/ nice RAID controller) vs a supposed high end AWS VM w/ an EBS volume. That was testing with spinny disks before SSDs were the norm, but if you are on a cloud VM, it's probably worth investigating.
lastofus··on Ask HN: Software Engineering,Money and Overcoming Guilt of Being Paid Too Much?
More generally, the world is simply not fair or just.

See: https://en.wikipedia.org/wiki/Just-world_hypothesis

lastofus··on Ask HN: How did you prepare for being a first-time parent?
Something that I wish was made clear to me beforehand is that there is a huge variance in children, even between siblings.

This means that what works well for some kids will fail terribly for others. Half of parenting is trying out a bunch of different things to find out what works well for your kids, and is also acceptable for you. This variance is also a big reason why there is no "one true way" of raising kids, and why you shouldn't take parenting authorities too seriously.

It's also helpful to know when comparing yourself and your kids to other couples with kids. The worst is parents of a single kid with an easy disposition. They can sometimes be judgy and wonder why you don't just do what they did, because clearly they are amazing parents, and you are failing hard.

lastofus··on Ask HN: Where can I find remote or quality oriented freelancing work?
I had the same experience with the take home project applying as a Python/Django dev. I would have normally billed around $2k for what they wanted for a throwaway test.

I also declined.

lastofus··on Show HN: Noric-bot – A bot to stress-test text-based MUDs, written in Scala 3
This seems to be the end goal of https://writtenrealms.com/. A lot of time was spent making the UI responsive and work well on mobile resolutions!
lastofus··on Stripe Corporate Card
You are correct - my mistake. It was the "Amazon.com Store Card" by Synchrony Bank.
lastofus··on Stripe Corporate Card
A warning for using the Amazon visa: their record retention is horrible. I had to call in and talk to someone for them to send me a paper statement for charges from the previous year when doing taxes. Their export for current records is also terrible last I checked. It's basically terrible for any sort of accounting.

As a small business owner, it wasted hours of my life for no good reason.

lastofus··on The Rich Can't Get Richer Forever
Isn’t this a restatement of trickle down economic theory (sans raising inheritance tax), which has not really panned out when attempted?
lastofus··on Why Clojure?
It's an alias given to an imported module name. In Python it might be:

  import really_long_name as rln
  rln.foo()
lastofus··on Startup Hablo
A visual LED cue is pretty standard on baby monitors, at least on the 2 cheapo ones I got on Amazon.

I also appreciate that neither monitor relies on my Wi-Fi network working.

lastofus··on Ask HN: Modern day web development for someone who last did it 15 years ago
I was in the same boat as you around 5 years ago, when I finally bit the bullet and started down the "modern" path.

My recommendation is to just start on your project, and see how far you can get using your 15 year old skills. Once you hit a road block to something you want to accomplish, start looking at some "modern" solutions to the problem, and pick one up that feels best for you.

You may find you need almost none of the tools listed above, and the ones you do pickup, you will understand why they exist in the first place.

That said, I recommend trying out a JetBrains IDE, as it will give you lots of sane defaults out of the box, including auto-completion which is kinda great for dynamically typed languages. VIM plugins are available as well.

lastofus··on Part time consulting rate vs. freelance rate (or full time)
As a 1099 consultant:

* You pay 7.65% more in medicare taxes * You are probably eligible for the new (as of 2018) 20% pass through deduction * You can possibly deduct expenses (hardware, software, home office, mileage) * No paid vacation/sick days/holidays (this is often around 4 weeks worth of time a year)

Finally you really have to look hard at the benefits you are missing out on. For instance, health insurance can be very expensive out of pocket. 401k matching is the other big thing you may miss out on.

Also look at how you are billing. If hourly, you may find you can't honestly bill more than 6 hours of work a day. Compare that to salary which often assumes 8 hour work days regardless of work performed. This can be worked around if you bill a day rate instead.

lastofus··on Why Lie Detector Tests Can’t Be Trusted
Considering lie detectors are inadmissible in court, probably not. Being the cause of further investigation on the other hand...
lastofus··on Ask HN: What is the modern equivalent of Visual Basic?
Comparing VB desktop app dev to web app dev is a little bit apples to oranges.

Regardless, Django gives you everything you need on a silver platter, with fantastic documentation. To make your life easier, you could probably just use SQLite for the DB, and just run your app locally w/ the dev server to avoid having to deal with deployments, security, and possibly exposing your financial data online.

Maybe avoid Vue/APIs to start, and just do old school backend rendered templates. Bootstrap + jQuery + Highcharts will get you very far.

Since you brought up VB though, maybe an Electron based desktop app is actually what you want?

lastofus··on Productivity brought by Clojure [slides]
PyCharm offers similar functionality of sending code from the editor to the REPL. The biggest difference between Python and Clojure is that everything is an expression in Clojure, meaning you can send much smaller chunks (assuming vars are defined) to the REPL. With Python, you tend to have to send much larger chunks, which diminishes the utility for me to the point where I just don't bother.
← PreviousPage 3 of 11Next →