2,452 karma · joined Jul 10, 2017 (9y ago) · 2,213 submissions
comment 1y ago · link · parent
3.
If the bottom falls out of AI market, what's job Plan B?
4 points · by tabtab · 2y ago · 9 comments
comment 2y ago · link · parent
comment 2y ago · link · parent
Making AI pictures of Pee Wee Herman riding a shark blindfolded is indeed fun, but not profitable for Microsoft because it's too hardware intensive for ads to cover. I gotta make more goofy pics before the bottom falls out...
comment 2y ago · link · parent
If one looks at most the bubbles of the past, the writing is on the wall. AI won't go away, but will probably take longer to make profitable than anticipated, just like dot-coms and smart-speakers. Force feeding it is causing indigestion, and it's likely to PukeGPT.
14.
Ask HN: Opinion on browsers making drop-down lists longer via spacing?
2 points · by tabtab · 2y ago · discuss
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
10 PRINT "This computer is overheated."
20 PRINT "WARNING: Computer about to EXPLODE!..."
30 GO TO 10
RUN
Newbies walking up saw the active screen, got wide-eyed and walked away quickly. One even called security, as I watched from a distance. Good times!comment 3y ago · link · parent
What's missing these days is domain-specific languages (DSL). Maybe domain-specific API's (libraries) can be made better, but I have not seen it done well yet.
Domain specific languages made it easy and DIRECT to do things you wanted done in that domain, no weird-ass reverse dependency factory visitor injection design patterns or whatnot, you only had domain-oriented commands and the basics of functions, loops, and conditionals to glue them together.
Sure, they didn't scale well to "enterprise", but if that's not what you want, so be it! Global variables didn't kill kittens at that scale like "real" software engineers warn against. I barely had to read the manual when learning VB classic, Microsoft Access (pre XML), Paradox, etc. it was so intuitive and almost everything related to the domain (desktop GUI's and small-ish CRUD).
It was almost like pseudo-code! That's the secret, the closer it is to domain-specific-pseudo-code, the easier it is to learn and the less bloated the code.
Wanna make a successful tool for non-giant orgs or groups? Focus on the domain and only the domain; don't let fads and buzzwords and mega-scaling distract you.
comment 3y ago · link · parent
I've drafted up a language called "Moth" that has a lot of "meta power" to program block scope any way you want, as most languages hard-wire scoping rules, which I find limiting. Things like "classes", "functions", while-loops etc. would be defined by libraries, NOT the language. It's like lambda's on steroids and without bloated arrow syntax. But it may run slow as molasses, as scoping meta power adds lots of compiler/interpreter indirection.
However, it may turn out that only a few scoping rules are practical in most cases, and the compiler could then optimize for those. It would then only be slow if you are doing something "weird" with scope. Stick to a fixed known set, and things zip along. But finding that set requires R&D and road testing.