HNHacker News
TopNewBestAskShowJobs

SomeCallMeTim

4,107 karma · joined February 17, 2010

I'm a consulting software architect and freelance CTO. I come in and rescue small businesses from code disasters, and occasionally am given the chance to prevent the disasters to begin with. I also used to develop video games, and have pivoted that skill to gamification consulting.

https://coderescue.com

submissionscomments
SomeCallMeTim··on The Case for Bash (2021)
I needed to learn Lisp in college.

I hate Lisp.

'nough said.

SomeCallMeTim··on The Case for Bash (2021)
zsh is much better.

And it's not installed by default on all systems. It's especially not installed on systems like Alpine.

The point was never to "find a better shell." It was to run install (or other) scripts with some level of logic absolutely anywhere.

SomeCallMeTim··on The Case for Bash (2021)
I don't choose bash because I am unaware of other languages. I choose it because it's already installed everywhere.

If I'm going to install a language/shell, I'll likely choose Node, Bun, or Go, depending.

Python isn't actually a much better language from a language design standpoint.

SomeCallMeTim··on The Case for Bash (2021)
"Install something else" is ... a nice idea?

But it's simply not realistic.

Examples:

- Embedded devices that may or may not have an internet connection

- Government classified networks that aren't allowed to grab ANY random software off of the internet

- Simply not wanting to add another dependency to an operation.

I'm a former Lua fan. I've ... written it off at this point. [1]

Honestly if I were to take the approach you describe, I'd likely instead have the shell script only look at the architecture and then choose one of 2-3 precompiled Go binaries. Talk about simple and fast...and the binaries could be hosted behind a firewall somewhere.

Or maybe I was thinking of it wrong. Just embed the various Go binaries into a tar file embedded right in the shell script[2], and choose the right one based on architecture. Done. :)

[1] https://realmensch.org/2016/05/28/goodbye-lua/

[2] https://www.xmodulo.com/embed-binary-file-bash-script.html

SomeCallMeTim··on The Case for Bash (2021)
Bash/Sh is an objectively awful programming language. You could likely fill an entire book with all of the design fails that is Bash script syntax. Only in a shell script would you ever need eight backslash characters in a row in order to accomplish something...and "space as delimiter" is awful in so many ways.

But especially Sh runs everywhere, so it's good to know. This seems to be the article's point.

Honestly, though? The right answer is to transpile a better language to Sh.

Looking around, there have been several half-hearted, abandoned attempts. But apparently everyone is happy to just fall back on the "accidental syntax" of Bash that really doesn't make sense when compared to ... any other language.

I put up with Bash because there's no better alternative. That doesn't mean we should put up with Bash; just that we must put up with it at least to the point where it can run code written in a real language.

SomeCallMeTim··on Indian government empowers itself to “fact check,” delete social media posts
> I can confirm, you cannot articulate what rural voters are concerned about.

I never claimed that I was giving the entire picture.

Given that there is ZERO positive that Trump accomplished for rural voters aside from "owning the libs," and many things that were actively negative like starting a trade war that may see rural soy farms permanently out of business, no, I don't think that rural voters are motivated by anything aside from "voting their team" and "trolling the libs."

> I see little indication you believe democracy is important

...trouble with reading comprehension there? I'll simply repeat:

> It's the worst form of government around...aside from all the others that have been tried. (paraphrased Churchill).

> I don't know of another form of government that has better results. Neither did Churchill. If we could enforce better national education standards, we'd end up with a better result. But in short term I don't know how to fix the problem other than taking the worst liars off the air.

But you don't actually care what I'm saying if you follow up with:

> It's hard to see calls like this as anything other than being upset that the majority is not voting the way you want, and wanting to reign them in.

Umm... It wasn't a majority. It was barely 25% of the country. The majority of active voters did in fact vote for Biden.

But enough. You're just trolling at this point.

SomeCallMeTim··on Indian government empowers itself to “fact check,” delete social media posts
> I think we should be extremely cautious about views that suggest cross sections of the population are not capable agents.

