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

(tongue-in-cheek

   "This is just what I wanted, all the syntactic peculiarities of Haskell with all the parentheses of Lisp." 'sarcasm.)
Is there a way that Hackett would standardize in using Readable Lisp [1] with Sweet-expressions as the default reader, to get rid of all the unneeded parentheses?

[1] http://readable.sourceforge.net/

comment 9y ago · link · parent

Maybe the perfect is enemy of the good?

If a developer knows and understands the concept of character encoding ("It does not make sense to have a string without knowing what encoding it uses"), at least they will know how to read a string from one system and move it to a different system that expects a different encoding. They'll know that they need to call the relevant conversion routine in a specialized library that knows how to handle the conversion.

With this, maybe they won't be able to correctly build or modify their own strings directly. But being able to handle strings from an external system that produces them, and passing them to another system that consumes them, without breaking them in the process, IMHO does qualify as "the absolute minimum" they should know.

comment 9y ago · link · parent

Maybe it's "just" because of previous training, but it's still a very useful ability, which programs do not have.

Being able to solve quickly the most common cases (which rely in such "common knowledge") would automate a lot of work that now requires writing a complex program in advance, and would allow the user to concentrate on the outliers that require more thought.

comment 9y ago · link · parent

This is why this kind of software should have an interactive 'feedback' function that allows the user to select among several, equally likely rules.

The experimental Lapis editor[1] did exactly this, by the way.

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

comment 9y ago · link · parent

No wonder that you miss the point of metric units if you don't get why doing such transformations is useful.

In the metric system, converting between length, volume and weight is trivial and straightforward. This comes into play neatly whenever you need to pile up a precise amount of batter or liquid from containers measured with a different unit.

comment 9y ago · link · parent

Cooking

comment 9y ago · link · parent

>> as long as you allow for small actors to freely re-accommodate to their local environment conditions.

> In other words as long as you don't try to plan their activity.

That's not what I said, and the two ideas are not equivalent. Agents may be allowed to accommodate locally only within certain limits, giving an appearance of free will, but still being within planned parameters and thus producing a controlled outcome. The system then will converge to a state that complies with the centrally stated goals. The key here is that individual agents are only allowed some local improvements, but they're prevented from any improvement to themselves that would damage the global optimization goals. See local search, [1] like for example Variable neighborhood search. [2]

The central authority sets very strong limits on what can and cannot be done, and enforces them strictly. It also sets up economic incentives, goals, rewards and punishments over the "free actors", like convincing workers that they need to program their lives around continuous learning and adaptation, jumping jobs every X years, and discouraging people from relying on the existing public education, healthcare and public retirement plans, which were the goals of the previous central plan, now deprecated. Anyone ''willingly'' failing to comply with the new program find themselves quickly pushed out of the system (but it was "their own fault", of course, for not "behaving rationally").

That's how the current Western world economic forces operate, and it's quite different from "mostly not exercising its power"; if that's a free market, it looks a lot like "forcing everyone to comply with its plans".

[1] https://en.wikipedia.org/wiki/Local_search_(optimization)

[2] https://en.wikipedia.org/wiki/Variable_neighborhood_search

comment 9y ago · link · parent

Top-down optimized planning of complex systems works exceedingly well, as long as you allow for small actors to freely re-accommodate to their local environment conditions. I know it because my company does this for a living.

The problem with applying top-down planning to economy is not that it doesn't work; it's that it optimizes for the goals of the few doing the planning, leaving large swaths of people struggling with the awful conditions created by not taking their goals into account in the plan.

comment 9y ago · link · parent

I often wonder the same. With current advances in technology both in mass-media and automation, many elements of consumerism beyond basic needs could be made virtual.

With near-full automation, human repetitive labor tends to be value-less; however, human attention becomes a scarce resource, given all the cultural offers competing for them.

The most valuable resources would be scarce raw materials and machinery (concentrated in the hands of wealthy owners), top notch creativity (a natural talent, unevenly distributed), and attention from the public (everyone gets the same amount of it; finding ways to attract and concentrate it has proven to be extremely valuable, as Google taught us). I envision that you could create an attention economy from those elements.

comment 9y ago · link · parent

Given the context and epoch of the book, I'd guess "barbarian" refers to non-Western, non-industrial societies.

BTW, there's a Wikipedia article about the book. [1]

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

comment 9y ago · link · parent

The original meaning of "barbarian" was akin to "not Roman" or "foreigner" (more precisely, someone not belonging to any of the classic civilizations).

Akin to "villanus" (someone living in a village), it took a derogatory tone later, as someone "uncivilized", but that was not part of its literal meaning.

comment 9y ago · link · parent

To those downvoting, the above is a honest question. If a powerful group has significant control over public speech (say Google and Facebook-like power), why shouldn't we be wary of their power to censor their opponents?

Merely because they don't (directly) have the power of law behind them, doesn't make them less dangerous than a government.

comment 9y ago · link · parent

Where do you place the line that differentiates a government from a very powerful "private" individual? (or congregation of individuals).

comment 9y ago · link · parent

This could come from a IoT company that does things well. A company providing unsupervised devices would benefit from a OS with a strong approach to avoiding security bugs.

comment 9y ago · link · parent

This would actually be a very good introduction for a race of alien visitors who'd never heard of cakes, baking, or kitchens.

comment 9y ago · link · parent

The beta version is GPL3; the new version 2.0 apparently is not.

comment 9y ago · link · parent

Are you a mammal?

comment 9y ago · link · parent

Laying objects and documents in 3D space is way more expressive than on a flat screen.

comment 9y ago · link · parent

> I mean the utility of the computer was instantly recognized and brought into offices as soon as practically possible.

You may be too young to remember, but that is definitely not true. During the 80's, the only use they could advertise computers to adults was "you can keep you recipies in it" and "you can do accounting". Heck, "there is a world market for about five computers" was a sentence aimed at business at some point.

Wait till the Marketing departments find a way to create the need on all those FB followers, with those "trendy lifestyle" ads.

comment 9y ago · link · parent

If you basically agree with the parent post, why do you say it's nonsense?

> The underlying issue here is that Electron reduces the barrier to entry for cross-platform development. Precisely.

> The trade-off — and there is a trade-off — is that Electron applications are shite in comparison with proper native applications.

But native applications are shite in terms of portability.

> But let's be honest here – there is nothing preventing e.g. Spotify or Slack from building native clients for each platform they support

See the part where the original post said "it's massively expensive, both in terms of actual dev time per feature (easily 10x the cost), and also in finding specialist developers who know these dated technologies". The costs may not be "prohibitive", but they certainly would multiply effort and resources, and divide profit.

comment 9y ago · link · parent

The definition of the word "semantics" pretty much aligns with "meaning", so it may work as a placeholder for different topics when used in different areas. The use you describe applies only in the context of programming languages, where the semantics describe "what low level code will be generated from my high level code", or "what is the meaning of this code with respect to the capabilities of the language runtime engine".

On the web, though, "semantics" is applied to the problem domain; i.e. "what application am I trying to build with this code", i.e. "what is the meaning of this word with respect to the final user-facing application". Thus, for HTML you get words for the things that are typically build with HTML: web pages. Then you get tags for articles, images, quotes, headers and footers, side bars, etc. These describe the types of content in the page, not how they look.

The "semantic web" is a generalization of this "domain knowledge" idea, providing tools to define your own vocabularies and build applications with them. This approach amounts to creating your own programming language (a new one for each application) in a way that best suit the problem at hand, rather than using a general purpose programming language.

comment 9y ago · link · parent

Someone has, but it's only got one user.

(Just guessing, but I wouldn't be surprised if it happened to be true).

comment 9y ago · link · parent

No, in the experiment I read about they forced the tentacles to go out of the water to reach some hidden area, which apparently somehow disconnects the tentacle sensitivity and reasoning from the "central unit".

comment 9y ago · link · parent

Weird! :-O

This is what I get:

1: ready-to-eat food products (as cooked meats and prepared salads)

2: sing, pl delicatessens [delicatessen (store)] : a store where delicatessen are sold

comment 9y ago · link · parent

Dunno, Merriam-Webster list it as both,[1] though from your comment I get that it is most commonly understood as the store. Thanks for the tip though, I was only aware of the food meaning.

[1] https://www.merriam-webster.com/dictionary/delicatessen

comment 9y ago · link · parent

I was wary of eating octopus, but fell relieved now, knowing that dolphins also love them as delicatessen. :-P

comment 9y ago · link · parent

I doubt that. There are huge batches experiments (performed by zoologists) experimenting the limits of octopus intelligence. Some have demonstrated that their tentacles have some limited brain power on their own, being able to perform some limited reasoning and problem-solving when isolated from the central brain.

comment 9y ago · link · parent

> I can always control at some level how those pixels are drawn

How well does that work when your GUI must be shown in arbitrary devices, with arbitrary screen sizes and arbitrary resolutions? And how well does it reflow when the user changes the viewport size?

In any case, the original post to which I replied was comparing HTML5 to the NeWS platform, which provided a unified UI stack itself, so you wouldn't be able to match the native behavior following that approach either.

comment 9y ago · link · parent

Yes, why not? That's no different than piling objects in a GUI widget library to build a tree structure for the layout of a window; except that it has a human-readable string representation.

comment 9y ago · link · parent

Also interested. Do you have anything online to explain your base ideas?
1
515253
71