4,482 karma · joined Sep 28, 2012 (14y ago) · 2,101 submissions
I hope the spam filter will respect it!
comment 9y ago · link · parent
"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?comment 9y ago · link · parent
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
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
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
> 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
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
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
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
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
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
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
> 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
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
comment 9y ago · link · parent
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.