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

> don't see where the catastrophizing charge "excluding half of the human kind from the social sphere" comes from

You don't see it because you make chains of reasoning backwards leading you to absurd conclusions because you leave thousands of alternative explanations along the way, such as "as long as breastfeeding takes place, simultaneously working a career is pretty much out of the question" (then how is it possible that many women do exactly that, breastfeeding and working?) or "This arrangement will create gap years and have a measurable effect on mothers careers" (no shit Sherlock, that's why there are proposals being made to fix precisely that effect. Of course it won't be fixed if you do nothing and keep the current status quo.)

> Men and women are not fully interchangeable.

And that is the starting point of my reasoning. The only option you see from that point is "as a consequence, women have a lower salary", completely blind to the possibility of "let's put means so that this biological difference does not represent a burden, on the basis of sharing the upbringing of children" that you keep ignoring over and over again.

comment 5y ago · link · parent

What makes you think that the idea of "the collection of all possible computations can be seen as a single object, instead of multiple processes" can be used as a tool to figure out the secrets of the universe? ;-)

It's a mere change of perspective, but everything that you needed to find out about possible computations, you will need to find out about an infinite object containing them, in the same exact way.

comment 5y ago · link · parent

> Your question: "Why should mothers take care of infants?"

Admittedly, you can't read properly, because that's not a question I asked.

> Admittedly, it is very difficult to have this conversation when some people hold axiomatically that men and women are biologically interchangeable.

Speak for yourself if you want to introduce straw men in the discourse; no one else did. Here we adults are talking about participation in society in equal conditions for all humans, irrespective of debilitating conditions that may temporarily affect them, whether due to illness or strenuous exertion.

Excluding half of the human kind from the social sphere because some of them have a higher biological burden in reproduction is anything but a libertarian ideal. Having men participating in equal terms in the responsibility and joy of raising their children should be seen as a right as well as an obligation. A society that is unable to guarantee that right and claim that duty is a society that has lost its way.

comment 5y ago · link · parent

> Some circles have taken as an axiomatic truth that any disparity in wages between males and females is an intrinsic scandal.

All babies are created by two humans.* Why should the career of one of them be penalized for it? Why not instead create as a society the tools so that both can share the upbringing and care of the baby while the mother is recovering?

* (although the parents are not always the same persons who have biologically made it; yet it is a good idea that the solution for such a case is the default behaviour).

comment 5y ago · link · parent

If "midday" didn't get changing twice a year and always coincided with noon (i.e. the sun being highest), we could build a schedule based on working when there is light on the sky and still have some left after work.

> Time actually means something, don't mess with it.

That would be great advice for not changing the clock every six months.

comment 5y ago · link · parent

My company makes a living by algorithmically finding solutions to complex applied mathematical problems.

Theoretically, the best thing to do is to find an optimal solution to the problem -even if it is a local optimum- as this means that you can stop looking for more.

However, in practice, the user in many cases will not care whether the algorithm will approximate the optimal solution a few more decimal places; what matters is that the solution does not have any major drawbacks, so that it can be safely used for its intended purpose; and that it is better of what one expert could find in the same time by hand. That's the reason why approximate algorithms are used so often.

Under those constraints, you're better off with an anytime algorithm with a good heuristic, which gives a viable good-enough suboptimal solution fast, and which can be left running while the expert analyzes the best solution found so far, to decide if it is acceptable.

comment 5y ago · link · parent

> No, definitely not. I’m wondering if there might be a language on the horizon that’s suitable for game engine development but which is substantially less complex than C++. Or, if not, is there an effort to rally round a particular subset of C++ instead of everyone defining their own?

If it doesn't exist, it should be created and called --C.

(C-- is already taken) https://en.wikipedia.org/wiki/C--

comment 5y ago · link · parent

In the end, Markdown is a summarized way to write simple HTML; all styling should be done on a separate CSS. If you intermix lots of <div>s with class names in your text, you're not doing Markdown well.

comment 5y ago · link · parent

