Better HN
topnewbestaskshowjobs
Log inSign up

TuringTest

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

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

I hope the spam filter will respect it!

Submissions

comment 11y ago · link · parent

The tutorial doesn't work for me. It provides a thorough explanation of the polynomials, but it fails to explain the very basics of how the curves are laid out on the plane.

It does a nice work of explaining how a circle is drawn, but its explanation of how x and y are calculated for a Bézier curve doesn't make sense to me: "Bézier curves use the "binomial polynomial" for both x and y." If the same function on "t" is used for both x and y, they would always have the same value, and the "curve" is always a diagonal with 45 degrees. What am I missing? I can't infer it from the tutorial.

Also, it introduces the idea of a "control point" and starts using it, but never manages to define what it is, or how it is represented in the equation or graphically. It merely labels some curves as "P1", "P2"... in the graphs and telss that these somehow change the shape of the curves, and tells us that they have an associated linear "wi" weight; but again, the way in which the (x1, y1) pairs are connected to the binomial and polynomial term is never spelled out, and left as an exercise to the reader.

Things are further complicated by the mysterious "strength" parameter "S" in the graphs, which is also unexplained, never used again, and appears right when we're trying to understand the difficult concept of a control point to further confuse things. I had followed the tutorial quite well up to that point, but that section lost me completely.

comment 11y ago · link · parent

Wikidata has a number of structural problems of its own, though, at least when it comes to interacting with the Wikipedia projects it aims to serve.

The model for interlinks connecting different languages assumes a 1:1 correspondence between articles and concepts, although the Wikipedias for each language have different structures, and a given article can document several concepts.

Also, I have the impression that the community of Wikidatans are averse to getting their precious data pool muddied with inconsistent, ambiguous and untidy content. That's understandable, but it means that there will be friction whenever the larger community tries to capture knowledge in a distributed way, without following a single well-defined standard. Things can get messy fast, and the conversations I've followed at Wikidata show that the project maintainers are likely to present significant opposition against doing things in the required "quick & dirty" way required by collaborative editing.

I see at your Wikidata's user page that you get all the needed principles right (pragmatism over theoretical purity, usage over hypothetical cases, design for humans first) but the history of the project doesn't seem to follow them well on the areas where it has gone live and has been used by outsiders.

comment 11y ago · link · parent

  having content areas fly in for almost a whole second is overkill
...except for those cases when it's not. Major context changes such as switching applications benefit from more explicit animations, that physically convey where everything goes or comes from; those can run from less than half a second to about two seconds for more showy "Welcome to product X" screens. If the old interface simply disappears, the user has no clue on how to restore it. That's why you get nifty "minimize" animations in all modern desktop environments that care about more than processor cycles.

In the Material design, animations are also intended to increase affordance by showing what areas are interactive, without requiring the extra chrome of everything having 3D borders.

comment 11y ago · link · parent

The author has stated right below that some animations can be improved. Make your suggestions.

comment 11y ago · link · parent

There are some "floating label" versions of the components that alleviate that problem, and may come handy at places where the available space is really limited, such as mobile applications.

comment 11y ago · link · parent

There are some glitches when animating layouts. The "primary action button" (is that what the floating circle was called?) sometimes covers the scrollbar after resizing the window, and jumps around on mouse-over; and when the browser window is not maximized, after selecting an option in the left vertical menu, the floating panels jump around a lot vertically before stopping. I'm using latest Chrome on Windows 7.

comment 11y ago · link · parent

IIRC, in the design guidelines longer animations should be limited to context switches, where anything under two seconds is "acceptable speed" and anything under half a second is "fast".

There's no need to use the most extreme animations for minor actions in the interface, and the linked page is obviously a showcase, not a real application.

comment 11y ago · link · parent

Material animations are not (entirely) pointless, they are designed to improve user's awareness of UI's behaviors - primarily by making transitions between related screens less "beam-me up, Scotty" Teleport-like.

