HNHacker News
TopNewBestAskShowJobs

WeAddValue

44 karma · joined December 26, 2022

submissionscomments
WeAddValue··on Tenets
So, like an election in Russia, there's only one candidate in the race?
WeAddValue··on Impacts of lid closure during toilet flushing
Or your, oh, nevermind.
WeAddValue··on Let Detroit Go Bankrupt (2008)
To the credit of his vision, in a 2012 debate he said Russia was a concern in international affairs. Back then everyone looked at him funny like he didn't realize the Soviet Union had fallen 20 years earlier.
WeAddValue··on WiFi 7 is officially here, but routers are pricey. Do you need it yet
Yup, probably that. My 161 year old needs the router and 3 pods and still has no-signal areas.
WeAddValue··on Ask HN: What's the best car without undesirable features?
Yup, same here. I delivered pizzas in northern Ontario for 3 years while in school. During snowstorms it seemed quite a few people would decide to stay home ... and order a pizza. I carried about a dozen+ bricks with me that I would jam under the wheels of my front wheel drive whenever I got stuck, often several times per storm. Fun times fondly remembered.
WeAddValue··on A woman bought a vintage dress. It had a secret pocket with a mysterious note
Maybe she didn't know it was a weather report encoded in telegraph jargon and instead thought it was some kind of crypto puzzle that she kept handy to work on in idle moments.
WeAddValue··on Tripping Train 185 – A Great Meditation Video
This is my favourite video for meditating or just chilling out. This Youtube video from TVO is almost 3 hours long. Although there are some stops along the way, most of the video is filmed from the front of the train looking down the tracks as it travels from Sudbury to White River through the forest of the Canadian Shield in Northern Ontario, Canada.
WeAddValue··on The Rise and Fall of the 'IBM Way'
Not only one throat to choke, but most C-Suite had direct or indirect experience with what the old IBM (not sure about the current IBM) could do in those infrequent situations with high-impact, high-visibility, nasty technical problems. IBM had a well-defined process in place to handle these when they occurred. If the local team couldn't fix it, they could declare a "critsit" (critical situation) that launched a process that allowed them to pull in amazing resources and bypass red tape.

