Better HN
topnewbestaskshowjobs
Log inSign up

TuringTest

4,482 karma · joined Sep 28, 2012 (14y ago) · 2,101 submissions

Send me a note at turingt+fromhackernews (at) gmail.com

I hope the spam filter will respect it!

Submissions

comment 4y ago · link · parent

At least the three dots look like the ellipsis, which has a standard meaning of "there's even more..."

At the end of a list of other menu entries, there's a chance that it can be inferred to mean "let's me see some more".

comment 4y ago · link · parent

> This is inaccurate of my views. It's not that "visual programming is bad" it's that everything we call visual programming is not actually visual! Scratch is not visual. It's just text programming with more steps.

Certainly "Visual" is a spectrum, not an on/off switch. Adding syntax coloring to a textual program is a step towards adding visual cues that improve recognition of its parts. Scratch adds over an imperative language a more detailed visual syntax that conveys the types of control structures and the relations between actions and parameters, and allows filling them in by interactive recognition rather than pure recall; so it's a step further in transforming a classic language into a visual one.

Further steps in that direction include changing paradigms to functional or logic programs, that more explicitly represent changes in state through visual cues, relieving you from having to work them out in your short-term memory. Everything about visual languages is built towards adding expressiveness to the actual representation to convey as much information about the running program as possible.

> I still don't think this is a visual language, but it is maybe more visual than traditional visual languages. A spreadsheet is something like a visual layout on top of a program.

Programs are visual entities - they have a very concrete physical structure of a tree. That's why good indentation is essential even when the parser doesn't care about it at all.

A program Abstract Syntax Tree is composed of very, well, abstract components; a program keywords represent objects quite separated of their final form during runtime, i.e. their actual values, but their connections can be often understood in terms of their spatial relations. Our brain is really very good at that, even for textual representations.

> Even with a true visual language I don't think the need for a mental model can be removed.

Completely agree. But building a mental model is way easier when working at several levels of abstraction at the same time, i.e. both concrete values and the abstractions that tie together those values in a concept encompassing them (see the concept of the Ladder of Abstraction).[1] And being able to actually see the values of variables and the connections between processes that change them, instead of having to imagine all those by running the program in your head, is a large advantage. The debugger is the quintessential visual tool, letting you inspect the true relations and processes of a running program through interactive manipulation, even for languages that otherwise lack any visual cues while being built.

[1] http://worrydream.com/LadderOfAbstraction/

comment 4y ago · link · parent

There are even attempts to teach textual programming to students who already learned Scratch, by translating blocks to javascript (Scratch-LN, Blockly).

I remember someone building a whole environment for making Slack look professional, by providing a text syntax that could nevertheless be programmed like Slack by adding and connecting typed blocks in the text structure (though I can't recall its name).

comment 4y ago · link · parent

I'm not saying that Blocks is a good programming language, nor defending it as a go-to tool; I know it is quite cumbersome to build programs in it - but I think it's largely because it's imitating classic imperative languages instead of being designed from the bottom up to take advantage of visual representation and interactive development. Still, it may be a very good introductory tool for learning classic-style programming (certainly better than Python for a primary school classroom; direct manipulation is just so superior for the first impression, when getting the students motivation is make-or-break).

I was referring to your defense of textual programming as inherently superior, which I don't see as justified. Classical languages have a refinement over decades that visual languages lack, but I think it is possible, and I think we are getting to a point where building such languages is starting to become viable.

> I'm not saying text entry is free. I'm saying that the palette concept is more expensive - even for visual learners

This is simply not true. Recognition is easier than recall, even for textual learners; so even if toolbars require more steps, those are way easier steps. Even if you're talking about expensive in time and not actual effort, physically entering code is the task that less actual time takes of programming: thinking what code you need to include takes much more time, so anything that reduces that time will accelerate development. Programmers usually are not aware of this fact because they are distracted by all the thinking, but the actual input method is usually not that relevant except for people with disabilities. (Btw visual vs word learners is largely a myth; the best style is usually to the task you're doing, and we are all able to do both styles. When I say I have a preferred style, I do find visual tasks easier than those requiring word recall skills).

