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 10y ago · link · parent

I think it depends on the window's width. There's a sweet spot, right when "Non-Political Articles" (but not the | accompanying it) is aligned to the edge of the container box, where I can reproduce in Firefox the jumping behavior described by the GP.

comment 10y ago · link · parent

>For many problems, the best solution is one that can be specified quickly, will work 90% of the time, and can be easily adjusted for most of the other 10% of the time. Natural languages and fuzzier thinking work great for this. But this approach doesn't work well for problems where the solution is either too complex too be easily described using natural language, or situations where data sizes or time constraints make it unfeasible for you to be available to handle unexpected situations. In this case the solution requires all of the logic to be precise, unambiguous, and developed up front.

The good thing is, both extremes are not mutually exclusive, but rather exist on a continuum. You can start with fuzzy specifications and progressively refine it by case-based reasoning and induction until you get some general, unambiguous rules. Programmers work this way when building new programs, even though they hate to admit it and like to say that the program logic emerges fully formed from the specifications (ha!), they just need to understand the problem in their heads first (no tinkering and trial-error happens in programming, right?).

I believe the next radically different family of languages will be one that embraces that fact and allows developers to better handle that progressive refinement in all steps of the process, rather than require the program to be fully formed and flawless in order to operate. In some sense, modern IDEs already work that way.

comment 10y ago · link · parent

AR's killer app might very well be instant communication. That's why Facebook took such interest on it, to avoid the next Facebook being a different company that displaced them.

comment 10y ago · link · parent

Every time AR is discussed, I link to the CC-BY-NC comic Vision Machine.[1] As all good SF, it describes current trends with a veneer of future technology; I find that it offers insight on a lot of use cases for AR and VR.

[1] http://visionmachine.net/

comment 10y ago · link · parent

> But those words (coyote, mesquite, tomato, and avocado, unless I seriously miss my guess) all end in a vowel.

Because they were adopted by Spanish speakers. English products using these names could either adopt the Spanish form, or as the GP suggest follow the 2.0 trend and recover the original form, publishing their webpage in the East Timor .tl domain.

comment 10y ago · link · parent

> Also, to me, the concept of A/B testing certain things may also have an undesired consequence. For example, I order from amazon every day, but today the but button is blue, what does that actually mean? And I go back to the site later and it's yellow again. There are still many people who get confused by seemingly innocuous changes with the way their computer interacts with them.

Proper A/B tests are supposed to be done on a per-unique-user basis. If you access the shop from the same device or user account, a well-done A/B test should consistently show you the same interface.

comment 10y ago · link · parent

I like the Farenheit 451 reference. Is that intentional, or does destiny have a sense of humor?

Edit: Wikipedia knows it all, as always. [1]

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

comment 10y ago · link · parent

If you abstract away all the involved emotions, it looks no different than a handshake protocol with a transaction commit.

comment 10y ago · link · parent

How about Entertainment? Being virtually transferred to a remote location, either as tourism or to watch any kind of show (concerts, live theater, sports) should have obvious appeal for any spectator. Watching performances should be a larger market than other niche entertainments that benefit from VR like hardcore gaming.

The increased sense of presence is an instant upgrade over the limitations of TV and handheld devices, assuming the shortcomings of VR discomfort can be avoided.

comment 10y ago · link · parent

For people interested in how hard it is, I recently read this [1] NYT article providing a comparison of synthetic speech that IBM experts tested for Watson in the Jeopardy competition.

[1] http://www.nytimes.com/2016/02/15/technology/creating-a-comp...

comment 10y ago · link · parent

You still can create a set of goals within the game that count as "success" and others as "failure" to guide the reinforcement; and have the learning process try to figure out everything else in Minecraft in order to achieve those goals.

comment 10y ago · link · parent

One question, is the semantic map created on the fly at the same time as the final image is composed, or are the maps pre-computed?

comment 10y ago · link · parent

I thought the same, and also about the Structured Image Editing [1] that was linked from the Image Analogies thread [2] two days ago:

[1] https://vimeo.com/5024379

[2] https://news.ycombinator.com/item?id=11234793

comment 10y ago · link · parent

Does the Visual Editor in Wikipedia count as a visual tool? :-P