In one that I had direct experience in, they flew in one of the software's developers to do onsite troubleshooting. Also, being the hegemon of the tech world, IBM often would take the end-to-end role and not just stop at their boundary of a tech problem. I was involved in one in the late 1990's where we were running Netscape's iPlanet web server on an IBM JVM (on IBM's AIX) and it had a nasty memory leak in production where volumes were higher. We called Netscape and got what felt like a guy with a pager on the beach (it was outside business hours when we called); not helpful at all. We called IBM and things started to rock & roll. Eventually we had someone from their UK lab tracing the JVM until he found a JNI (Java Native Interface) call from external C-code (which would have been iPlanet's code) that had the wrong value for the flag that indicated who (JVM or C-code) should release the memory. He could have stopped there saying "not IBM's fault" but he just kept going reverse compiling the C-code to find the bad call. We were able to get back to Netscape saying in module yadayada.c, somewhere around line 47, there's a JNI call with flag=0, change it to flag=1. The patch from Netscape fixed the problem.

These infrequent critsits are something the C-suite remember for a very long time. They know that no way in hell their own staff could resolve these situations, especially in the days before the web, Stackoverflow, shared-knowledge, etc. If not for IBM squashing the bug, their bacon would be fried giving unsatisfactory explanations to their CEO.

WeAddValue··on Kanye West Launches Yews News Platform
Just when I thought life couldn't get any better, it does. /s
WeAddValue··on Htmx Is a Erlang
As a counter-example, how many have heard of unpoly.com, another hypermedia-based framework but without the memes and shit-slinging?
WeAddValue··on Why NASA Chose WordPress for Revamping Its Flagship Website
wagtail.io, a Django/Python CMS, lists NASA as one of its users ... but is not mentioned in the article. The article says the migration was from Drupal to WP. Was that just fake news on wagtail.io?
WeAddValue··on Web apps are better than no apps
Or just use htmx.org
WeAddValue··on Web apps are better than no apps
This! Call it once with a string containing 457 elements and the DOM is blazing fast. Call it 457 times to create an element and the DOM is slow.
WeAddValue··on What is wrong with TOML? (2019)
I use a Google Sheet as it can be accessed from anywhere. Even my non-techie business folks can make changes (they feel at home in spreadsheets). I even added a menu button to the gsheet to launch a re-build (it is a static site on Netlify; the build fetches it's config/data from the gsheet).
WeAddValue··on Doing laundry on campus without a phone
Long time ago I lived in a shady building where it was broke, broken into that is to get the coins in the machine.
WeAddValue··on Why Htmx Does Not Have a Build Step
If you are developing a large JS codebase then Typescript is probably a good idea. But the Hypermedia movement, including htmx, is saying don't build large JS codebases! If you send JSON down the wire then you need a large JS codebase to handle it. So don't send JSON down the wire! Send HTML instead, full pages or fragments as appropriate.
WeAddValue··on Htmx is part of the GitHub Accelerator
That's the whole point. Those "restful API backend services" are not really REST-ful. The essay, "How Did Rest Come To Mean The Opposite of REST"[0], explains this better than I ever could in a HN post. Maybe we should stop growing these Data-APIs (returning JSON) and switch back to Hypermedia-APIs (returning HTML).

[0] https://htmx.org/essays/how-did-rest-come-to-mean-the-opposi...

WeAddValue··on Htmx is part of the GitHub Accelerator
The code is not done yet but I can explain how we're going to use htmx and Hypermedia APIs for the static site of a national chess federation (it's static to avoid hacking/ddos from disgruntled russians). Every week, new chess ratings are calculated from the reports of in-person / over-the-board tournaments. At build-time (Hugo/Netlify), a static HTML fragment is created for each member and included in the site's static files. At run-time, when a member's info is requested, htmx will fetch the member's HTML fragment and insert it into the appropriate <div>. At run-time, there is no server-side code executing nor database so it's fast, highly available, and almost unhackable.
WeAddValue··on Htmx is part of the GitHub Accelerator
hyperscript is a separate project. It is not a feature of htmx. htmx handles the hypermedia interactions with the back-end server. For pure in-page interactivity (hiding/showing side-navs, etc), you get to decide how you want to do it: VanillaJS, AlpineJS (my favourite), hyperscript, Web Components (lit.dev, etc), StimulusJS (what you used), a big framework component (Svelte, Vue, React, ...), etc, etc. htmx does not bundle anything into itself to make that decision for you. You may have thought hyperscript is a feature of htmx because sometimes you'll see the two used in examples (both have the same creator).
WeAddValue··on I'm betting on HTML
Meow!
WeAddValue··on Internet Explorer is EVIL! (2002)
In the late 1990's I worked at a large bank's Online Retail Banking website running Netscape's iPlanet webserver on Unix (AIX). Being ~25 years ago, I'm a little foggy on the technical details but at a high level we started getting complaints from customers running IE having trouble connecting to our website. The reps from Microsoft blamed iPlanet, said it worked fine with Microsoft's IIS webservers, and had almost convinced the bank's senior management to simply replace iPlanet with IIS as it would be the trouble-free webserver for use with the most popular browser, IE.

Nobody on the tech team wanted that so we launched into a major tracing & debugging effort and eventually found that a change in IE caused it to start doing the SSL handshake slightly different if it thought it was connecting to a non-IIS webserver. Netscape provided a patch and we were able to keep iPlanet on our beefy Unix servers instead of migrating to a farm of IIS servers on tiny Windows servers (they weren't all that powerful in the 90'). This was about the time that the DoJ was going after Microsoft for non-competitive practices. I recall that someone on our team sent an email to DoJ telling them of our experience, but I don't think they ever got a reply.

WeAddValue··on Unexpected downsides of UUID keys in PostgreSQL
Or use hashids.org. Use it to obfuscate your integer auto increment ids anywhere a user might see it.
WeAddValue··on Anything can be a message queue if you use it wrongly enough
FYI, which was probably derived from the old mainframe-ism which had spooling before Unix was written. See https://en.wikipedia.org/wiki/Spooling
WeAddValue··on Byte Magazine 1975-1995
I recall one of the computing magazines of that era, possibly the Dec 77 issue of BYTE you mentioned, published the entire code in BASIC for a space-oriented game. Inputs were simple letter or letter+number commands and outputs were an ASCII drawing of a sector of outer space (complete with * for stars). You would shoot at an alien then skip to another sector before getting counterattacked.

My high school buddies and I desperately wanted to play this game but ... none of us had a computer! So, sitting in the cafeteria at lunch/breaks in our bell bottom pants, we walked thru the code line by line recording the values of variables with pencil on paper. This was when BASIC only allowed 1 or 2 character variable names and only had GOSUBs instead of proper functions. It was slow going at first but we eventually got to understand what sections of the code was doing and could replace line by line with, oh, its doing this again.

I'll have to look for that Dec 77 BYTE so see it that was the magazine. I didn't know it at the time but it was probably very formative for my future IT career.