Also, nothing prevents visual languages from incorporating fast introduction tools other than palettes, like keyboard accelerators and contextual search - i.e. you type the name of a component and it appears at the cursor point; this would make them work with identical interactions as pure text programs. (BTW, I consider intellisense-autocomplete to be a visual tool; it favors recognition over recall by showing you the list of available options).

What I consider a programming language is somewhat different from what think of as visual languages (which are primarly the flow-based block graphs; they have their place, but are too highly oriented to bulk data processing). For me, the ultimate visual language is the spreadsheet - a functional reactive environment where the user can freely position information and transformations in more than one dimension, and manually decorate them with as many cues, reminder text and color codes as needed.

Some new development environments are growing a modern style, highly evolved with respect to the classic IDE, which is still based on the batch model of the mainframes in the 60s:

* Jupyter-like notebooks bring some of the spreadsheet benefits to classic languages;

* relational models that show data together with structure, like Airtable, is an example of these breed of visual tools for building data-transforming automations;

* wikis work as visual storage that makes it easier to structure and organize hierarchical content;

and so on. Modern development environments will start incorporating all these models, relying less in pure abstraction and running the program in your head as requirements to build programs.

comment 4y ago · link · parent

I don't have a problem with syntax. I have a problem with textual syntax, where abstract concepts are represented with words, with little to no secondary notation[1] and lots of repetition. When the syntax is highly visual, it can convey information through much more bandwidth than flat text, which is limited to a few dozens of repeatedly used symbols.

And don't tell me that textual programmers don't realize the benefit of secondary notation and visually-conveyed details. We love when our IDEs full with syntax highlighting for different types of operators, global structure mini-maps and intellisense auto-complete tooltips. All these are visual tools that improve the flow of building a text-based program.

[1] https://en.wikipedia.org/wiki/Secondary_notation

comment 4y ago · link · parent

The part you're utterly missing is that, depending on the brain, steps 3 and 4 in for the visual tool may be immensely easier than step 3 in the text tool, so that they are performed as a simple no-think direct-manipulation operation that requires no effort at all, while the "write out the syntax" step may be a slow, painful and error-prone process of trial and error until you put in all the right characters in the correct order and get the damn parser to stop complaining. You seem to be wired to accept the later as trivial and the former as hard, but some of us are really exactly the opposite.

I know for certain that this is how I see writing programs in pure text, to the point that I stopped programming in traditional languages; my brain is too high-level oriented to remember all the pesky little details that APIs and formal syntax require; give me high-level programming blocks that you just invoke and place with a few gestures any time.

Unfortunately there are very few general-purpose visual languages, so my options at building automated systems are limited; although fortunately this is starting to change, and a new breed of powerful no-code and low-code tools is appearing that shows promise, so I'll be able to build complex systems again by using high-level concepts as building blocks, without being slowed down by bloody trivial syntax errors.

comment 4y ago · link · parent

The upcoming version Godot 4.0 is on par with Unity, with several 2D and 3D subsystems (physics engine, lighting, 2d grid...) being rebuilt in full. It's getting traction in terms of tutorials and courses [1], and several publishers paying attention (e.g. Valve making sure that the Steam Deck will be supported).

[1] For example https://www.kickstarter.com/projects/gdquest/learn-to-code-f..., an already financed Kickstarter to build an open source course and companion app.

comment 4y ago · link · parent

Aren't there warrant canaries set up to prevent this? Every website that can be compelled to behave that way should have one.

comment 4y ago · link · parent

> Valve has a bad track record for committing to their own hardware. Remember how everyone also thought SteamOS was going to be the big takeover and it barely even happened?

You seem to be unaware that SteamOS was a a resounding success in its primary goal: to stop in its tracks Microsoft's plan to turn the Windows OS into a locked-down walled garden that would run only MS-approved software* (by threatening them to switch the majority of gamers to Linux). Microsoft has never attempted such thing again to the same extent, and even XBox games are largely PC compatible.

That Valve has learned a lot about porting Windows games to Linux and they went through all the early labor pains, so that a few years later they have a robust and stable platform for their new competitive device, is just icing on the cake.

* For a hint of this backstory, see https://www.pcworld.com/article/394953/why-does-the-steam-de...

> it's just not going to be as smooth as a console with a dedicated OS. I'm guessing lots of people will install windows.