Sure, it may be prone to abuse, but the base theory is sound. By tapping into the perceptual abilities of movement and shadows, some parts of the inner structure and layout of the interface (which are usually only known to the dialog's developer) are exposed to the user in an intuitive way.

comment 11y ago · link · parent

The floating labels in input text fields are a nice finding.

The click animation for most elements is too strong, though, at least on the desktop. I haven't tried on touchscreens, they may be good enough feedback for direct finger touch, but they are distracting when using the mouse for clicks.

Is the exact highlight animation mandated by Material guidelines, or can it be tweaked? I believe a fast, simultaneous "fade" effect that made the animated circle/rectangle lighter while its moving would be enough to make it subtler and less aggressive.

comment 12y ago · link · parent

Haven't you seen Cinderella?

This is what Bibbidi-Bobbidi-Boo does!

comment 12y ago · link · parent

  It makes me angry because it is a gross abuse of the 
  web platform. The web is not for applications, it's for
  documents. I would be just as angry if I received a Word 
  document that contained scripts that it needed to run to 
  display the document (actually I would be angry if I 
  received any Word document).
That ship has already sailed, Pam. There are two webs now: the document-centric, platform-agnostic, user-controlled presentation of content as envisioned by Tim Berners-Lee at CERN, and the over-specified development platform that is HTML5, that ultimately originated in Win98's Active Desktop "push technology".

The latter has gained world-wide adoption because developers and industries couldn't agree to build a standard software repository that was distributed and allowed independent re-implementations of the running engine. Java tried to be that standard, but didn't have a convenient way to deliver software to end users. App stores later are becoming a close second, but being walled gardens they'll never replace that role in full.

It's still useful to think of "the two webs" as different purposes for the HTML5 technology; it's a good question in particular to ask yourself before you start a new website and decide what of the two models you want to support. Requesting that all webs are coded assuming the "web of documents" view is not realistic anymore, though.

comment 12y ago · link · parent

  "I really feel like you're selling an awful lot of the programming language design world short here."
You may be right about that :-) Although now I realize my words didn't exactly convey what I intended to say, see below.

  "An awful lot of what programming language design is about is making it easy to precisely express what you mean, in a way that will make sense to future programmers, be robust in the face of changes, and so on."
Actually this is more what I was actually thinking when I said "the core assumption remains unchallenged". There are ways to program that don't assume you're trying to build a robust, unambiguous and precise meaning (and which are therefore much more adequate for non-technical users). But these ways have not been explored in depth, and are not known to the general mass of developers.

There is a lively conversation at the original blog, would you mind to move the conversation there, to keep it at one place?

http://programmingzen.com/2014/11/27/programming-languages-a...

  "Your mind must work fairly differently from mine if you find XML a natural way to reason."
I was not thinking of XML as natural, but of "creating instruction sets that work as recipies and can produce different executable code, so their meaning changes depending on the context on which they're executed". :-D This is the way that humans follow instructions when they receive orders. It's what makes the following a joke:

Q. How did the programmer die in the shower?

A. He read the shampoo bottle instructions: Lather. Rinse. Repeat.