I'm calling it as I see it. "Being cautious" and trying to be "fair" to the other side has been increasingly destroying the country.

47% of the voters in last election, which is just under 25% of the US population, were in fact manipulated, and are really, in this respect, not capable agents as a result of that manipulation. At the very least they're demonstrably not capable of critical thinking.

I've looked carefully at many explanations as to why MAGAts vote the way they do. It's blatantly obvious that there are a small number of primary motivations.

Aside from "sociopathic self-interest" of some of the 0.1% who simply want lower taxes, everyone else be damned, and a big chunk who reflexively vote Republican as if it's their home team and aren't really paying attention, the main motivator seems to be hate of "the liberals." And no, I don't accept that "hurting more than half of the country" is a reasonable motivation for someone under normal circumstances.

Where did that extreme level of hate come from? Manipulation. Sure there was an underlying anger that the propaganda stoked. People in rural America have it hard and they see all of these rich people in urban areas doing well. But that anger has been fanned to the point where kids knocking on the wrong doors are being shot. And the anger is fundamentally misdirected; these blue-collar folks could tremendously benefit from a higher minimum wage, for instance, and it's not like the Republicans would ever voluntarily vote for a minimum wage increase at this point.

> But why is that a good thing? We don't have to have everyone participate. You don't seem to believe in democracy yourself here.

It's the worst form of government around...aside from all the others that have been tried. (paraphrased Churchill).

I don't know of another form of government that has better results. Neither did Churchill. If we could enforce better national education standards, we'd end up with a better result. But in short term I don't know how to fix the problem other than taking the worst liars off the air.

"We don't have to have everyone participate" -- that sounds too much like a support for voter suppression, which is not what I'm talking about.

SomeCallMeTim··on Indian government empowers itself to “fact check,” delete social media posts
Democracy is about the people being able to participate in government. That's it. In order for that to be a good thing, the people need to be informed about the decisions they're making.

If the people are completely brainwashed by lies that are completely contrary to the truth--like nearly a quarter of our population seems to be at the moment--then they will vote for those with the most convincing lies.

If someone who gets their information from Fox "News"--which has been shown to be less reliable than not watching any news at all--is given an equal vote to those who actually know what's going on, Democracy is subverted. At that point you actually have a "fake Democracy", where the country is actually guided by the propagandists and not the people.

The US is one of a very few Democracies with this absolutist attitude about freedom of speech. It's not a required component of Democracy, and it's ultimately self-destructive, but it's clearly (based on the downvotes and responses to my comment) deeply ingrained.

As an example, Trump should have gotten barely any votes in the last election. He accomplished almost nothing besides stacking the supreme court and passing a deeply unpopular tax cut. Yes, we beat him, but 74M people voted for Trump. And those 74M people, nearly 47% of the voting public, were manipulated by blatantly false Russian and Republican propaganda.

To my mind, the "free speech as a religion" POV is looking like it will be the death of our democracy. If we can't fight misinformation, it may bury the country.

And clearly those on HN disagree. I won't argue with you further. But as things stand, we're circling the drain.

SomeCallMeTim··on Indian government empowers itself to “fact check,” delete social media posts
Ten years ago I would have agreed.

Today? I'm not sure you're right about which is the greater threat.

Yes, state censorship can be abused. But promoting misinformation is a known threat to Democracy today. Right now.

I'm not sure what the real answer should be. If "the market" manages to get the propaganda farms' misinformation under control, then great. If they don't, the only answer I can see is for government to step in.

As they say, the Constitution is not a suicide pact. Dying to protect absolute freedom of speech when bad actors are abusing it to destroy the country is not wise.

SomeCallMeTim··on Lerp
But...the implementation is such that you can't take into account the number of ticks.

Every time you call it, it moves by the same amount.

This is how people did animations back when PCs were always the same speed, so you didn't need to worry about frame rate changes. And it's why they had to add a "turbo" button to the next generation of PCs...because many games weren't playable when the clock rate was nearly 2x the previous generation.

So it's an example that can't be used. The details aren't irrelevant. They're crucial.

