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

Anyone interested in Fitts's law should also know about Accot-Zhai steering law. [1]

[1] https://en.wikipedia.org/w/index.php?title=Accot-Zhai_steeri...

comment 10y ago · link · parent

"A missing piece of Perez’s work, that often goes underemphasized by the private investment community, is the role of government in creating an equitable framework that allows everyone to participate in benefits of technological change. This is not an argument in favor of big government for big government’s sake; it’s to point out that when technology changes the complexity or structure of society, citizens have to push public institutions to transform themselves too."

This highlight explains something that the Californian investment mindset seems to ignore - capitalism is good at creating wealth, but it tends to concentrate a lot of power in the hands of a few; efficient government is needed to distribute that wealth, so that an enough amount is shared and most of society benefit from it.

comment 10y ago · link · parent

Maybe the point is that leadership works better when it's approached as problem-solving, rather than from passion or authority.

comment 10y ago · link · parent

Such price inflation would be illegal in the European Union, as what can be advertised as a "sale" is regulated by consumer law, and raising prices in the previous weeks is forbidden.

Nevertheless, that doesn't mean that it won't be done; the appeal of marketing tricks is too strong for many businesses, because psychology trumps buyer's rational consideration in the aggregate and thus these practices pay for themselves against any possible sanction.

(If it didn't work, the art of advertising would look completely different).

comment 10y ago · link · parent

If you reimagine HTML, CSS and DOM around web applications, you'll lose everything that make them great for their original purpose, which is rendering (non-fixed-layout) documents and structured content.

Surely there are some hiccups left in the design that come from its organic growth and could be smoothed out; but those are not as much as you would think, and most of that work has already been done in html5+ES6.

The end result is a platform that is great for zero-install distribution of web applications AND web documents. A new framework that centered only on the first goal would be severely limited, and a new one that served for both would look a lot like the current one.

comment 10y ago · link · parent

There's a similar song in Spanish, although it takes some detours. The maths in the song (which rhyme in Spanish) are the following:

2+2=4

4+2=6

6+2=8

...+8=16

...+8=24

...+8=32

Whole lyrics: http://www.teocio.es/portal/entretenimiento/canciones-danzas...

comment 10y ago · link · parent

There is an obvious and simple solution to this problem; although it's not up to this couple to implement it, but to all the developers building or using geo-location.

This is a problem caused by incorrect data representation. Everything the companies know about the location of the phones is an imprecise area, yet they are representing it with this: [1]

This absurdly precise representation doesn't convey the error margins of the information available, and it's what's convincing people that this couple's home is the point that they're looking for. The mapping companies are misleading their users by hiding the level of confidence about the information provided.

Please all front-end developers, don't use a map pin to represent a place in the map if you don't know their coordinates or exact address. A circle with a radius proportional to the uncertainty area is the best representation in that case.

[1] https://www.google.com/search?q=icon+map+pin&biw=790&bih=750...

comment 10y ago · link · parent

Certainly, but KDE activities are overtly complicated and lack a unifying metaphor.

Last time I checked they were neither virtual desktops nor IDE workspaces; it was hard to think of an activity as a container that holds together all the instances of data related to a project.

They interacted with open applications in weird ways, rather than having one instance of the application associated always to the same activity as you'd expect.

comment 10y ago · link · parent

I'm curious about your reasons for deciding against it. Is it lack of supporting tools? Increased complexity? Or something else?

comment 10y ago · link · parent

That's because the laissez-faire market forces you invoke are not the core of our prosperity, just one of the factors leading to it, so your comment did sound as an extreme parody of a right wing position (which may be more or less reasonable depending on how strongly you support it).

Friedman and Hayek wrote their work before we had a thorough understanding of how complex systems are optimized. Thanks to more powerful computers, we now know that search guided by purely local improvements gets stuck in local minimum (in Economics, those are the Pareto points). Those local minima can be incredibly far away from a true global optimum, but can't be improved by "consensual and mutually beneficial transactions".

Sometimes you do need to take actions that temporarily inconvenience one actor to achieve a point that will benefit all them in the long term; see the prisoner's dilemma for a simple example. The GP post mentioned 40-hours work weeks; those weren't brought by laissez-faire economics nor individual negotiation either, 60 or 80 hours a week were the norm before socialism.

Capitalism tends to create immense concentrations of power without checks and balances on the hands of tycoons, of the kind that should make any true libertarian be very afraid of those holding it. The system that really works best is one where wealth is created for a few years through capitalism, and then that wealth is redistributed by government's welfare politics to the wider population. This is what has been going on in Western countries in the last century, bringing us stability and avoiding the frequent revolutions that plagued Europe and the Americas in all its previous history.

comment 10y ago · link · parent

Even if building for Doom may look outdated, this article has very solid insight at the start about level design that can be applied to any physical game.

The idea to look at levels as works of art, and design them using the same principles is a nice one. This brings a lot of artsy theory baggage (regarding storytelling, layout and aesthetics). I hand't thought applying those to the assessment of a game level before, not explicitly.

comment 10y ago · link · parent

"avoid cleaning bird" was in my fake list. I don't know whether it looks disturbing or nonsensical.

comment 10y ago · link · parent

From the manual:

"In UNIX or short-option style, each option letter is prefixed with a single dash, as in other command line utilities. If an option takes argument, the argument follows it, either as a separate command line word, or immediately following the option. However, if the option takes an optional argument, the argument must follow the option letter without any intervening whitespace, as in -g/tmp/snar.db. Any number of options not taking arguments can be clustered together after a single dash, e.g. -vkp. Options that take arguments (whether mandatory or optional), can appear at the end of such a cluster, e.g. -vkpf a.tar."

When you have several alternative optional syntaxes for the commands, and you mix them with several different mandatory syntaxes for the parameters, the result is way more complex than merely "know five simple parameters for 99% use cases".

The following are all valid ways to do exactly the same thing:

tar cfv a.tar /etc

tar -cvf a.tar /etc

tar -c -v -f a.tar /etc

tar --create --file a.tar --verbose /etc

tar --cre --file=a.tar --verb /etc

This offers lots of flexibility, but also means that it will be hard to remember the exact syntax, and that examples that you come by on the net will all look wildly different, making it hard to learn the commands and create a habit by exposure to examples.

comment 10y ago · link · parent

> Nothing else uses Tau, so teaching you Tau does not prepare you for further education.

Nitpicking, but that is a self-defeating argument. If everybody used Tau, there would be no problem in teaching it.

Not that I disagree that doing the bootstrapping its usage and reaching there would be a problem, but all by itself is not a reason to not try changing it.

comment 10y ago · link · parent

I just love this guy's ADEPT method of exposition (Analogy, Diagram, Example, Plain English explanation, and just then Technical definition). [1]

That is exactly how I like to be introduced to any new concept, in special when I'm a complete newcomer to the field and can't relate it to previous ideas in it. Judging by the reactions to the BetterExplained site, other people agree with that.

[1] http://betterexplained.com/articles/adept-method/

comment 10y ago · link · parent

Visual languages are not good for representing complex state, but they're great for representing complex data transformations - often much better than textual languages.

If you want to transform the structure of an input file (or any stream) with a hierarchical structure to an exit file with a different structure, in a text language you need to build a parser following the data's grammar, and create a state machine that represents the required transformations, which is not an easy task.

With a flow language, you just draw an input component for each level of the hierarchy and list the data fields supported by that component; and then do the same for the output structure. The task is typically much simpler, as long as the task is pure data transformation and you don't need any side-effects during its execution.

comment 10y ago · link · parent

I've programmed professionally in a visual flow language which supported loops, and you're dead-on about nested loops being the hardest part. My understanding is that the problem is caused by it being hard to think about the actual values on which each component is working.

I have this idea that this problem could be solved with a visual flow language where, at runtime, you could see the collection of all values that each node is emitting during program execution, rather than just the current value. I have not seen that approach in any flow language, so maybe I'll implement this idea in the future as an experiment.

comment 10y ago · link · parent

> If you try to make a visual language as flexible as a general purpose programming language

Visual languages don't need to fully replace a general purpose language to be useful; a good combination is where you use text to represent the abstractions in your program, and visual tools to represent the values.

You can see this at work in one of the most successful visual tools, the interactive debugger, now embedded in every IDE worth its salt. The program's architecture is written in pure text, but the execution traces can be filtered, watched and poked interactively, rather than the textual alternative of writing everything to a giant linear log file.

Visual environments are best at the initial exploratory phase of software design, when requirements are not fully specified and the code structure is still fluid.

What all visual languages so far are missing is a way to build (textual) abstractions from the initial concrete, visual design. This would allow the programmer to grow the program "organically" by working with the data, without the need to write down every abstraction from scratch in text. There are Programming By Example[1] techniques that could help with this, but they are not well known nor widespread.

I have hope that some breakthrough in visual programming is still possible by creating programming languages that don't try to copy imperative programming, but instead exploiting the strengths of a visual environment. Tools like Apparatus[2] show that this approach is a viable one.

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

[2] http://aprt.us/

comment 10y ago · link · parent

Where else can you get a security-focused preinstalled laptop with higher specs for less money?

comment 10y ago · link · parent

As I said elsewhere, I believe the imperative-vs-functional war is coming to an end.

Now that structures based on Category Theory (generic types, lambdas, monads, futures/promises...) are being adopted by most mainstream programming languages, side effects can be described in a declarative way that is thread-safe and thus amenable to parallelism, will still allowing developers to write in a mostly imperative style.

It's a rare instance where we can really get the best of both worlds. I'm optimist about future developments of PLs.

comment 10y ago · link · parent

I think it's because of this[1].

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

"The "R" initial in his name stands for "robot," a naming convention in Asimov's future society; all robot names start with the initial R to differentiate them from humans which they often resemble."

comment 10y ago · link · parent

You can skip that part and start reading at "Conclusions". The first section merely describes an unrelated experiment, show for contrast, as an example of successful research that doesn't commit the sin of overfitting. In fact, the reasons of why this is such a scandal are explained in surprisingly understandable layman prose.

Edit: A MIT review linked from the article has a simpler and more detailed explanation of how the test system was abused, and why they did it.

http://www.technologyreview.com/view/538111/why-and-how-baid...

comment 10y ago · link · parent

Long story short:

- The LSVRC "visual recognition" competition has a rule in place, that limits to twice per week how often each contestant can run their entries to the contest against the ImageNet dataset.

- The Baidu team run their tests much more often, claiming that they understood the limit was placed on a person basis and not per team.

- This rule is in place because more frequent submissions somehow distort the quality of the test, by switching its emphasis to overlearning (adapting too much to the specific data included in the test dataset) instead of true algorithmic advances, which can influence the whole machine learning discipline given this contest's high profile. ( * )

- As a result, the whole Baidu company has been banned from the competition for a year.

( * ) ("The Baidu team’s oversubmissions tilted the balance of forward progress on the LSVRC from algorithmic advances to hyperparameter optimization.")

comment 10y ago · link · parent

That's because his username doesn't imply that he is one.

comment 10y ago · link · parent

And this algorithm has required hundreds or thousands of previous attempts at machine learning (be these and other researchers) to get to the point where it could replicate that human feature.

comment 10y ago · link · parent

Which I think was the original poster's point.

comment 11y ago · link · parent

I believe the imperative-vs-functional war is coming to an end.

Now that structures based on Category Theory (generic types, lambdas, monads, futures/promises...) are being adopted by most mainstream programming languages, side effects can be described in a declarative way that is thread-safe and thus amenable to parallelism, will still allowing developers to write in a mostly imperative style.

It's a rare instance where we can really get the best of both worlds. I'm optimist about future developments of PLs.

comment 11y ago · link · parent

> all the language will be a lot more readable, and simple. Simplicity it's the most wanted feature of Go

This is what Java designers thought as well. See where this has led them.

comment 11y ago · link · parent

Looking at the "what links here" page, the "quantum computer" is probably there as a stop-gap definition because the term is used at "Quantum compressed archive".[1]

Any successful wiki will have a problem of demarcation; the initial signs being that people add whatever they want, including ramblings like Two cows. [2]

If the project goes along, taking Wikipedia as precedent there will develop two "inclusionist" and "deletionist" cultures that will fight over the definition of what the project should cover, but which would get rid of these extreme cases.

[1] http://fileformats.archiveteam.org/wiki/Quantum_compressed_a...

[2] http://fileformats.archiveteam.org/wiki/Two_cows

comment 11y ago · link · parent

What I mean is that those axioms of conditional probability seem intuitively true because of their frequentist interpretation, i.e. counting the possible cases that satisfy each probability.

If you devoid them from the combinatorics that justify their meaning, there's no special reason to accept these particular axioms nor the law derived from them.

1
585960
71