This is a console with a dedicated OS (which just happens to be Windows retro-compatible, thanks to Valve's Proton layer). Given the success it looks set to have, publishers won't be able to afford not to optimize their future AAA games for the device.

comment 4y ago · link · parent

> The best alternative I've found to generate .docx output is R markdown

I do the same with markdown in Zettlr, which has a nice inline-preview format and can be used by my non-tech partners.

The generated .docx has a limited range of styles, but we see that as an advantage.

comment 4y ago · link · parent

(tl;dr: the problem is not in the abstractions, is current standard engineering practices of bringing the full layer for each abstraction instead of just the few parts you need to solve your problem).

I'd say something like Docker containers, running a wasm engine, targeted by a lean library with a sane high-level programming language - either a santard-looking imperative language like Haxe, or some esoteric opinionated functional thingie like Julia or Elixir. (It could also be something like Vue, Angular or React, but those aren't exactly 'lean', being specialiced in working with the full browser DOM and web servers).

Each layer abstracts away the lower levels (virtualization & compartmentalization to run on any hardware, bytecode to run on any OS or browser engine...), allowing you to potentially use it without being tied to one specific implementation of that layer.

Higher layers provide increasingly more complex and powerful abstractions, with standardized code that's been created by experts in the field with efficiency in mind, and debugged through hundreds or thousands of client projects; making them likely more performant and robust than anything a single development team could ever build on their own (except for extremely limited domains run on dedicated hardware).

And ideally they have the plus side of working side-by-side with other applications or libraries, running in the same system without being engineered to work only with a single "official stack", allowing you to mix-and-match the best abstraction for each problem being solved, instead of forcing you into a single solution for all your software. That level of flexibility (plus the simplification of the layers below) is worth the runtime penalty imposed by several piled-up abstraction layers. That's why we don't code everything on assembly anymore.

comment 4y ago · link · parent

> You can buy an HTC Vive for 800$, and a PI4 for 60$. Where is the other 2k in markup coming from ?

Good luck running SimulaVR on a PI4...

comment 4y ago · link · parent

Younglings may not remember, but Mozilla browser used to include a kitchen sink[1], as a joke on the number of functions that were added to it as an internet suite beyond being just a browser[2].

[1] https://www-archive.mozilla.org/docs/web-developer/samples/k...

[2] https://bugzilla.mozilla.org/show_bug.cgi?id=122411

comment 4y ago · link · parent

So what? If your tech stack is worth its salt, those layers will be mostly removed at compilation. Reductions in performance often are due to developers mixing up their layers of abstraction and repeating work among several of them, rather than by having several layers adding more powerful abstractions.

It's good that a developer has cursory knowledge of how those layers work (e.g. to avoid re-adding checks at the upper layers of something that is already guaranteed by the lower ones), but there's no need to be an expert at all them.

comment 4y ago · link · parent

Killed by the walled gardens, where you're supposed to admire the flowers cultivated by the employees but you are not allowed to set up your own farm.

comment 4y ago · link · parent

This is what the Web should be like, really. Swarms of users enjoying some realm of knowledge, and building a decentralized corpus by the mere act of using it and leaving trails, with a shared toolkit to exploit those trails.

Unfortunately, the entire software industry has followed a business model in the manner of consumer goods production, guiding each individual's entire experience through packaged products and services.

Rather, the capitalism inherent in unmediated peer-to-peer relationships could have taken the form of developers providing an open platform for users to create their own tools, and offering them the necessary training to get the most out of those tools.

Instead there are huge proprietary platforms that promise in their advertising to empower users and enhance their creativity, but are designed to do the opposite, capping any activity that seems dangerous to them and limiting actions to a small, safe subset.

comment 4y ago · link · parent

I share with the author of the article the need for a standard format for presentation-independent structured multimedia content, and that html+js+css is now too complex for this purpose.

But I think that such a format should keep rich text separate from structure, in the same way that CSS keeps style separate from content. Content structure in a web environment is inherently complex, so there should be a standardized way to link markdown-style simple "pages" that have linear or shallow tree structures, to build the superstructure of a complete web site.

In my opinion that lack of a specific format for structure is what is limiting the growth of common tools for rich content. Wikis are the only example I know of an attempt to create such a format, but it works by having basically no structure, just uniquely named pages and hyperlinks between them.

