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

> I mean bot boxes could be open, with the treasure being in green box at all but it could be all dream!

Have you studied Descartes? "I think, therefore I am" is the philosophical answer to thta problem. It's the only certainty that can not be invalidated by untrustworthy perceptions.

comment 11y ago · link · parent

> The assumption that statements made in the puzzle are true or false, but not gibberish, is a fair one.

But given that one of the possible answers (the right one) did not depend on that assumption, and in fact the git of the puzzle is that you shouldn't depend on it, the puzzle is fair.

comment 11y ago · link · parent

Actually, it's a very simple practical counterexample to the "law of excluded middle" logic axiom. [1]

The situation described in the puzzle did physically exist when the photo was taken, yet the truth value of the first label is neither true nor false. It that's a troll, then trolls like this provide food for thought.

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

comment 11y ago · link · parent

It's more like the model in a Model-View-Controller UI.

The philosophical question would be "what is the controller?"

comment 11y ago · link · parent

> I think we can end this debate here.

We could have done that when you said "why people like e-readers over tablets" :-P

comment 11y ago · link · parent

> There will always be some who misinterpret the rules.

Right, though the problem is when the misinterpretation takes on a life of its own and it's propagated as a good practice, as it happened with light grey and its purported benefits to dyslexic readers. This practice is too widespread to be left unadressed without correction.

As for e-readers, the newer models of the Kindle and other competitors have darker text over whiter background as a selling point, and the early grey-on-grey was touted as a huge limitation of the format. I've tried both and I clearly prefer the high-contrast versions.

Also, people prefer e-readers because they are based on reflective light instead of emiting LEDs - it has nothing to do with them having grey text.

comment 11y ago · link · parent

I didn't make it myself, I found it here:

http://megpickard.com/2011/06/nifty-bookmarklet-to-make-web-...

This reminds me that I didn't thank the author enough, I'll have to drop her a line.

comment 11y ago · link · parent

> Grey text on a white background is generally accepted as easier on the eye/mind when reading sentences

That may the single most propagated unfounded myth in UI design this decade. [1] While it's true that pure black on pure white causes problems for some dyslexic users, there is also a _minimum_ required contrast [2], which is routileny ignored by many "stylish" web sites.

The plague of contrast-less "light grey on white" have been adopted by plenty of "web 3.0" sites out of following fashionable trends, to the point of making them unreadable.

