Better HN
topnewbestaskshowjobs
Log inSign up

hackrmn

320 karma · joined Sep 21, 2024 (2y ago) · 142 submissions

Submissions

comment 1y ago · link · parent

I get your point, I do. Then again, a lot can be said about the "PR value" of letting what could be miniscule (by comparison) costs of serving static hypertext, be saved in the eyes of "potential" customers. It's pennies on the dollar and I am fairly sure Microsoft would get a lot more love from the "neckbeards" who need the old-school stuff and not the toys they insist on dangling in front of our faces (which they are famous for). Remember when Microsoft tried to get everyone away from Win32 by force-feeding everyone WinRT, writing "deprecated" over the former everywhere they could on their site(s), only to witness such a shit-storm of complaint and fury from people who actually rightfully knew Win32 was, for all its faults, one of the better things Microsoft has given us (in context of Windows programming, that is)?

Speaking of Win32 but not only that, I too have started being more cautious and pedantic about user manuals and other "paraphernalia" I have to rely on, for instance Win32 API documentation which is getting more scarce to find in sufficient volume and specifically _detail_. So I download and archive it (with implied off-site backup, which I have for most of my "home directory" stuff) -- I agree the only way to guarantee access is to, well, obtain a copy of the document...

comment 1y ago · link · parent

With "free range organic" are you describing people or food? As in, "it's better to be a free range organic human [vs. battery/caged livestock human-like resource for exploitation]", or "it's better to _eat_ free range organic [food]"? These are two different things, and in either case I'd argue not an option for the people who struggle affording food that is health(ier) by modern standards.

comment 1y ago · link · parent

So Tonsky's punishing us for leaving JavaScript enabled?

comment 1y ago · link · parent

My go-to reaction to these things that Microsoft does, removing content, is always the same:

Microsoft, are you running low on hosting space, or something?

I mean, how does one of worlds largest software corporations, handing people OneDrive accounts left and right, not to mention all the other digital waste they're busily involved with, lack storage space for some valuable archive pertaining to use of one of the world's most popular OS and associated software suites? Someone should just forbid them to "retire" content, especially if posted by actual people.

Fortunately, The Wayback Machine / Internet Archive works overtime to take upon themselves the responsibility I think would have been best left to Microsoft.

comment 1y ago · link · parent

Related: https://htmx.org/essays/htmx-sucks/ (on the actual HTMX upstream site)

comment 1y ago · link · parent

Saying "I don't care about 'privacy' because I have nothing to hide" can be compared to saying "I don't care about free speech because I have nothing to say". Which says a lot, frankly.

comment 1y ago · link · parent