comment 4y ago · link · parent

In that case, it will be a good game for at least 195 days

comment 4y ago · link · parent

Political parties typically do, and some are known to use Telegram for their internal groups.

Any leakage of secret knowledge shared only through these groups could be detected as treason by one of the participants in that channel. Having several channels with fewer and fewer members, closer to the party's leadership, is a typical configuration to maintain control of the most secret information.

comment 4y ago · link · parent

Adversarial wielding of facts could be the basis for a new model of public knowledge, one that corrects the shortcomings of current news media and social networks.

Causal mapping [1] websites can aggregate the back and forth of heated discussions, eliminating emotional responses and distilling the core ideas of each opposing position. Such compilation of facts an argument in a readable, neutral format (e.g. see Kialo)[2] could work like the academic debates of old, allowing facts to be analysed in context and the validity of arguments to be tested on their own merits, not on their emotional appeal.

[1] https://en.wikipedia.org/wiki/List_of_causal_mapping_softwar...

[2] https://www.kialo.com/

comment 4y ago · link · parent

> “every time this happens he closes that website immediately and goes to a different one that we ranked #2 in the autocomplete search.”

This is a disheartening yet frighteningly common problem with UI automation. It doesn't learn enough to actually be aware of the expected result, yet it can't be programmed to behave exactly as you want or need.

Automation in user interfaces should be exactly the opposite. It should try to learn your repeated actions so that you can perform them automatically, yet if the learning goes wrong, the user should be in control at all times and override the automatic deduced actions.

comment 4y ago · link · parent

This is it. Inverse is a property of functions or other relational operators, not "static" individual objects. You need a direction in order to invert it.

comment 4y ago · link · parent

And there's also Droid-ify, which uses a Material design style (I haven't used it, I've just found it looking for Foxy-droid)

comment 4y ago · link · parent

Matrix.org should be able to function as the telephone exchange that connects all communication services, as it is well posed to work as a universal connector.

If, at some time in the future, it manages to create a usable bridge to connect between two popular private services (say Whatsapp and Telegram, or Teams and Slack) it could start accumulating network effects, and become a desirable target for all other networks so that it is appealing for them to build their own bridges to the Matrix services.

comment 4y ago · link · parent

Not being considered a citizen is a very clear deterrent to avoiding the "voluntary" conscription.

A "separate but equal" civil organization does not mean that there is true equality. Even less so when they do not even pretend to be equal.

comment 4y ago · link · parent

Foundations and Introduction to X are typically very different courses. The second has a much more informal approach, and the objective is to facilitate understanding for someone in their first approach to the discipline.

In the case of foundations, the aim is to establish a solid and complete base on which to build all subsequent knowledge; and that need not be easy at all.

comment 4y ago · link · parent

> I realised it became another "collecting" exercise and sucked up time far in excess of it's utility.

That's because the tools to exploit that collection suck. If we had processes generating statistics on your data and organizing them in practical streams of attention, it would be worthwhile to take that extra step in compiling them.

comment 4y ago · link · parent

Notetaking is a popular topic because it is an utterly unsolved problem. The early ideas of computing envisioned computers as augmentation of the mind, [1] where automation would enhance our insights in the same way that writing augmented the insights of people in the antiquity.

However, all we got are lame attempts to replicate pen and paper in terms of annotation, with the only real improvement is instant text search, with very limited capabilities for incorporating meta data into queries. Where are the automated mind maps, statistics about how frequently you use terms in your discipline, inference of the times of day where we think about each topic...?

A programmer could built their own tools for that, but there is no standardized way to do them, it takes a lot of effort, there's no way to share the best practices that others use to their benefit; the best we've got is subchanels at Slack. And of course, all those capabilities are off-limits to end users.

Note taking tools are only now starting to explore those possibilities beyond the raw text file on hierarchical folders.

[1] https://en.wikipedia.org/wiki/Augmented_cognition

comment 4y ago · link · parent

It is! Ende was raised under the esoteric Anthroposophy philosophy, and I suspect much of his works are dedicated to debunk its nonsensical beliefs. The second half of The Neverending Story is a philosophical treaty on itself (it hurts the book as an action story, but gives you a lot to ponder about).

His child books certainly have a deep second reading as adults.

1
212223
71