My point is that the structure of a wiki, where each unit of content is a separate building block, can be used to build a visual system in the same way that you can build a textual one; the basic components of storage and APIs are the same, only the thin syntax layer is different. You are no longer dependent on the single stream of raw text following a strict syntax, which is the basis from which compilers generate binary code in traditional languages; you'd be able to build programs by arranging code and data in a network within a semi-structured platform, which is one of the characteristics of visual tools.

You're right that stuff like this has been a pipe dream for at least half a century, since the Mother of All Demos; but in the very recent years I've seen a lot of the required pieces falling into place, so I believe it to be possible.

If we apply the same amount of engineering work and refinements that went form Engelbart's demo to modern desktop systems, we could have a functioning system with this paradigm; the basis are in place for it, and many of us have the vision of the benefits it shall provide.

Of course, part of building a program may require describing some components using a textual representation, where it makes the most sense; but with a wiki-like "outliner" platform, parts of the working system could be programmed using visual code, and be integrated with those other components programmed in traditional languages. Heck, GUI builders and visual tools for database schemas already work that way; the only thing they lack is the capability to be expanded with new components, which this new family of visual tools have.

comment 10y ago · link · parent

Yet end users are able to build fairly complex data structures and conditional processing using spreadsheets, so we know for sure that it can be done.

Of course experimental tools will be severely limited compared with industrial IDE systems that have been polished literally for decades; it will take years before we get these new tools into shape and learn what their best use cases are. But I'm not skeptical, because I've seen it happen before, and the conditions for it are now better than ever.

comment 10y ago · link · parent

Good call. Drakon is for control flow specification, not data flow specification. However having a standard for splitting subsystems in separate modules and laying out components using regular rules would benefit any kind of visual graph.

comment 10y ago · link · parent

> Wikipedia is not a good example: it is exclusively for humans.

Not exclusively. Bots and Wikidata have shown themselves pretty capable of doing complex automated tasks on top of the structured data contained in the encyclopedia. And the wiki platform plus templates is a very general and flexible data structure that makes it easy for humans and software to collaborate.

> In order for something to be understood by a computer, it must be specified in formal terms

This doesn't need to be that way, at least not for 100% of the system. End-user development tools like spreadsheets and Programming By Example can be used to ease the impedance mismatch without requiring the human to specify by hand every single step in a formal language, so that partially ambiguous inputs can be used to specify valid programs.

Only the task of building system software should require the full technical approach; most business applications can benefit from looser approaches - in fact being less strict can be a benefit in the requirements specification phase, just like User-centered design has shown us.

Combine that with logic solvers and deep learning, and in the future we could get some systems that can use very high-level commands to build fairly complex automated behaviors.

comment 10y ago · link · parent

> English is infinitely more scalable than any programming language, and the brain is far more capable of understanding than a computer. So comparing the two is unfair to say the least.

IMHO programming a large system shouldn't be all that different from writing an encyclopedia, or rather a math textbook; the same combination of informal explanation and formal demonstrations could be the shape that "visual" programs could take. Literate programming is written in English, and it provides much of the same advantages of the encyclopedia or technical book. Systems like IPython / Jupyter work in that direction, and they belong in the family of visual programming (although they use "classic" languages for the formal part, nothing stops them from also including graphical models as part of the code specification).

Programming languages should be made for human consumption, and one of the promises of visual languages is that they use secondary notation to convey the meaning of the program, so that parts that are not visible to the compiler are still relevant.

I believe that programming environments should converge towards a hybrid of programming, using the best representation for each concept - like text (to represent abstract concepts), diagrams (to represent more physical properties - time, data flows, and dependencies between modules), and raw text for the human-readable comments that explain how everything is tied together. If you build a programming environment like that, my comparison is not unfair at all.

>Live programming for instance requires context and re-running of code on every edit (and we could be talking millions of lines of code that need to execute), re-reading of data files, re-running of prior user input and so on. There's a reason it is only implemented for small systems (read, useless practically).

Modern IDEs are capable of doing a lot of that when in debug mode, I see no reason why having a language with a graphical syntax should make any difference - it just places a little more weight on the parser and graphic card.

comment 10y ago · link · parent

Why do you think that doesn't scale? Hiding information is the basis for progressive disclosure, which is essential to handling the limitations of short-term human memory. Wikipedia is card-based,* and it is one of the five largest sites in the web. See Cognitive Dimensions[1] for ways to make visual systems scale.