I've been using MS Word with a heavy reliance on Track Changes for years, and I'm converting my technical writing department to use Markdown as fast as I can. I have moved them to the WYSIWYG-on-Markdown editor Zettlr[1], and my non-technical writers have praised it for being "almost-not-techie at all".

I can't stand one more MS magic trick to auto-formatting on copy-paste (while mangling half of the styles) or figuring out why some objects simply disappeared or why Word rejects applying some format or layout.

When your job is to keep working on expanding the same hundred-pages-long document year after year, you learn every trick to fix the random MS Word bugs and protect your document from being destroyed by the software 20 times a day, and it ain't pretty.

[1] https://zettlr.com/

* I would have preferred to use Asciidoc instead of Markdown, as it comes with the full Docbook feature set; unfortunately, native support on well-maintained editors is much worse with that format.

comment 5y ago · link · parent

I read it as saying that if someone downloads it before the cache timer deletes it, it resets the timer. So if the file is downloaded regularly, it is never removed from the cache.

comment 5y ago · link · parent

I'm reading through The Lab Notes from Alexander Obenauer[1], and I'm noticing lots of coincidences. Universal data portability [2] in particular shares the same code insight of reusing all user data in any context where it's needed, and Universal reference containers [3] are the primary use case for my idea of Wit.

With the example interactions in that website you can get very close to what I imagined my system to be (though I would use a "select+tag" metaphor more often than the cumbersome drag&drop).

I still have the idea to allow spreadsheet-like processing on top of those metaphors, but the essence of the system is quite similar to that one; many information systems are converging in that same direction toward a similar model of interaction.

[1] https://alexanderobenauer.com/labnotes/000/

[2] https://alexanderobenauer.com/labnotes/002/

[3] https://alexanderobenauer.com/labnotes/003/

comment 5y ago · link · parent

> In the prose document, I would like to be able to tag the gas production per mole, molar mass, density, activation temperature, and material compatibility in such a way that I can render a table of the candidate materials in the document itself, and then sort it by gas production per mass, per volume, or per dollar, and filter it by activation temperature.

Yes, that seems be a very direct application of my wit concept, with one wit for each magnitude, placing each wit as a column of the table and having one row for each material. In the end, a wit is basically like a user-friendly version of a typed pointer in C, with a 'visual' GUI for combining them like an Excel pivot table or a OLAP 'data cube'. You can read the value at the end, or you can iterate it over a collection to process a list of values; the meaning is located in the code that uses it, more than in the object itself, and you can share the reference to the same value in many different places.

Of course there are already several systems where you can define a data structure in code and show it rendered as labels on a document (see idyll[1], or the original Explorable Explanations), but I have the idea that using such system shouldn't require any code for basic or moderately-complex programs:

1) the user should be able to define the data structure through direct interaction, like on a spreadsheet (e.g. Airtable does this fairly well). But the raw data could be extracted from existing documents, like a web scrapper, with the scrapping expressions defined through point-and-click over the actual data. The now extict kimonolabs[2] had a good interaction model for this part. **

2) this structured data could be transferred between applications with a copy/paste-like universal protocol (most current applications require coding against APIs for this),

3) calculations can be defined and re-applied to new data collections through simple formulas and more direct manipulation, possibly with Programming-by-example assistance tools. The people from MS Excel are doing this, but they lack the universal API - everything happens inside Microsoft applications.

For your example, you could store your database of atomic weights as "hidden wits" somewhere else, extract the desired value by naming the label (wit labels are global variables under a particular namespace), and feed its values to the expression where you want to calculate a function application with the data.

> The calculation part would be easy to do in Gnumeric or localc, but those handle the prose, units, and intervals very poorly at best; and they would be hopeless for the equation parsing part and, at best, clumsy for the database queries and Ellingham-diagram plotting.

The good thing of wits is that you could chain them and transfer information between applications, with each app handling what it does well, and returning the data back to the origin; i.e. any workflow that you could do manually with copy-paste. In this sense it's like a Unix pipe, but in a visual environment and transferring structured data (which can be de-composed at the receiving end, extracting one wit at a time). They are also like those awkward connector lines in dataflow visual languages, except that instead of a line you have a label with the wit name at the origin and destination.

