HN user

ibiza

1 karma
Posts3
Comments77
View on HN

I wonder if a Sun, Dec, or HP of the 90s would have had a fighting chance against Windows NT had they not embraced X, and instead developed a local-first stack optimized for their considerable hardware.

Related, I've always found it odd that in Linus' history of Linux, part of it was a desire to implement an Amiga-like OS on a PC. This is the message-passing-bad guy. What happened?

Migrating a suite of programs written w/ COBOL, CICS, DB2 from z/OS to Linux is fairly straightforward. MicroFocus COBOL compiles IBM COBOL, DB2 runs on Linux or you can swap out another RDBMS. The CICS part requires a simple runtime easily implemented in C plus a new scanner to replace the calls in your programs.

I was part of a 4 person team that knocked this out in under a year. 1,000's of mainframe programs running w/o change (at the time) on Unix. This was in the 90s.

I find the bifurcation between HTML elements and CSS statements maddening. Structural things like flexbox and grid would be far clearer as HTML element types.

I use this method as well. To add some specifics, I use a 4 qt saucepan to produce enough for two people. I use enough oil to liberally cover the bottom (glug glug). This is not diet food, excess oil tends to remain in the pot anyway, and I believe most of the heat transfer is oil to corn as opposed to from the pot itself, so you need ample hot oil for a good batch.

To judge when the oil is hot enough for the corn, I add 3 kernels to the initial pot + oil. Once those 3 kernels pop, add enough corn to cover the base of the pan, swirl the hot oil w/ the new kernels, replace cover, but leave slightly ajar to allow steam to escape, and then yeah, a couple more swirls & you should have a perfect batch in about a minute or so.

Why Lisp? 3 years ago

Your point stands, but I think you're arguing about static vs dynamic typing, rather than strong vs weak typing.

CL is dynamically typed (values have types, not variables), w/ strong types (automatic type coercions are rare).

Zig and Rust 3 years ago

That's a a compelling argument: GC/RC w/ stack allocation where possible. I associate GC w/ pointer chasing and the unavoidable L1, L2, L3 cache trashing that goes w/ it.

To what extent is this possible? Does Nim have LTOs that rewrite memory handling across compilation units? I'm guessing no, and instead it's local & one-off, rather than something one can bank on.

call it a day, finish work early and go to the beach for sunset.

That's great, except if you're on call, responsible for your own and your team's code. Hopefully, there are no NullPointerExceptions, ConcurrentModificationExceptions, not to mention the odd race condition or two. I appreciate a language that can eliminate the majority of these cases at complie time. I'd rather sort these issues out on a Tuesday morning than get pulled off the beach by PagerDuty.

the unrivaled build quality of the MacBook (screen, trackpad, keyboard)

Typing this on a ThinkPad X13, after years of MBPs, I beg to differ. The screen on the ThinkPad is better, even at a slightly lower resolution of 1920 x 1200. It's IPS like the Mac of course, but also Anti-Reflective (matte), which Apple hasn't offered since 2008?

The ThinkPad has Left, Right, and Scroll mouse buttons, as well as a TrackPoint stick. Not so on the Mac.

Finally, the keyboard. You're going to laud Apple for their quality keyboards, really? The ThinkPad has a nicer keyboard feel (subjective, I know), has actual Home, End, PageUp, PageDn, and Delete keys, two Ctrl keys, and praise Jesus, gaps between the function keys, so you can use them confidently w/o looking.

a big chunk of these vulnerabilities would not exist if C and C++ [...] simply didn’t have zero-terminated string, initialized values by default, had a proper pointer+length type thus replacing 90% of pointer arithmetic with easily bounds-checkable code, and had established a culture that discouraged the prevalent ad-hoc style of memory management.

This is Rust's calling-card, so I find this plea for a better lang / eco rather jarring after dismissing Rust for somehow "making the wrong tradeoffs".

I stopped a couple years ago and really didn't intend to. The idea was to hit the pause button for a while, as my wine intake was becoming too regular. I had quit cigarettes long ago w/ a packaged plan. What I remember about it was that it came w/ a card on which you were told to list the things you'd gain, the benefits you'd reap, by quitting smoking.

So I made the same list for stopping drinking and it worked better than I expected. I won't tell you what was on my list, as it would sound preachy. I would recommend making your own list. Spend a few minutes on it & try to be exhaustive. If you frame your goal not as removing a negative but as gaining a set of positives, it may reorient your thinking & get you to your goal. It did in my case.