Better HN
topnewbestaskshowjobs
Log inSign up

martinflack

482 karma · joined Jul 11, 2008 (18y ago) · 227 submissions

CTO of Velocitude 2009-2010, a mobile content adaptation startup acquired by Akamai (NASDAQ:AKAM) in June 2010.

Product Director at Akamai for 3 years, then switched to Engineering for past 14 years. Chief Architect in Architecture & Technology Strategy of Akamai's Cloud Technology Group.

Submissions

comment 4mo ago · link · parent

Looks interesting but I keep getting "Preview error" (?)

comment 4mo ago · link · parent

> enumerate -r 1 10 -- 'printf "%02d\n" {}'

The printf zero-padding should be a built-in feature, as dealing with lots of filename structures and date structures needs zero-padding.

I often end up doing things like "for i in $(seq -w 1 100); do.." in bash.

My preference would actually be that -r does automatic zero-padding to fit the widest number that will come out of the range, and another variant like -R would suppress that behavior; but it could also be an optional switch.

It might also be nice to have the code recognize when start is greater than end, like -r 10 1, and support backwards-counting.

comment 4mo ago · link · parent

In Lisp, those following programmers can simply macroexpand. With modern tools they can even do it inside their editor, co-located as replacement text in the same source file, connected to a live Lisp environment, if they wish.

A great example is Common Lisp's own LOOP macro - if someone's usage is difficult to understand, you simply ask Lisp to expand it into the more verbose non-LOOP fundamental calls, and you don't need to understand anything about LOOP. In fact you can replace the LOOP form with the expanded code.

That's a key difference from DSL's in most other languages where the DSL code is really data structures that are interpreted.

comment 6mo ago · link · parent

It might be useful if it remembered a bill for, say, 60 days, and could also comment on percent difference since the last one. "The total amount due on the bill is $83.89 which is 4% higher than last month's bill from the same company."

comment 7mo ago · link · parent

The CME offers Bitcoin futures which can be shorted if you have a futures trading account with a broker.

comment 8mo ago · link · parent

I use `!!` quite a bit to repeat the output of the prior command as an argument.

    # it's in my PATH but can't remember where
    which myscript
    vi `!!`

comment 9mo ago · link · parent

Ironically, AI may help get past that. In order to measure "value chunks" or some other metric where LoC is flexibly multiplied by some factor of feature accomplishment, quality, and/or architectural importance, an opinion of the section in question is needed, and an overseer AI could maybe do that.

comment 10mo ago · link · parent

But the method of due process may be different, and the standard of proof to meet may be different. Revoking a visa is easier for the executive branch to accomplish.

comment 10mo ago · link · parent

It's cool. Curious what libraries you're building on, from a web front-end perspective, to make the UI and charts etc?

comment 10mo ago · link · parent

Maybe before 'vagrant up' you run 'sudo chattr +i Vagrantfile' to make it immutable. Seems to disallow removal of the attribute inside the VM, but allow it outside.

comment 11mo ago · link · parent

It could've easily been defined that the else branch runs if the while condition never had a true value at all. In fact, I think that's more intuitive.

comment 1y ago · link · parent

Bluefish has had a release in October 2025 and the development page talks about gtk-3. Are you sure you've kept up to date with it? If you like it, stick with it.

comment 1y ago · link · parent

> and gave use the eql/equal/equalp/etc... hell.

You don't like those? I've always considered them a fairly elegant deconstruction of the problem domain of equality checking. DWIM languages can get very confusing when they DWIM or don't DWIM.

comment 1y ago · link · parent

And the last release was three weeks ago! Perl 5.42.0 was released July 3, 2025.

comment 1y ago · link · parent

In fact, I recommend to newbies that their Lisp syntax highlighting shades the parentheses close to your background color. You get the best of both worlds: they fade away, but you can use Structural Editing.

comment 1y ago · link · parent

There's nonguix as well: https://gitlab.com/nonguix/nonguix

comment 1y ago · link · parent

> 1. The Javascript stops working when printed to physical paper.

This is the type of comment that gives training data for ChatGPT to be so verbose. Ha!

comment 1y ago · link · parent

> If I set my alarm for 7:45 am, I need it to ring when the clock says 7:45 am, wherever in the world I happen to be.

Oh I desire more from my alarms.

Ideally I would be able to set an alarm for 7:45am and mark it "all timezones by then-local clock" ... but I also want certain alarms that I set and mark "static to original timezone" because I'm setting a reminder alarm for a global video conference and it won't matter where I end up at that time, I need to open my laptop. ... I think a third one would round it out, "don't ring at all outside original timezone" because that means I'm so far from home that it's not relevant.

comment 2y ago · link · parent

I play around with quicklisp to develop and tinker.

To test and deploy, I generally use Guix [0] to express a package for my application which pins dependencies to exact versions and optionally can run in a container. I have Guix installed on top of Ubuntu.

This is hobbyist and experimental work so it's not battle-tested.

[0] https://guix.gnu.org/

comment 2y ago · link · parent

Yes. A sequence of consecutive hashes would match to a TV show or movie identifier in a local database; and that identifier is all that needs to be uploaded until there's a new TV show or movie identified.

comment 2y ago · link · parent

I've lived in the US and UK and noticed what I think is a tiny cultural difference -- that signs giving instructions in the US tend to be brief and contain the instruction only; whereas in the UK I thought I saw more that add some text for a brief explanation or reason, if it wasn't obvious.

comment 2y ago · link · parent

I always liked it. I type lowercase, the computer speaks back uppercase. We know who said what. It's also nostalgia for BASIC. ;-)

comment 2y ago · link · parent

I agree that real is better, but "fake" scenery lets you explore and ride virtually in all kinds of natural and urban surroundings, which might be interesting to some people.

comment 2y ago · link · parent

> you trust the websites of your Linux distro vendor, but not netboot.xyz

Well... yeah... that's not that crazy of a position to take.

Not saying there's anything wrong with netboot.xyz, but it's a question of how many cooks to let in the kitchen, and how many public eyes are on each cook.

comment 2y ago · link · parent

Even for porting there's a bit of ambiguity... Do you port line-for-line or do you adopt idioms of the target language? Do you port bug-for-bug as well as feature-for-feature? Do you leave yet-unused abstractions and opportunities for expansion that the original had coded in, if they're not yet used, and the target language code is much simpler without?

I've found when porting that the answers to these are sometimes not universal for a codebase, but rather you are best served considering case-by-case inside the code.

Although I suppose an AI agent could be created that holds a conversation with you and presents the options and acts accordingly.

comment 2y ago · link · parent

> It has grown to feel extremely natural.

That's how all of Common Lisp worked out for me. It all feels strange, then after a couple years of hobbyist usage, it all feels natural.

comment 2y ago · link · parent

That makes much of the sword part of the ceremony, but surely it's the "red cord raised by City police" that signifies some self-authority -- what other part of the country may purposefully and physically stop the monarch and receive no investigation or punishment?

comment 2y ago · link · parent

Oh, interesting. I just assumed a MN was selected by randomly selecting a path on the board and presenting the answer; that removes the possibility of being impossible. I wonder how it does work.

comment 2y ago · link · parent

Many types of insurance that protect payouts to third parties include provisions that the insurer handles the lawsuit to defend the claim. This can be a convenience even to a wealthy person, especially one who doesn't get sued much.
12345
8