I've been forced to place a "Contrast" bookmarklet on the toolbar of all my browsers to fix all those terrible contrast-less pages I found everywhere, and I'm forced to use it dozens of times a day to alleviate my aching eyes. (Hexadecimal #333 is my personal upper level of comfort on white backgrounds, anything above that begins physically hurting my eyes when reading any kind of long text).

[1] http://contrastrebellion.com/

[2] http://www.w3.org/TR/AERT#color-contrast

comment 11y ago · link · parent

> How are they not locked into the 'silo' of FirefoxOS and the FirefoxOS APIs?

FirefoxOS is fully open source, while the Google platform is not. At the very least, that provides an environment where the source code for all the official supported platform is Free Software, which isn't true for Android.

This means that all users could share the same experience without depending on proprietary software (except maybe for drivers and BIOS specific to the hardware platform).

comment 11y ago · link · parent

Unlikely. It doesn't seem to be a popular link, as nobody is commenting on it.

The text is still available under Google's cache:

https://webcache.googleusercontent.com/search?q=cache:ovysh3...

comment 11y ago · link · parent

The first order function is evaluated at runtime, every time the program is executed. Macros are expanded at compile time, so they will be calculated just once. Thus the syntactic sugar added by the macro doesn't incur a time penalty.

This can provide an important speed improvement for complex macros or code used often, in tight loops or frequently called functions (it's like using inline methods in .h files in C++).

comment 11y ago · link · parent

> Wouldn't Scripting languages allows one to gradually build that understanding.

Lately I've reading this[1] academic paper about End-User Software Engineering. While not an easy read nor a good introduction if you've never read about End User Development, it delves precisely on methods for building tools that allow just that, while adding opportunistic checks to correct bugs.

[1]http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.360...

comment 11y ago · link · parent

For that use case you can use the Lapis[1][2] desktop app (the secret weapon I use for data munging), which allows you to choose several examples and edit a file with direct manipulation - or define patterns using a DSL.

[1]https://en.wikipedia.org/wiki/Lapis_(text_editor)

[2]http://groups.csail.mit.edu/uid/lapis/

comment 11y ago · link · parent

Does it work by a general library for learning patterns, or as a collection of heuristics to match common cases?

That difference would change the kind of examples I would try it with, knowing in advance when they're too complex to work.

comment 11y ago · link · parent

Did you know the name "Query by example" was devised for a tool to generate SQL queries?

comment 11y ago · link · parent

So, the primary function that makes Clone Zone worthwile to non-programmers is missing in Developer Tools?

comment 11y ago · link · parent

I think that's a pretty common expectation nowadays.

Back in the day we already tried the monster do-everythin-and-the-kitchen-sink[1][2] bundle with the original Netscape/Mozilla suite (currently known as SeaMonkey), and it sucked. It's only with Phoenix/Firefox lean-and-streamlined approach that a serious alternative to IE6 took shape.

The expectation of flexibility is covered by the idea of having specific tools provided in the form of web applications, not part of the browser itself. The browser should have all the features required to support those "innovative" experiences, but those should be available as development platform APIs, not in the browser's user interface.

[1] http://www.mozillazine.org/talkback.html?article=2919

[2] http://www-archive.mozilla.org/docs/web-developer/samples/ki...

comment 11y ago · link · parent

Some of there are, some of them don't :-)

The good think is that there's a lot more of variety on apps and plugins than there are different viable mainstream browsers, and I can use those for specific functions at different times. Bundling everything within the same application would force me to have them in my interface all the time.

comment 11y ago · link · parent

No, and they shouldn't be. Modern web browsers are "streamlined", which is what they ought to be and how they best serve their users - by being a minimal window to access the real protagonist, web content.

"Innovative" ideas should be tested in the form of separate applications or plugins, not shoehorned into the core tool that people use for almost all their access to Internet; experimenting with innovative ideas in this minimal tool is likely to break some workflows for most people.

comment 11y ago · link · parent

Back in the day I learned about using VHDL to design circuits, is that the kind of compilation also used for FPGAs?

That language paradigm is close to modern dataflow oriented programming languages. It should be theoretically possible to compile an application program written in that style and have the logical circuits in the FPGA be a direct mapping of the business logic in the application.

comment 11y ago · link · parent

Is there a possibility to use just-in-time compilers to port software to FPGAs? I can see how that could be used to accelerate applications written on bytecode languages (i.e. mostly everything in your mobile phone) to near-assembly speeds.

comment 11y ago · link · parent

I'm a few days late to the party but still wanted to add my comment. Contrarily to others in this thread, I get what the author is trying to do with the MyDef library and I share that goal myself.

As I see it, such lightweight scripting (meta-)layer is not intended to replace a programming language in full. Instead, it acts as a general-purpose template language - a wrapper were you put in the ''easy'' parts of the program, which can then be written without the attention to detail that a true programming language forces upon you.

As others have said, the hard parts of a program still benefit from a non-ambiguous, utterly detailed syntax of a full PL. A templating meta-layer is not a good fit for those, that's why you should use them in combination - use something like MyData to write the "general picture" flow, dive in into the hard language to build the details. Then you get the best of both worlds.

It's no different to what it's commonly done with template languages for the web or user interfaces, expect that this library seems to be extendable to other business domains.

comment 11y ago · link · parent

copyleft != open source. They don't even need to publish a binary blob, they can use the code internally. Yet the original project is still considered FLOSS.

comment 11y ago · link · parent

I followed the Coursera course linked from the article and the similar "Programming Paradigms" course from Standford[1], and from what I recall, dataflow and actors where formally equivalent - i.e. you could write any one using the primitives of the other.

Dataflows can be implemented through message calls to independent actors, but I also saw a stateful actor implemented as a purely functional dataflow in the shape of a sequence of its successive states.

I've seen recently a lot of people from both styles saying "but that's not really what 'reactive' is" at the other, and I think it may be a misunderstanding caused by that equivalence.

[1] https://www.edx.org/course/paradigms-computer-programming-lo...

comment 11y ago · link · parent

If the code exists and is derived from Atom, it's MIT licensed. Being pedantic, they don't need to release it in the open for it to be open source - everyone who has access to the code may choose to release it, but it's not mandatory.

comment 11y ago · link · parent

  "the GPL is designed to globally maximise the ability to
  use, modify and distribute a piece of software. The only 
  ability the GPL does not provide is the ability to take 
  these abilities from future uses."
I would summarize that as "the GPL is designed to globally maximize knowledge about the software, and the ability to use that knowledge".

The part about forcing published forks to release their source code is a consequence of that purpose: hiding the source would reduce the amount of knowledge, and thus it is forbidden.

comment 11y ago · link · parent

For those that like me may be mislead by the title, the "open" is as in "open API", not "open-source software".

The days where Google supported an open Android system are gone, gone, gone.

comment 11y ago · link · parent

If you care about more than the short term, such "political status of the code" should matter to you. The purpose of the GPL is not (or should not be) being able to say "my code is holier than yours", nor necessarily about having the best working implementation.

No, its main purpose is guaranteeing that all users can understand how the device works, even if they don't belong to the company that builds it. Other FLOSS licenses don't guarantee that in the same way than the GPL does, as they allow modifications to be kept secret. We could say that the GPL is "knowledge-friendly".

In the case of video cards, the alternative would be having only the proprietary closed driver and no open source version. It's incredibly hard to know of such closed systems work by reverse-engineering them; an open source driver, even if limited and less perfect, provides a full specification of the device.

comment 11y ago · link · parent

> However, I'd like to point out that the middle ground is not always the best way.

That would ring true if the persons asking for a middle ground weren't expressing severe concerns of distress, and the point you defend was somehow meaningful and essential. When the side you defend is "I want to tell dirty jokes in public" and the other is going "I am reminded of rape threats because we have proof that people in similar settings tend to commit hostile behavior", your side doesn't come up very sympathetic.

> Are you really saying that I can't tell jokes to my friend for the fear of offending an eavesdropper?

In the middle of an ongoing talk at a conference??? No, you can't tell jokes there that can be overheard (why wouldn't you just whisper to his ear?), as you shouldn't do it at the cinema while the movie is going on. That's called basic respect - the other people went there to listen to the speaker and do some networking. Or if you do, the least you should do is have the decency to apologize when someone else tells you off.

> No, I am not willing to watch my every word for fear of triggering an eavesdropper.

You can tell jokes to your friends at the pub, or at the office café, or any place where social rules are relaxed. That's not being PC, it's common courtesy to adapt your behavior to the social setting. If you can't or won't control your behavior at more formal venues and distinguish where it's proper to behave informally and when it's not, people would be right to avoid being around you.

Social rules are there to avoid friction, and allow everyone involved to find a compromise they can live with. You are not entitled to behave as an insensitive asshole, in particular when people is asking you to stop. You can legally do it, but it doesn't mean it's morally right. There are venues where you can tell bad jokes to your friend, please limit yourself to doing it at those places.

comment 11y ago · link · parent

> This really does seem like the future of communicating hard concepts.

If we take into account that programming is considered as a way to communicate hard concepts, this should be seen as the future of software development as well. And of hardware tools, and design, and public on-stage performances...

Bret Victor's vision of active exploration is not limited to communication and learning, but all to all creative activities.

1
626364
70