Again MS has Power Automate as a tool with these capabilities (I think its way more complex and powerful than the classic Apple Automator), but again Power Automate restricts you to a closed runtime environment of applications that support it, which you glue only through code.

> Is that the kind of thing you're thinking of, or am I imagining wits very differently from what you really have in mind? I look forward to reading your notes! (I'm not in the Slack. I hate Slack. It's ransomware.)

I don't like walled gardens either; I've heard Matrix.org and Element.io are lovely this time of the year... :-P

I've bought the domain http://witclay.com, though I never managed to clean up my notes and publish them over there. If I manage to gather an audience in that group, I will probably summon the will to publish my use cases over there so that I can show them in the few next months, providing some concrete examples that are more intelligible than just abstract ideas.

[1] https://idyll-lang.org/docs

[2] https://youtu.be/RS3ckeDIOmE?t=157 Kimono on tables

https://youtu.be/jQ_hSNj1gI0?t=49 Kimono on structured text

** The wits here would be the yellow bubbles with the extracted data. Again, many of my insights I've seen realized in other systems; my idea is an orchestration of all them into a single user-centric system that made all them compatible, at the user fingertips.

comment 5y ago · link · parent

Great example!

How does research in software assurance treats the human side of behaviors and desires, which can't be formalized? Are there protocols that can increase reliability for an established purpose?

comment 5y ago · link · parent

As an oficially qualified computer scientist, I can say that software is grounded in mathematics, but this does not imply what you're thinking. *All* formalisms, including mathematics, are in the end nothing but an incredibly precise language to talk about ideas in your head. Programming languages are created for communication, so this is specially true for them.

The fact that code has an extremely precise semantics comes from it being a formal system. But its close relation with maths and physics, besides that they are all formal systems, is mainly because mathematicians and physicists were the first to create it; it's mostly a matter of tradition. There are ways to create, use and study software that are closer to language studies than they are to math, and those are legitimate comp-sci too. Non-formal aspects of building software, like which style guide to establish in your organization, are part of the discipline even if you don't use math to study them.

Formal proof is a convenient way to check that your detailed, precise assertions are consistent with your initial axioms. This doesn't prove at all that there are no errors in your code, only that there are no contradictions in what you are saying. Your specification could still be wrong, and then you could still be saying the wrong thing in terms of what you intend to say or achieve; and the formalism won't help.

It is not surprising that managers gets to decide how software is built in their department. Software is an explanation of concepts with a particular style, and those who set the tone implant their quirks in it. You're building what the manager tells you to build, and end using the same language.

comment 5y ago · link · parent

Thanks! I guess I'll clean up my notes and post them on futureofcoding.org community through the share-your-work section, to explain all the details and possibilities.

I took inspiration from this [1] classic article by Henry Lieberman, where tags are applied to elements of a composite as a way to edit its structure; and I combined it with the idea of a templating system to process or generate items in bulk (all templating systems do this, my idea is to abstract it into a generalized, always present interaction mechanism).

[1] http://acypher.com/wwid/Chapters/23ProblemSolving.html Making Programming Accessible to Visual Problem Solvers

comment 5y ago · link · parent

Thanks! I'll do that.

comment 5y ago · link · parent

I didn't know of the existence of Subtext, and I've felt impressed by the core set of ideas behind it (even if at first I was underwhelmed when first looked at how it was licensed, sorry about that). I've seen recently many other converging to the same region of the design space, but your approach hits all the relevant points on what I would expect on a system for a next-generation style of computing.

I have some ideas on my own on building a new style of computing environment that doesn't feel alien, and I've arrived to a lot of the same conclusions that you describe in the "Notable features" section.