I've been shouting this from "the rooftops" ever since I eventually independently had come to the same conclusion through sufficient volume of experience and empiry. I consider it a small tragedy, however, that my words tend to fall on deaf ears as I try to explain to e.g. co-workers why they should, in fact, parse their input and use the language's type system to their advantage, vs. all the `validateThis` and `validateThat` they seem to be copying from e.g. Stack Overflow. I see them stumbling and breaking their nose time and again passing URIs around as strings -- even in languages other than C (so this isn't obviously a problem C created and needs to solve alone) -- where it's never enforced that the URI is e.g. "absolute" or "relative" (nevermind the fact these people often don't seem to care for the difference). They do the same error with date and time (how many decades of advice do we need to accumulate and impart on our younger peers for them to irrevocably understand why e.g. date and time should never be passed around as numbers or strings, with very clearly documented and justified exceptions?). But the tragedy is never more evident when the person looks at you like you're suddenly talking Klingon to them and how bored they are with the notion and how it cannot be so important as to disturb their very important "coding project" (we don't write Knuth's "literal" programs any more -- we _code_).

comment 1y ago · link · parent

I, too, have been saying this on occasion. In my observation, Mozilla has been in an increasingly suboptimal position with Firefox, for a while now, as Google and Microsoft have largely settled on splitting the market in between themselves where the core of Chrome is developed by the former and Microsoft spends their effort on what they are [better] at -- integration with Windows in the form of UX-level features and whatever else that they do with it to build Edge. Firefox is increasingly seen as a "fair" nuisance that is slower, and by comparison can afford less effort development-wise. Look at some of the practically critical issues in their Bugzilla database -- there are features there that have been waiting almost a decade for implementation, and the discussions point to a combination of code complexity that requires acute insight into the browser that is your typical bell curve distributed over developers familiar with it -- the number of developers who are able to actually deliver on those features, can probably be counted on two hands. And that is in part because most of these people are getting paid to do other things. In the very least Mozilla directs their effort in a manner that speaks for itself -- why are some of these features, like https://bugzilla.mozilla.org/show_bug.cgi?id=1360870 that would be considered critical in today's Web development environment, not implemented after nearly a decade? -- If Mozilla _is_ paying the developers?

This is why I too think we ought to migrate to Patreon-like direct sponsoring of individual (or vetted group) effort to generate some development steam for Firefox. It might make Mozilla deny these developers write-access to Firefox repositories for all I know, but a fork cannot be prevented.

I've been using Firefox since its "Phoenix" days (good memories!), but it's lagging behind the competition more and more, and while I'd be first to admit we don't need half the features Google is busy putting into Chrome which then "magically" appear in Edge (what a devious alliance, that), some of them are sound design but are absent in Firefox, to the detriment of developers. In short: Firefox is losing more ground faster than ever before, at some point the boundary conditions will cause it to no longer be a viable alternative for the average user, I am afraid. Which will cause a "cascading failure" where no developer will test for it, and you know what happens then (because we've been there before).

comment 1y ago · link · parent

Given what you're vaguely implying -- that the switches would be nowhere near the first thing a pilot would normally think of in the kind of situation -- what are the odds the pilot asking on record "did you flip the fuel cut-off switch?" is the one who actually flipped the switches and was simply trying to fool the would-be investigation (even knowing they all are about to perish)?

comment 1y ago · link · parent

I disagree on the general principle of adding APIs -- the platform suffers not from lack of APIs, when you really think about it, but from "another API to rule them all". It's frankly a similar fallacy that struck Microsoft where they were for a long time stuck having to support every API their seniors and interns ever invented -- none of which seem to be sufficient, apparently.

The solution to the "bro, just one more API, please" is to design a _transparent_ platform that is well able to "delegate" programming of new features (e.g. one implementing your favourite templating API) to third-parties in a manner that maintains their "first class citizen" status. WebAssembly was a move in that direction because it's a generic platform that in part supercedes and otherwise supplants the mess that JavaScript has to manage bridging the originally "kiddie script" application software domain, with the native functionality the browser may be encapsulating (also for performance).

Case in point: FFMpeg may be compiled to a WebAssembly module, which gives you arbitrary video/audio encoding/decoding -- pending correct design of bit-blitting so the decoded output can be efficiently transferred to the screen/speakers (which, for much of the reasons I am trying to outline, _is_ the bottleneck of the entire solution).

We need more of the same kind of thinking. Stop begging Web browser vendors / w3C / WHATWG for more features that are just lipstick on a pig -- sit down, think about what kind of feature(s) would allow the Web platform to finally escape the death spiral it's been in since its inception -- albeit one with a large enough radius it's meant to never actually resemble a spiral.

I don't know if I am making myself clear here, but in much simpler terms: why should there be another piece of code that caters to "most" (because you happen to be a FP/React zealot, for better or for worse) when these people can ostensibly write such templating system themselves, publish it on e.g. NPM and/or pull it and use it from there?

comment 1y ago · link · parent

To be fair (pun intended), I am still on Fairphone 4, and I've gotta say it has lasted me very well, and the battery is still in good condition so the selling point of being able to swap the battery (something I actually _have_ practically missed in the phones I have owned before the Fairphone) hasn't really even come up yet. Ironically, I have been mildly itching to replace the 4 with the 6, just because. But I am not going to -- not until current phone becomes unusable.

comment 1y ago · link · parent

I was referring to Google's AI Ultra "imitating" Black Mirror (knowingly or not).

comment 1y ago · link · parent

Ok, this reminds me of that Black Mirror episode,

*spoilers ahead*

where the lady had a fatal tumor cut out for emergency procedure, only for it to be replaced by a synthetic neural network used by a cloud service with a multi-tier subscription model where even the basic features are "conveniently" shoved into a paying tier, up until the point she's on life support after being unable to afford even the basic subscription.

Life imitates art.

comment 1y ago · link · parent

It caught my attention big time. All up until the point the word "caracul" was linked to the Zapatista movement, literally -- as in, to the Wikipedia page on Zapatista -- which, in turn says:

> is a far-left political and militant group that controls a substantial amount of territory in Chiapas, the southernmost state of Mexico.[4][5][6][7]

I don't mean to preach political theory now, but as far as I can see we're already collectively pretty divided (divide and conquer comes to mind): for a project that seems to preach all manner of fairness and correction of a system gone wrong, and is arguably moderately anti-capitalist (in the sense of objecting some of the status-quo product of Silicon Valley's mode of operation), do we really need to be thrown all the way to the other end of the left-right scale? Is Bonfire arguing for the analogue of "militant revolution" of software?

Imagining the project now, I am envisioning green-clad militants writing "fair" software. While not without merit, in my opinion the explicit political associations detract from the intrinsic value something like Bonfire could have for us, who are indeed have never been more firmly under the boot of the commercial IT industry than now.

comment 1y ago · link · parent

They're very far from irrelevant, depends on what kind of Web development you do, I would say -- I have been writing WebAssembly by hand (I mean, a lot can be said about that but it's a thing) and the spec. is authored by W3C. There's plenty of other things they author, like, you know, either one of the many _CSS_-related specifications.

It's just that with the modern Web 7.0 (or whatever version we're on now), it's WHATWG that's most prominent since there's that one spec that defines 90% of what happens on the Web, it's called "The HTML standard" or some such. Then you have Google de-facto authoring specs., which may or may not find their way back into the HTML document, but even if they don't, they do make you feel like W3C is left behind.

comment 1y ago · link · parent

Ironically, perhaps, I just read the article while taking a micro-break from writing a triangle rasterizer (aliased, aka pixel-art / retro) in WebAssembly. It'll probably feature rendering performance orders of magnitude slower than a graphics card from 20 years ago, and I am well aware of it but the truth is I am not doing it because I am still nurturing a dream of becoming one of the rich rock stars of IT from an era that passed me by those same 20 years ago. No, it's just that I find it pleasurable to do these things, exactly because I don't need to stay competitive doing it -- well, not against hordes of very capable software engineers churning all kind of useful _valuable_ systems. Not the least because I am doing the things I do like the above, during my spare time, and I have reasons to believe there's plenty need for the artistic pet projects done in spare time on intake of inspiration.

So yeah, just reminding everyone that not everything is about fierce competition -- if artists can chain smoke and drink their life through ups and downs of patronage, so can everyone else.

Noone says we should stop being responsible, but all the responsibility and adulting without play is much, much worse, in my opinion, than the alternative. It just so happens that I relax writing code.

I am still writing other things that have long been invented, and they consistently give me inspiration.

Not sure if I missed the point of the article, but I react to what I read from it, after all.

comment 1y ago · link · parent

I find it disturbing/puzzling that there is this fundamental physical behaviour like emission of light with wavelength of _exactly_ 21cm -- assuming one centimeter wasn't based on any such property but was just a "random" unit measure that stayed with us historically and through sheer volume of use (in U.S. inches filled the same niche; still do). I mean what are the odds that the wavelength is _exactly_ (the word used in the article) 21cm?

comment 1y ago · link · parent

To be honest, thinking of all the times I read an article that in the very least mentioned Turing Machines, I don't recall significant occurrence of linking "Turing Machines" to a Wikipedia article on the subject _or_ to one on Alan Turing, or subsequent (in parentheses, for example) elaboration of either concept or brief excerpt on the person -- the reader's knowledge on the subject of either, seems to more often than not, be implied.

comment 1y ago · link · parent

I suppose lack of overlap in the "interface surface" (attributes, including callables) between `str` and `Template` should nip the kind of issue in the bud -- being passed a `Template` and needing to actually "instantiate" it -- accessing `strings` and `values` attributes on the passed object, will likely fail at runtime when attempted on a string someone passed instead (e.g. confusing a `t`-string with an `f`-string)?

comment 2y ago · link · parent

Well, most importantly, CMake can't use Makefiles, and my idea revolves around specifically being compatible with Make in a way where a fork [of mine] would behave equvalently to [GNU] Make for Makefiles which both the fork and [GNU] Make are able to use, while not necessarily the other way around (given how the fork would have features that rely on syntactical constructs [GNU] Make wouldn't want to parse, for example).

CMake is a different beast, really. While both have in common that they're build automation tools, you can say, save for some shared ideas, they aren't really that similar once you zoom in past some level of detail. Meaning I hardly can choose to adopt CMake _instead_ of writing a Make-derivative if my goal is to _extend_ [GNU] Make. And I have reasons to prefer Make over CMake, so I am absolutely not interested in extending CMake (or acknowledging it has fit my needs and/or is aligned with the way I like to solve problems I have used [GNU] Make for solving).

You could say that CMake is the same as [GNU] Make beyond their different syntax, which is true in a sense, but syntax does decide a lot for each respectively, I would say. The fundamental syntactical differences between the two become larger as one walks the abstraction ladder upwards, and looking at each from the perspective of a user (tasked with, say, building a large C++ program/library), one has to adopt slightly different set of concepts specific to each. To that end, I prefer Make's abstractions over CMake's.

Last, the value of my implementing a [GNU, henceforth implied] Make compatible tool, wasn't just for forking an improvement, but also in that when I have written a sufficiently capable fork, say, I can assess _how_ Make was made to work, in my experience one tends to learn a lot about what a piece of software writing a compatible "emulator". I _can_ read Make's source code, but I really don't want to because what I have seen suggests the kind of "organic development" that no longer ideally resembles something an outsider would find easy to grok, even a C expert. It's just the way of those things, unfortunately. Instead, I could pick up Python and write a very bare-bones Make-compatible implementation that would give me a lot of answers for "why does Make work like this?" questions.

comment 2y ago · link · parent

I've been writing [GNU] Makefiles for years, and have a love-hate relationship with the [GNU Make] tool. I tend to push tooling to the limit, I think it's in part because I believe in "soundness of scope" -- a tool should have a well defined scope and within that scope "all bases should be covered". In practice that would mean, that with Make I am able to define the dependency graph of pre-requisites and targets (files that Make makes) such that it just about handles the graph resolution complexity for me -- _with variables_, that is.

I love Make because it largely delivers on its promise -- and I am using it almost in _opposite_ to what the author describes. That is, I consider phony targets to be an "illegitimate" feature of Make, and avoid them like the plague. While convenient, targets in Make are heavily geared to be files, certainly most of the machinery in Make was written to assume so, and even the well-known (and documented) targets like "install" and "clean" leave a terrible taste in my mouth as of late, despite these being very conventional.

The problem with phony targets is that they're hard to reason with by Make (unless you actually turn "install" and "clean" into files) and break half of the rest of its assumptions on what targets should be and how they behave. The rest of the problem is the linguistical aspect of it -- if I `make install` am I making an install program/script or what? These kind of vagaries have led me firmly away from ever using phony targets.

As for the rest of it, Make is terribly archaic, but that also lends it strength since the archaic nature is very simple on the flip side.

The "hate" part is me taking a dislike to its bare-bones, in my opinion insufficient variables facility, where only truly global variables (certainly sharing one namespace) exist and juggling these for any non-trivial Makefile is always a problem of its own.

I am no novice with GNU Make, not any longer, but occasionally I need to look back into its manual to remember how e.g. the so-called double-colon rules work (when I suspect I might need one) and the real difference between the `=` and `?=` variable assignment, for when I want to provide default values and so on.

Lately I've been playing with the idea of _implementing_ a [GNU] Make compatible tool just to see if the somewhat _patchy_ scope of [GNU] Make can be given more coverage -- for instance to see if adding locally-scoped variables and more flexible target definition can improve Make? What I mean is to experiment with an implementation that retains fundamental principle and mandate of Make -- dependency graph resolution and reliance on [normally] UNiX shell -- but "upgrading" the syntax and extending the semantics. Because while Make is useful, it's also at times terribly hard to work with. To paraphrase Bjarne Stroustrup (the man behind C++), "inside Make there is a neat sound idea struggling to get out".

12345