P.S. (BTW, how do you create those intended quote blocks? I don't know how to do it)

comment 12y ago · link · parent

Earlier I posted a somewhat-related post at Ars Technica about using MS Office as a programming language in the way I describe above. You may find it interesting as well.

http://arstechnica.com/gadgets/2014/11/preview-office-for-an...

comment 12y ago · link · parent

"We can look at programming languages in two possible ways. They can be a means for us to instruct the computer, and incidentally communicate with fellow programmers, or they can allow us to communicate with other programmers in specific terms that are ultimately executable."

If anyone doubted this, of course an essential purpose of programming languages is for communicating with humans. The computer only needs the binary code that triggers the microprocessor's electric signals in the right combinations.

What's a shame is that the common features of these languages have been shaped more by the needs of the machine than the needs of the developers - and not just that: by the needs of 1950's computers.

A lot of developers understanding of what a programming language is has been shaped by those early efforts, and dragged through 60+ years of PL history. More modern languages have overcome the most glaring inconveniences of early languages, but the core assumption -that a PL's purpose is ultimately and exclusively as a tool to convey instructions to the machine- remains unchallenged.

But that's not an essential property of human-machine languages, and programming doesn't need to be that way. From the fields of End-User Development and semiotics applied to Human-Computer Interaction come some alternatives that propose an understanding of programming which is closer to the second way to look at PLs, as a tool for human comunication.

An interesting possibility is using computers in a way close to the "augmenting the human intelect" vision that existed before programing languages. In this approach, you don't have the loom-like vision of programs as sequences of instructions that are number-crunched by the machine, but as sets of symbols intended to be shown to humans, who would reason about them and extract meaning.

In this view, data and code are interleaved as a single entity, and not all content in the program needs to be executable - only some bits are crunched and passed to the processor for execution as a side-effect of using the tool, but the whole thing is intended as a sort of interactive novel that the user reads and steers to create some content or the other. (This is the approach of Literate programming, and is also related to Live Programming).

This can be taken to the extreme by creating instruction sets that work as recipies and can produce different executable code, so their meaning changes depending on the context on which they're executed. Configuration files and XML domain-specific languages may work this way, and it's a very natural way to reason for the human mind, yet this approach has not been fully explored by general-purpose programming languages.

comment 12y ago · link · parent

I posted a detailed comment at this[1] Ars Technica thread, explaining my belief that developers underestimate the capabilities of Excel as a development tool for end users.

I'd want to ask if Hacker News' strict forum rules allow cross-posting, to bootstrap conversation on interesting topics?

[1] http://arstechnica.com/gadgets/2014/11/preview-office-for-an...

1936.

Microsoft Office for Android, in parity with iOS(arstechnica.com ↗)

1 points · by TuringTest · 12y ago · 1 comment

comment 12y ago · link · parent

It makes sense when all the values in the list are text.

Avoids lots of ", "

comment 12y ago · link · parent

You can change the rules of physics in a virtual world. That may help a lot in finding ways to solve problems.

comment 12y ago · link · parent

The main home page would benefit from a sentence like "Semantic UI is a user interface framework" explicitly written down somewhere...

Relying on context to convey that idea seems to me a glaring omission. Other than that, I like their stated goal and approach.

http://learnsemantic.com/preface/introduction.html

comment 12y ago · link · parent

If it's true that it can run Android apps, you can use an offline navigation application that uses OpenStreetMap data.

For example MapFactor Navigator provides turn-by-turn navigation and works reasonably well.

comment 12y ago · link · parent

Maybe my Haskell is a bit rusty, but I don't get the definition of recr. What is 'f' in the following?:

    recr base combine (x:xs) = f x xs (recr base combine xs)

comment 12y ago · link · parent

Dude you're doing it wrong...

OBTW Convert a binary number into a decimal number. The binary number must be provided in the format return by decimal_to_binary. TLDR

...variable numbers and procedure names are too readable.

That should be something like this:

  OBTW

  count ur 1s as human hand
  1s it haz shape like hand before thx

  TLDR

comment 12y ago · link · parent

Well, good luck trying to enforce it... It's now a generic term for ECMAScript.

comment 12y ago · link · parent

The Wikipedia article contains several variations, including that one. Check the external links for videos and programs.

Interestingly, multiple ants don't need conflict resolution, as two ants sharing the same cell will want to leave it at the same state.

https://en.wikipedia.org/wiki/Langton's_ant

comment 12y ago · link · parent

Being European, I've never heard of a legal system where debt from legal procedures accumulated for being unable to pay it. America Land of the Free indeed, as long as you can afford the freedom. Unfortunately the bad ideas propagate - my country's government has recently created a similar system of fees for legal services, but here at least the lawyers and judges associations have protested it as immoral; and, at least in principle, fines should be proportional to the capability of people to pay them.

comment 12y ago · link · parent

The US didn't declare war on Syria.

> I have no problem with the NSA spying on foreign communications or disrupting them.

Should the rest of countries just assume that the US is a permanent military enemy? You don't seem to have a problem with treating them as such.

comment 12y ago · link · parent

> I'm not saying that's never been the case, but now we know the US can have more control on global internet infrastructure than we knew possible.

About ten years ago we learned that a teacher at my faculty (maths and CS), a world class specialist in graphs theory and finding critical nodes at small world networks, was contacted by a US three letter agency. I've assumed since then that the US government could shut down the internet any time if they really, really wanted to do it.

I didn't consider that they would shut down whole countries as a result of bricking routers from unintended hacking errors, though. Reality keeps outdoing the wildest figments of imagination.

comment 12y ago · link · parent

> What I observe is that there is more discussion about the discussion.

Maybe that's because people keep arguing about the discussion itself, instead of contributing opinions about the subject? 41 comments up and almost all of them focus on the tone of conversation rather than the problem at hand; the only thread so far* is the one commenting about the workaholic culture as a possible cause.

To avoid contributing to that trend, I'll do my part and introduce some meat to the discussion. In the Wired story linked from the article[1], someone complained that she was redirected to a gender-specific investor specialized in funding female-founded companies.

Now I think that when there's a problem of cultural bias, having support groups of similar-minded people that may work as safe havens and counter the bias is a good thing. But I agree with her that it should not be the only way to participate, and that the mainstream group should have some minimum requirements of professionalism and treat people from the targeted group in the same way as any other professional. It remains to be seen whether that can be achieved without such groups exerting pressure.

[1] http://www.wired.com/2014/07/gender-gap/

[edit] - *updated to acknowledge einhverfr's contribution above too.

comment 12y ago · link · parent

This technology makes living far away from Walmart a much more palatable experience. Combined with self-sustaining energy sources like solar panels, it could be the basis for a different urban configuration that doesn't depend on direct access to centralized distribution networks.

In the medium term I can see "high-tech hippie" communes of young educated hipsters moving to the outskirts of cities, living in plastic domes, telecommuting, composting their waste and 3D printing parts for their maker-culture activities. If this catches on, this could be the basis for less dense cities.

comment 12y ago · link · parent

If you haven't yet, you may want to read The Humane Interface [1] (and test is working prototype Archy).

It's a description of a user interface that works exactly as you say, yet looks completely different that what you describe.

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

1
646566
70