So unless the goal is a fluff article that isn't actually useful for anything, it's deceptive. Run these animations on a 200FPS screen and they'll look very different than at 60FPS.

SomeCallMeTim··on Lerp
That is lerp. Yes yes yes. Ugh.

I've written that exact function in multiple languages for probably a dozen projects or more.

SomeCallMeTim··on Hyundai promises to keep buttons in cars
Hmm. I've driven on snowy roads and found it to be better at handling than any other car I've driven, even counting cars that had dedicated snow tires (whereas the Ioniq only had all-season tires).

It also has a "snow mode" to help with particularly bad roads. I found at least one review that puts its snow handling down as a "pro", so it's not just me. [1]

I did get the Limited AWD with the 20" wheels. Not sure if that makes a difference.

[1] https://www.hotcars.com/2023-hyundai-ioniq-5-review/

SomeCallMeTim··on Hyundai promises to keep buttons in cars
I just bought an Ioniq 5 a couple of months ago. The buttons are legit great, and the EV drive train is top notch.

Loving it so far.

SomeCallMeTim··on AWS’s anti-competitive move hidden in plain sight
Ummm...

Quick back of the envelope [1] shows that the EC2 pricing is still only about 60% of the Aurora price, and something less than half of the RDS/PostgreSQL price, even counting the intra-region transfer.

There may be some transfer patterns and database sizes that cause the Aurora implementation to end up less expensive, but I think under most use cases Aurora is _more_ expensive, and RDS _much more_ expensive.

Just because the intra-region transfer isn't itemized doesn't mean that you aren't paying for it. Heck, the fact that the mark-up is so _low_ is pretty impressive, to be honest.

[1] Assumptions: [db.]r6g.large, x3 for ec2 instances, 1 year reserved capacity with monthly payments, 100GB storage, 1TB of intra-region transfer/month.

SomeCallMeTim··on We apologize. We did a terrible job announcing the end of Docker Free Teams
For TEAM accounts that aren't "Docker sponsored open source" teams.

They should allow a TEAM->PERSONAL conversion for any open source account that doesn't qualify to be "Docker sponsored." But really this is a communications fail more than anything.

SomeCallMeTim··on We apologize. We did a terrible job announcing the end of Docker Free Teams
No. This was NEVER implied at all.

This only ever applied to the *Team* accounts. I have a paid non-team/personal account, but I am also aware that I could have a free personal account if I didn't need private repositories.

In other words, they weren't clear enough in their communication, which is what they're apologizing for.

But the internet outrage mob is going to yell about the evil of The Man no matter what I say, so I don't know why I bother...

SomeCallMeTim··on Replacing a SQL analyst with 26 recursive GPT prompts
By the time the semantic description is sufficiently exact, you may as well have written the code, though. [1]

[1] https://i.pinimg.com/originals/e3/2f/22/e32f2209b4c3d6b32bbc...

SomeCallMeTim··on Ask HN: How many of you are open to Piracy again?
I've bought items that weren't defective, but that turned out to not work as well as was advertised, and that's also free.

I don't know the full policy, but it makes sense they would cover the returns of an item that items that are DOA.

SomeCallMeTim··on Ask HN: How many of you are open to Piracy again?
Prime is free shipping _both ways._ Non-prime returns cost money. [1]

That makes buying much more risk-free. I haven't paid for return shipping on an Amazon purchase for years.

I don't know that I return enough to compensate for the ~$120 annual cost (I guess it's going up to $140?), but it does get me faster (and more to the point, deterministic) shipping as well, _and_ the other benefits like Prime Video.

Overall I find it still makes sense. But you do you.

BTW, your partner can probably share the Prime shipping benefit with you, if they aren't already sharing it with someone else, and if you live together. My wife can buy things on Prime with our one subscription.

[1] https://www.amazon.com/gp/help/customer/display.html%3FnodeI...

