4,482 karma · joined Sep 28, 2012 (14y ago) · 2,100 submissions
I hope the spam filter will respect it!
comment 11y ago · link · parent
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
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
comment 11y ago · link · parent
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
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 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
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
http://arstechnica.com/gadgets/2014/11/preview-office-for-an...
comment 12y ago · link · parent
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'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
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
TLDRcomment 12y ago · link · parent
comment 12y ago · link · parent
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
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
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.