As soon as you add encapsulation and abstraction, the system can scale; it's no different than hiding code logic behind function declarations and object schemas. If you add easy composition, like modern functional languages have, such systems could be more scalable than traditional imperative languages; code outliners like Leo follow the same structural principle, and they're great for programming.

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

* Ok, Wikipedia contains articles and not code, but my point is that the structure can handle lots of hierarchical content in multiple categories.

comment 10y ago · link · parent

People interested in VP really, really should learn about DRAKON[1], the Russian style guide for structured dataflows.

I've used it for real projects and it actually solves the spaghetti problem. Compare this:[2] with this:[3].

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

[2] http://scriptsofanotherdimension.tumblr.com/image/1386972466...

[3] https://upload.wikimedia.org/wikipedia/commons/0/0f/Dutch_cr...

comment 10y ago · link · parent

Because it is not engineered to industrial levels. It lacks encapsulation and packaging, but those can be added.

Have you seen the tools by Chris Granger (Light Table, Eve)? Although they are not as spectacular as Victor's, those show a lot of promise to become practical tools.

comment 10y ago · link · parent

I imagine that someday we'll see the rise of a programming metaphor that works as a hybrid of code and visual.

You're going to enjoy the Eve language...[1][2] :-)

[1] http://eve-lang.com/

[2] http://incidentalcomplexity.com/

comment 10y ago · link · parent

Visual programming excels at data wrangling (parsing structured data in an input/output pipeline that spits the same filtered data in a new format and structure).

You're right that until now its usage has been limited to domain-specific languages for automating applications. But with the emergence of functional programming in the mainstream and visual tools that follow that paradigm, I predict that soon there will be visual tools that allow quite general programming. (I've already seen working prototypes, and they deliver on most of the promises).

comment 10y ago · link · parent

Watch Bret Victor's videos about Learnable Programming[1], in particular Stop Drawing Dead Fish. [2] Only because visual tools in the past were limited to putting properties in boxes doesn't mean that all visual tools have to be that way.

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

[2] https://vimeo.com/64895205

comment 10y ago · link · parent

That post has no clue about the shortcomings, which were true in the past but needn't be any longer. Programmers have been doing visual programming since the advent of the visual debugger that shows updated values during program execution, and they are requesting more and more of it with tools for Live Programming like jsfiddle or LightTable (for VP in classic languages) or new languages like Apparatus[1] or Eve[2].

We are in the middle of the Visual Programming renaissance, now that the hurdles that limited composability of visual programs have been theoretically solved in the last decade by Programming Languages researchers, and computers are finally powerful enough to move visual languages without slowing to a crawl.

Unfortunately, Visual Programming suffers the same curse as Artificial Intelligence: for every breakthrough that produces revolutionary new tools, it is no longer considered Visual Programming but merely "how the tools should work".

[1] http://aprt.us/

[2] http://eve-lang.com/

comment 10y ago · link · parent

Although I love the scrollwheel and you couldn't pry it from my cold dead hands, I use the scrollbar every day (in Windows 7, which has them) for two purposes:

- Moving a whole page up or down by clicking on the grey bar, which is similar to pressing Page Up and Page Down, but it's much faster on screen when I already have the hand on the mouse and the window maximized (because of Fitts's law, the scrollbar has infinite width, while the keys are small).

- Dragging around up and down in a long page to a different part of the document, in almost instant time. I HATE with all my strength how mobile browsers and apps have eliminated that option. Dragging a moderately long page to find a particular section (in, say, a Wikipedia article) with the touchscreen's physical scroll is a pain in the ass, and slow as molasses because the max speed is also capped at a low value. Is it that hard to show a drag handle after the drag event has started, and hide it when it ends?

comment 10y ago · link · parent

Because you are not a multinational corporation.

comment 10y ago · link · parent

Yeah, but then people should not be disregarding regulation, they should be asking for the right kind.

comment 10y ago · link · parent

Why, you don't think that having a body requiring minimum quality standards and opposing monopolies may be a good thing for consumers and workers?

comment 10y ago · link · parent

Isn't that way of thinking exactly what led to the dotcom bubble?
1
575859
71