SomeCallMeTim··on Ask HN: Why isn't JSON-RPC more widely adopted?
Not the OP, but: Protobufs are much more complicated on the implementation side than JSON. You at minimum need a protobuf library and a spec for your data that's shared on client and server. Migrations are also a lot more work because you may need to keep around every version of your protobuf in every client and/or server, depending on how synchronized the two are (i.e., if you can guarantee all clients and servers are upgraded 100% synchronously, as on a web site, then it's not so bad, but if clients are apps or peers that may or may not be upgraded, then the server may need to speak many different versions of a protobuf).

These all qualify as "more heavyweight," at least from an implementation perspective.

SomeCallMeTim··on Show HN: Create a paid link to anything
Well, starting with a service that has already pivoted to a better service isn't a great strategy, IMO.
SomeCallMeTim··on Show HN: Create a paid link to anything
No. Gumroad hosts and sells digital products from a store.

This site...well, I can't even tell what it does aside from creating a paywall link that requires $X to bypass. And on that payment page there's no hint as to what you're buying.

And after you've gotten a new link...then what? Someone can just post that link everywhere? Or is there some kind of API that unlocks a link? Or...?

The service has very questionable usability. Gumroad has obvious utility. That's the difference.

SomeCallMeTim··on Emergency SOS via satellite
Yeah, this is the first Apple feature announcement for a long time that I'm actually impressed by.

Not the biggest Apple fan, but I have to let them have this one. If I weren't so invested in the not-Apple ecosystem, I'd consider switching.

SomeCallMeTim··on Story: “It would be career limiting..."
The original comment says "a 12 month delay isn't a solution, it's a problem."

But sometimes there is no solution other than recognizing that it will take longer.

Or at least not with the current team.

And yes, that means telling everyone involved up to and including the CEO if necessary. The only other "solution" was clearly to quit, which they did.

A $60M project with 200 people on it isn't going to be able to pivot to creating that photo-sharing app (or whatever) 12 months faster. It's unethical of the entire management team to not immediately go to the client and tell them that the project is seriously behind expectations, in fact, "career limiting move" or not.

This is why outsourcing gets such a bad name. It's frequently run by unethical scammers who are just there to milk money out of clients.

SomeCallMeTim··on FCC to remove companies from robocall database for non-compliance [pdf]
Callers with blocked caller ID get screened by Google for me, and I rarely ever hear from them -- but I get a ton of calls from people who either have spoofed numbers or who have temporarily picked up a "source" number based in my area code.

It's gotten to the point where if it's a local call I almost always assume it's spam, but I still need to answer.

If it's a doctor's office trying to make an appointment, for instance, then getting through to the same person who knows why you're trying to make the appointment so you don't need to give them 100x as much information yet again? Yeah, at that point it's much better to just answer a few spam calls instead of ignoring all of the unfamiliar numbers.

I have a kid in college and another in high school. A dead phone could mean I could be getting a call from one of them from any number. I just can't ignore them all.

I'm happy for you that your life is simple enough that you can just ignore anything you don't recognize, but try not to act as if the rest of us are doing something wrong because we're happy that the FCC is attacking the underlying problem and ignoring the pain we need to deal with.

SomeCallMeTim··on Apple Car: Bad Idea After All
Given the number of times I've seen a reported, verified bug in OS X be "fixed" by hiding the bug from the public tracker and marking it "will not fix," I would have a hard time ever trusting a car made by Apple.

Apple also makes their products to be disposable, seemingly as part of the culture, while a well-made electric car can run to a million miles over 50+ years. That's a very different build philosophy.

