HNHacker News
TopNewBestAskShowJobs

martincmartin

7,330 karma · joined May 12, 2008

Enjoying life.
submissionscomments
martincmartin··on Ask HN: Favorite/Classic HN threads of all time
This is a great comeback. But I don't understand the reference to Ravi Vakil. Is Ravi known for being humble or something?
martincmartin··on My Path to Financial Independence as a Software Engineer
The biggest expense is college, at least in the U.S. If you retire before they apply, you may want to be conservative and set aside the cost of the most expensive college. MIT is $77k/year [1]. For two kids, that's $616k. And it increases faster than inflation, estimate 6%/yr. If you have enough money in the bank that you're financially independent, they won't qualify for need based aid, you'll have to pay the sticker price.

Columbia is more expensive.

And if one of them wants to become a doctor or lawyer, now you need to pay for grad school too.

[1] https://sfs.mit.edu/billing-repayment/undergraduate-tuition-...

martincmartin··on Ask HN: 27, accidentally became wealthy, lost drive. What should I do?
I've read a few books about early retirement.

One place to find your passion: what did you like to do for fun as a teen? Did you like to write small computer programs because they were fun? Woodwoorking? These were things you did when you didn't need to, and when nobody was expecting the results.

You can also get a job somewhere doing something you'd like to do. For example, work at a non-profit, become a professor, work at a startup, etc. Get the job, with salary, even though you don't need to salary for money. The company paying you will expect you to deliver, and you'll feel you need to do it because they're paying you. When the amount of salary isn't important, it can be really freeing. e.g. you could at a software startup that's targeting healthcare, or education, etc.

martincmartin··on The battle of the computing clouds is intensifying
Companies used to run their own electrical generators. That seems analogous to running your own servers.
martincmartin··on One-more-re-nightmare – A fast regex compiler in Common Lisp
Perhaps most importantly, a good CL implementation can help with debugging this, by keeping track of the original CL code that generated the intermediate code, and pointing you to it. With the "use a program to generate C" approach, if there's some bug in the C code, the best the compiler or runtime can do is point you to the line of C code that's crashing. It's up to you to figure out where that came from.

This was a problem for early C++ compilers like Cfront that translated C++ into C: the error messages from the C compiler referenced the intermediate C, not the original C++.

martincmartin··on Saintcon: Lock Picking Lawyer Keynote
I've heard the common way a burglar opens a door is using a crowbar.
martincmartin··on Books that changed my career as a software engineer
I liked The Mythical Man-Month. What do people think of Fred Brooks' more recent book, The Design of Design (2010)?
martincmartin··on Ask HN: Software Engineer hitting 40: what's next?
you need to really buy in to the company's tech stack and development ethos.

You need to be of the mindset that you're hired to help the company. The company has a certain tech stack and development ethos, so you're hired to help them with that. Just because you know there are better ways to do it, your job is still to help them do it their way.

It can be possible to get them to change development ethos, but this is a big deal and uses a lot of political capital. If you can really convince most people that it's better, you'll be seen as a senior tech leader for sure. But if you're optimizing for the best performance reviews -- in other words, the incentives the company has set for you -- then it's usually better just to work within the system.

"To be a leader, you need to have followers." So leadership isn't having the best product, e.g. the way Google is a leader in search. It's more like class elections in high school, it's a popularity contest. Your job is to figure out what people are complaining about or advocating for, and do those. Most likely, everybody is used to the development ethos and just thinks it's the only or obvious way to do things. So nobody is really complaining about it.

martincmartin··on Show HN: I made a movie recommendation app based on your mood
Ironically, I feel like the abundance of movies is making it harder to pick one.

This sounds like the difference between Optimizing and Satisficing personality traits.

An optimizer wants to find the best choice. The more choices, the harder that is.

The Satisficer just wants to find one that's good enough. Having more choices generally makes that easier, if it comes with a directory or some way to search.

martincmartin··on Zillow lost money because they weren't willing to lose money
[W]hy couldn't you serve as a market-maker for homes at a large scale, especially with the unique insights Zillow could have based on their datasets.

Indeed, I believe this is what OpenDoor does. From The Economist article [1],

"They [OpenDoor] charge a fee for the services they provide: buying and selling homes immediately, with zero fuss. The quick in-and-out makes them more like marketmakers than property investors, who buy to hold.

...

"A former Zillow employee told Business Insider that management had been hellbent on catching up with Opendoor, the front-runner. In order to compete, the employee alleged, the company pushed to offer generous deals to potential clients. It called this “Project Ketchup”. Now it has its own fake blood on its hands."

[1] https://www.economist.com/finance-and-economics/2021/11/13/a...

