Better HN
topnewbestaskshowjobs
Log inSign up

tabtab

2,452 karma · joined Jul 10, 2017 (9y ago) · 2,213 submissions

Submissions

comment 3y ago · link · parent

Oligopolies ruin everything. There are a few industries where they make sense, but most, not.

comment 3y ago · link · parent

re: e.g. raising water or rocks.

I toldja the Flintstones were ahead of their time.

comment 3y ago · link · parent

Indeed! I've long been a fan of "table oriented programming" where the common CRUD objects are specified mostly as data. You could also create them in code by calling a RAM-table constructor, so it's not either/or. Most the data fields, navigation structure, and event handlers (or handler stubs) could be readily table-ized.

Code is a lousy place to store boat-loads of attributes. You can do data-oriented transformations and filters on them if in a data structure. Hierarchical file systems are limiting and messy, because grouping by one factor de-groups another. I want to be able to "query" dev code units via SQL or similar. CRUD patterns are pretty consistent across industries such that most CRUD idioms shouldn't need custom re-invention, and thus should be attribute-tized.

You will still need occasional code-based tweaking, and this can be accomplished by having the attributes generate "runtime draft" UI markup and/or SQL clauses, which can then be tweaked via code as needed.

I'm building a proof-of-concept that uses what I call "fractal rendering" to be able to intercept the "draft" construction of screens and SQL clauses at a fine level or course level, depending on need. This avoids the all-or-nothing problem of prior attempts per attribute-vs-code debate. Ya git both! (Dynamic SQL generation should probably be avoided for public-facing sites, per injection risk, but limits the wonderful power of query-by-example.)

I don't claim it will be as performant as the code-centric approaches, but if it catches on, performance tweakers will find a way to scale it. (For CRUD apps, the performance bottleneck should usually be the database, not app code anyhow, unless you doing something wrong or special.)

The CASE tools of the 1980's and 90's started going in this direction, but were too expensive & clunky, and then the OOP push ended the idea by favoring attributes-in-code, back to square one, sigh. (CASE tools don't have to be proprietary.)

It's ripe area for groundbreaking R&D. CRUD may not be sexy, but it runs the world.

comment 3y ago · link · parent

Anonymous posting has big risks. It gives trolls a green light.

comment 3y ago · link · parent

An honest book would explain the trade-offs instead of say "design X is always better than Y". Context and domain matter. One-size-fits-all is wrong.

comment 3y ago · link · parent

Systems software design (SSD) is too different from application design to automatically use one conclusion for the other. Things like OS's and database engines are designed by mostly logical engineers for logical engineers.

Business and amininistration apps, on the other hand, reflect screwy random-seaming legislation and management whims, which often change in unexpected ways. Management doesn't care that much if their screwy rules and processes complicate automation. (Or don't comprehend the impact.)

I noticed this in debates where SSD experts showed code patterns that assumed too much uniformity between variations of concepts (sub-types, etc.). They just wouldn't fly in biz apps.

I lean toward using flags/tags to manage variations on themes instead of sub-typing, composition, or dependency inversion. Variation granularity has to be small in these domains.

comment 3y ago · link · parent

I don't yet understand the implications or risk of this, but I'm positive the anti-vaxers will use it to spread their cause.

38.

Ask HN: Survey alleged cause of web UI standards pain

1 points · by tabtab · 3y ago · discuss

comment 3y ago · link · parent

When a company monopolizes a market, they almost always turn into jerks.

comment 3y ago · link · parent

What are the top 2 pain points you encountered?

comment 3y ago · link · parent

Although a lot depends on personal preference, in general "root" infrastructure is best on strong typing, while "glue-ish" scripts best as dynamic.

comment 3y ago · link · parent

What's needed is a "C historian" who documents all the attempts to rework or compete with C, and make an analysis and summary of the results and trade-offs. I doubt there's a free lunch (no trade-offs), but studying past attempts can tell what's been close.

comment 3y ago · link · parent

Stop your bigotry of Kernians.

comment 3y ago · link · parent

I bet the forgeries are worth something now that they made the news. I'd like to see a photo comparing them to the original.

comment 3y ago · link · parent

> It will give customers options to decide for themselves.

And because of this, more people will add dodgy apps that compromise the phone.

> nothing wrong except that Apple doesn't want to allow them. Like emulators

Emulators add risk of trojans running.

comment 3y ago · link · parent

Maybe the trick is to spread sun exposure across the body rather than mostly let our limbs and face take most the sun. Protect those areas, but get fuller body sun more often. The parts of my body on the boundary between heavy exposure and no exposure seem relatively okay. They have a slight freckle-ness to them, but arguably acceptable. (I'm not young; time-tested.)

comment 3y ago · link · parent

I have a skin condition that flares up if I don't get sun. At first the doctor told me to avoid sun, but it got worse. Then by accident I got somewhat sunburned, and my skin improved.

comment 3y ago · link · parent

I don't understand why co's don't simply give "in office" bonuses and let employees decide their ratio? Why do so many co's make it all or nothing?

comment 3y ago · link · parent

Plus ID's often have to be given over the phone for support. Long or complicated ID's will drive both sides bonkers. #BeenThereDoneThat.

comment 3y ago · link · parent

Part of Apple's selling point is a well-managed walled garden that keeps riff-raff out. Opening it up will introduce riff-raff. The well-to-do are okay paying more to have better guards.

comment 3y ago · link · parent

JSON columns are a kludge. What's really needed is Dynamic Relational (see link). JSON columns are second-class citizens in such RDBMS. Dynamic Relational would make all columns just as powerful. A startup could use something like the Zend business model to make an open-source version and a for-fee enterprise version for scaling. https://www.reddit.com/r/CRUDology/comments/12ari2l/dynamic_...

comment 3y ago · link · parent

A fight against a virus is all-out war in the body. In any big war, there will be significant collateral damage. The body has to "bomb" brain and nerve cells to kill infected cells, and obviously if you have enough of them taken out, it will have lasting impact on your function.

Some grow back, some don't, and even those that grow back need to be retrained. For those that don't grow back, other cells and body parts have to learn to compensate.

Please keep up on your inoculations.

comment 3y ago · link · parent

> allows potentially complex ETL statements to be handled within a single merge statement. I'm not saying that's always the best practice, but if things are structured in the right way, it may be.

I wonder how often one has the ideal schemas for such. The advantage of an ETL is that it's probably easier to debug, log, and trouble-shoot problems. One-Giant-Do-All-Command is often a recipe for headaches. Being able to "X-Ray" the intermediate pipes really helps troubleshooting.

The X-ray issue is one reason I have trouble debugging functional programming. Maybe there's a way to X-ray better, but I haven't found it yet.

comment 3y ago · link · parent

Don't laugh, someday a terrorist or hacker may engineer a fast-eating critter, and half our stuff will become useless in a year. Termites learned to work with gut microbes to speed up wood munching, a home-owner's biggest nightmare.

comment 3y ago · link · parent

Agreement is not to be taken for granted: https://www.wired.com/2010/11/1110mars-climate-observer-repo...

comment 3y ago · link · parent

Math is merely a mutual agreement. First an agreement on root principles, and then an agreement on notation for these root principles. The rest is built on top of those. Nobody is forced to accept the premises. (Unless you don't want an F in math class.)

comment 3y ago · link · parent

Is that the ancient Chinese way of sleeping with stones on the eyes, to flatten the lenses?

comment 3y ago · link · parent

Um, I think those were gerbils.

comment 3y ago · link · parent

It quickly locked up on me, or at least responds very slowly. I'm curious, what kind of UI is it using? Canvas? SVG?
12345
74