The key to me is that Apple presents the image of perfect fit and finish--beyond that their products are not problematic in a lot of ways (ability to modify them, or expand them, or extend them in ways that Apple doesn't approve of...). Some of their tech is cool, don't get me wrong. But it's far from perfect.

I would imagine an Apple car that only supports Apple Maps, Apple Music/Podcasts, and Siri and will only connect to iOS devices...and that costs twice as much as the Tesla for the base model, and more if you want a reasonable range. Pandora? Spotify? Waze? Meh. Sorry. Oh, and don't forget monthly fees for navigation; probably more like the $36/month of the Audi EV than the free navigation for the Tesla.

I'm sure there's a market for it. There are a lot of people who love Apple and who have money.

SomeCallMeTim··on Stop saying 10x developer
I made my early career on doing things that other developers claimed were impossible.

But we don't have another term that both has traction and isn't ridiculed.

"Rock star" and "ninja" are in the latter camp; both those terms and "miracle worker" seem like you're bragging.

But you're absolutely right. I know that there are some solutions I've come up with--quickly--that the rest of the team wouldn't have achieved given years. Your overall descriptions hits me too--non-traditional background, ADHD-level boredom sensitivity, always pushing for the right solution even if it's not politically wise, and demanding of high compensation.

But instead of changing the world I keep taking relatively brainless tasks just because they pay well. The boredom part makes it hard sometimes, but I usually get around that by changing the environment I'm working in so that any repetitive work gets eliminated.

SomeCallMeTim··on Stop saying 10x developer
> other than specifying a focus ("video encoding expert" or similar)

I am not making a dismissive comment here. I'm saying that expert is only useful for saying things like "video encoding expert".

And that a "video encoding expert" may be great in a very narrow way only involving the math surrounding video encoding, or may be a 10x developer in addition, but the "expert" label is orthogonal.

I'm certainly not going to pretend to be a video encoding expert in the sense of working on the encoding code at least. I've actually worked on projects that have used video encoding multiple times, and in that sense, yes, I did just "drop in and become an expert," in some cases learning ffmpeg on the fly and in other cases integrating C libraries and dealing with frame buffers.

And that is what a 10x developer can do. I don't feel the need to "talk down" to anyone, though, but if an expert makes a claim I will expect them to be able to talk intelligently about it and defend it if it seems wrong.

SomeCallMeTim··on Stop saying 10x developer
Good article, though I can't agree with the conclusion.

"Expert" doesn't really communicate much. There's a meme that's probably older than I am that goes something like:

"An expert is no different from the rest of us, he just has a binder and slides."

Today it would probably be a PowerPoint presentation, but the point stands: Expert has been an overused and overloaded term for far longer than 10x, and other than specifying a focus ("video encoding expert" or similar) it is insufficient to actually communicate to non-technical people the distinction.

Saying specialist is also descriptive of your focus, but similarly doesn't get to the underlying difference between and average and a 10x developer.

A video compression specialist is going to be really good at video compression, and maybe that's because they're really familiar with the math and the domain. And that means they could create compression algorithms much faster than I could; I don't know the technical details of any compression algorithms to the degree that I'd even consider taking such a job. Some tasks are best handled by experts or specialists; that's fine and appropriate.

But a generalist "10x" developer can typically handle many domains. In fact, jumping between domains is not uncommon. Their "expertise" is in being able to grok complex systems and multiple levels of indirection and interaction; what the systems are doing is less important. Maybe the video compression specialist is also a 10x developer, but just prefers to stay in the video compression space; that's fine. But I've seen code written by specialists were really good at their specialty, and their code worked...but it was not good code. And one hallmark of a 10x developer is that the code is good.

So both expert and specialist are really orthogonal to 10x.

SomeCallMeTim··on Removal of Heroku free product plans
When I looked at Heroku pricing way back when, I immediately had a "WOW that's expensive" reaction.

I look at it now, and...well, I'm all-in on k8s for most things, and cloud functions for most everything else, so I'm really not sure what the advantage of using Heroku would ever be if it they don't have a free plan.

For free databases there are multiple options like CockroachDB and Supabase; throw up a $6/month droplet at DigitalOcean and you get the equivalent of a $50/month dyno at Heroku. Yes it's easier to deploy to Heroku, but it's only a couple hours to set up some kind of CI/CD deploy, and then you can control it more precisely.

Heroku has basically been a "first one is free, but as soon as the business gets big, soak them" company from the start. Given the number of companies offering free levels of cloud functions and hosting, I think that's where most new experimental development will migrate to in the future.

I sympathize with them for giving up in the fight against abuse of their free services, but ... well, I think they're likely to transition to irrelevance if they don't pivot or slash prices soon.

← PreviousPage 3 of 34Next →