My approach is to focus the environment in content-editing first (i.e. making it feel like a "structured content editor" more than a IDE), and representing code primarily with a metaphor of content transformation over collections (think Google's OpenRefine or MS Power BI), rather than as processes running on an application.

I have a core idea at the base of the structure for this system, which is to reify function applications as a named object in the environment, much like your idea of treating function results as collections of values accessible as raw data. This reified object, which I call a wit for memorability, acts very much like items in your Subtext, except that:

* Each wit has a unique identifier (a 'label') which can be used to annotate data directly through direct manipulation, like giving a name to a cell in a spreadsheet. The user can build collections by applying the same tag to all the values in the collection, manually or supported by a PbE process. The wit represents the data structure containing all those values; but at the same time it may represent the process used to generate them.

* There is no distinction among scalars and collections. I think this is the most unique feature of my system; you may apply a function to a wit (identified by its label), and it gets lazily applied to all its values, thus creating a new collection of transformed values. This is similar to named ranges in a spreadsheet, but it doesn't depend on a positional grid. And single values are treated the same as collections, so there's no need for loop constructs; the user can simply build templates with wits as variables, which then get applied to all their possible values in their input domain. (Microsoft has a similar feature with their research on FlashFill, which was posted here a few days ago[1]).

* Wits may be used as identifiers of attributes, to extract content from records. That content may be previously stored values or computed on the fly from their formula and current inputs (just like in your "Subtext is both a PL and a DB" line). I.e. wits can represent relations among entities, not just code applied over data. This blurs the metaphors of function application and data structure, which I believe is a good thing for easy-to-use computational environments.

* Since code is seen as data collections, you can build repeatable behaviors by changing the input on a sequence of transformations. For example, recorded recent user actions are not seen as a sequence of code steps, but a sequence of intermediate processed states of the transformed collection (with each step being itself represented by a wit, and thus accessible as data). I think you have a similar idea with your "functions seen as expanding to traces", but I envision using the intermediate steps as possible inputs to new functions (facilitating creation of pipes and recursion by demonstration).

I've felt my ideas validated when seeing that you've created a system which has evolved to a very similar design space; your Feedback mechanism is a neat solution to the representation of interaction and user updates, for which I didn't have a concrete solution (other than the abstract idea of representing all state as updates on functional-reactive streams).

Unfortunately my design process involves primarily paper prototypes and lots of concept notes; and also I don't get paid for it, so there's very little in a shareable form. Do you have a public discussion forum where these ideas can be discussed in the open? It would be good to share my detailed concepts and see how they apply to concrete use cases that you may have in mind for building your system.

[1] https://news.ycombinator.com/item?id=28548165 "Story of the Flash Fill Feature in Excel"

comment 5y ago · link · parent

The author explicitly says that it "is searching for the missing link between spreadsheets and programming", so I gather form that that JonathanMEdwards actually thinks of this as fulfilling the role of spreadsheets in "build[ing] simple custom apps without learning to program". Other programming languages are not alternatives to spreadsheets in that sense.

comment 5y ago · link · parent

> When we prioritize the "thought patterns" of professional programmers we forget this, and then we lament the lack of understanding for our field from people outside of it. Our solutions, when we look at it this way (with a stark divide between "programmers" and "non-programmers"), end up demanding that they come to our understanding instead of us to theirs. And that's basically always doomed to fail.

I concur, that's a good way to put it. The "way of the programmer" requires an unnatural way of reasoning that takes a lot of effort to master, and requires a lot of short-term memory effort to mentally simulate how the code behaves.

I don't even think this programming style is truly required for professional programmers either; more a by-product of how programming started as a way to feed instructions to mono-processors in the context of mathematics and physics computations on limited hardware.

Symbolic business logic doesn't typically depend so strongly on the specifics of runtime execution, and recently there has been a very active movement to build new programming environments which emphasize the relationship between code and data, rather than between code and intermediate states of computation as in classical programming languages.

comment 5y ago · link · parent

It works to solve the same space of problems, so at least it's fair to compare it as an alternative.

As I said elsewhere, it's a pity that its chosen license works directly against widespread adoption. I may take a look at how it's done to gather some implementation ideas, but I would never depend on it for any project that have a chance of growth.

comment 5y ago · link · parent

Of course people who use spreadsheets are programming; they're building data structures (with columns as object fields), generating values from formulas, and debugging the program's execution when editing cells.

What develops typically don't get is that the paradigm of the programming language and environment matters a lot, triple so for people without formal training in coding. Most people who can code with a spreadsheet would be totally unable to create a very simple shell script, because the paradigm of imperative, syntax-led classic programming languages require building a mental model of a whole Turing machine in your head, which requires years of training. That's the gulf the GP was referring to; not from which people happen to use them, but from how they think about coding.

The functional-reactive paradigm (and spreadsheets in particular) avoid that need, because they're highly composable so you can truly think of each part of the program in isolation, something which side-effects and program flow in imperative programs won't allow.

comment 5y ago · link · parent

You identified the essential qualities of spreadsheets, which many programmers fail to realize how important these are; these qualities are what make spreadsheets so useful to non-programmers. A successful development tool for non-coders should retain these, and explore alternative ways to add all the benefits of IDEs without the burden of classic programming languages.

- Spreadsheets don't separate code from data, and that's the single most important reason why they're easy to use and allow non-developers to build automations. They work like an always-on debugger, so normal users can work like a programmer works when exploring and/or fixing a program's behaviour. Practically no other coding tool for non-developers allow this.

- Naming is important for code reuse, not necessarily for one-shot functions; positional reasoning can work equally well there. Spreadsheets do allow naming cells and accessing them by name when needed; but the option not to, which classic PLs don't allow, lowers the entry barrier. Programmers could also name all their parameters 'a', 'b', 'c'; that they learn to use better names is a matter of discipline, not a limitation of the tool.

- Scalar vs ranges: this one is actually the most limiting part of spreadsheets. They are great for tabular data structures (doh!), but nested structures are tricky. There are research projects to improve this (Microsoft hosts a lot of them on this line, specially around ML and Programming By Example), but in the end you need to overcome the paradigm and apply spreadsheet-like programming concepts to tools allowing hierarchical, nested structures. That lies the future of computation for the masses.

comment 5y ago · link · parent

There's a lot of thinking around those lines, specially since the work of Bret Victor on data-rich programmable environments.

Spreadsheet-like IDEs are the most logical direction to meet that vision, specially when you want to attract non-programmers; figuring out the language syntax and the runtime execution model are the hardest parts of learning to program, and spreadsheets minimize both.

I put my bet on code notebooks, of the functional reactive variety. They have the same interaction model of the spreadsheet, intermixing data and code in the same environment, and they allow you to grow a program iteratively with cells acting as reusable objects - a simpler metaphor than OOP, but equally powerful. Data scientists are already making good use of them, and it's easy to think that these notebooks will be getting more and more of the debugging and DevOps functions of traditional IDEs.

comment 5y ago · link · parent

Yeah, but what good is a specification of an obscure language that commercial projects won't touch because it's share-alike, and free projects won't touch because it's not-free?

It would need to be a success to warrant alternative implementations, and the license is inadequate for a language to get widespread adoption.

comment 5y ago · link · parent

CC Non-commercial license, so it's dead on arrival.

https://github.com/JonathanMEdwards/subtext10/blob/master/LI...

comment 5y ago · link · parent

Different strokes for different folks. Though not every game benefits from having to discover its basic rules by trial and error, there is some appeal to it exploring the unknown when the game is designed around it. Scape rooms are a game genre, after all.

comment 5y ago · link · parent

How would you handle that 20% - 30% that is essential for life, if the rest is purely market-based?

comment 5y ago · link · parent

That would depend on your level of scholarship. Sure, common parlance does not provide deep political analysis. But even fascism wasn't an homogeneous beast and its instances vary wherever it continues to spread, there are nonetheless a number of scholars who capture its essence and describe what its commonalities are.

Of these, the most accessible may be that of Umberto Eco. [1] While it has many points in common with other totalitarianisms by its very nature, there are traits unique to fascism that situate it as ultra-conservative, promoting imperialism based on a glorified account of the past, and using racism and mass culture as a propaganda tool; characteristics that not all totalitarian states share, and that taken together make an identifying profile.

[1] https://en.wikipedia.org/wiki/Definitions_of_fascism#Umberto...

1
242526
71