martincmartin··on A photo on Wikipedia can ruin your life
Hacker News has paid moderators, and seems to be higher signal than Reddit.
martincmartin··on Bugs in our pockets: the risks of client-side scanning
I wonder if the title refers to the song "Drugs in my pocket" by The Monks, 1979. This song was actually only popular in a few cities in the world, I think Toronto was a big one. I wonder if the author grew up there...
martincmartin··on 5 side projects in 6 years, earning $0
Reminds me of "Good Software Takes Ten Years. Get Used To it." by Joel Spolsky.

https://www.joelonsoftware.com/2001/07/21/good-software-take...

martincmartin··on Ask HN: Is the Great Resignation in tech real? If so, why?
6. People hear about a Great Resignation in the media, that includes a big pay raise. They want in on the action, and it becomes a self fulfilling prophesy. FOMO.
martincmartin··on A math tutor teaching calculus on Pornhub
I thought that was a Tom Waits song, "Pasties and a G-String."
martincmartin··on Gmail password first character is case insensitive on mobile device
Very true. I wasn't very precise in my original comment.
martincmartin··on Gmail password first character is case insensitive on mobile device
But the changing isn't user visible. To the user, the phone number is the string "(416) 555-1270". If you want to store it differently in your database go ahead. But to the user, the phone number has dashes.

In fact, on my phone, when I type in just the digits, my phone inserts the parens and dashes. Presumably, users consider this easier to read, and dare I say, more canonical.

So, many applications can't handle phone number input in the exact form they display it to the user.

martincmartin··on Relational databases aren’t dinosaurs, they’re sharks
But MongoDB is web scale.
martincmartin··on Gmail password first character is case insensitive on mobile device
I just want a phone number input box that will strip dashes for me.

Many go to the effort of having an error message pop up that says "no dashes or parentheses allowed." So they went to the effort of writing special case code to notice and handle this ... by giving instructions to the person, instead of the computer.

martincmartin··on Ask HN: People who cashed out early and stopped working: What is your life like?
the weekends are a pretty good picture of how we'd behave at retirement.

Interesting, thanks for the insight. I've also heard that, your teenage hobbies are another source of where you might find your passion in retirement. What did you do for fun as a teenager, and how does that compare to what you do during your breaks?

martincmartin··on Factorio's Belt Bug
I've been a single dad the entire time ... and still squeezed in that much Cracktorio

First of all, I applaud you for squeezing that much into your life. I honestly think that's awesome.

re single Dad and Cracktorio: my wife calls it Divorcio. So I see how those go together. :)

martincmartin··on Beware survivorship bias in advice on science careers
I take it as -- using the word "fail" to mean you don't finish your Ph.D. is the word a survivor (say, professor) would use. Even though grandparent didn't survive in academia, they're still using the terminology associated with that. Namely, that not becoming a professor is somehow failing.
martincmartin··on Programming Puzzles
Because you get a stack for free.

It's very natural for depth first search of a tree.

martincmartin··on World on 'catastrophic' path to 2.7C warming, warns UN chief
We did in the 1970s. Have you seen Soylent Green?
martincmartin··on Mailchimp insiders react to employees getting no equity from Intuit sale
Can you sell the stock on a secondary market?
martincmartin··on Hyperbaric oxygen therapy reverses hallmarks of Alzheimer’s disease and dementia
Yeah good point, it might be the 95% confidence interval and not the standard deviation.
martincmartin··on Usage statistics of server-side programming languages for websites
How much is Hack used outside of Facebook? Why isn't it used more, given the popularity of PHP?
martincmartin··on Hyperbaric oxygen therapy reverses hallmarks of Alzheimer’s disease and dementia
(102.4 ± 7.3 to 109.5 ± 5.8, p=0.004)

106 is well within a standard deviation of both of those. In fact, 109.5 is only one standard deviation away from the first, and the reverse is almost true. How do they get p = 0.004?

martincmartin··on New math book rescues landmark topology proof
So who gets credit for proving it? Freedman, the original author from 1981; or the authors of this book?

If Freedman's proof has so many gaps, should it be considered more of a proof outline, or a motivation for believing a conjecture, and the current book be considered the actual proof?

Or does Freedman get the glory? In that case, there's not much incentive for people to do what these book authors did. Which I suppose is why it took 30 years, and is only happening now because they "were captivated by the beauty of Freedman’s proof and wanted to give it new life. "

martincmartin··on Everybody makes mistakes when writing comparison functions
The mistake I often see in interviews:

    int cmp(int a, int b) {
        return a - b;
    }
This can easily overflow or underflow. For example, if a = INT_MAX and b < 0.

I don't count it against the person interviewing, because its common and arguably reasonable if your values are all < INT_MAX/2.

← PreviousPage 6 of 23Next →