HNHacker News
TopNewBestAskShowJobs

dmux

1,283 karma · joined July 25, 2013

submissionscomments
dmux··on Show HN: Beef, a new performance-oriented programming language
Cockroaches are said to be able to survive a nuclear holocaust. I think it's a fitting name for something that's meant to be persistent.
dmux··on Tcl: Everything Is a String
You can delay evaluation of Tcl expressions, for one.
dmux··on Tcl: Everything Is a String
>I think the one great feature it shapes with Lisp is, that everything has a textual representation.

Is this true even for procedures? I was recently playing around with Scheme and was disappointed that once a procedure is defined, it got internalized and didn't have a textual representation other than #<proc> or the like.

In TCL, procedure signatures and bodies are stored within the runtime. You could essentially dump the entire state to a TCL file.

dmux··on PDC 1996 Keynote with Bob Muglia and Steve Jobs [video]
I have no experience with it, but Apache Tapestry[0] is supposed to have some commonalities.

https://en.wikipedia.org/wiki/Apache_Tapestry

dmux··on Facebook Dating
I remember there being a similar 2-way matching "app" based on your FB friends back in 2009 or so. People gamed the system by adding their entire friends list.
dmux··on Eat less meat: UN climate change report calls for change to human diet
>Never understood the obsession with drinking milk on its own

It's something that's been consumed for millennia. There are societies based on pastoralism where milk is a huge part of the diet. I'd hardly classify it as being an obsession.

dmux··on Racket: Lisp for Learning
>The main other benefit I commonly see from people using Clojure or ClojureScript is live development.

I'm still learning about Scheme/Lisp, but doesn't hot-loading have to do with the size of "compilation units?" Isn't a single s-expression treated as a compilation unit whereas in a language like Java, the compilation unit is an entire Class?

Rich Hickey touched on this in a comment here on HN (2nd paragraph): https://news.ycombinator.com/item?id=2467809

dmux··on Advice to my younger self: become allergic to the churn
Are you able to program against an interface rather than the classes themselves or is the entire API changing?
dmux··on Espresso Machine Powered by Tcl/Tk
>Tcl is one of the few homoiconic languages.

I've been diving back into Scheme and one thing I found out was that in Scheme, procedures don't normally have an "external representation." I.e., once a procedure has been defined, I don't think there's a way to get that definition back out.

Tcl is really interesting in this aspect since procedure definitions (names, argument lists and bodies) can be viewed using the "info" command.

With that in mind, I'd say it's actually more homoiconic than Scheme.

dmux··on Data-Oriented Design (2018)
In reading both your comments, I kept thinking about Smalltalk's Browser and Method Finder functionalities.

In Hay's book, he talks about modeling not just Object Classes, but how you can go about modeling ObjectClass classes (the metadata). In Smalltalk, this metadata is automatically available via the Browser.

In reviewing the CQL Tutorial, the Typesides' "java_functions" specification section made me think of the Method Finder (wherein you could provide an input value and the expected output value and methods that satisfied the transformation would be shown). I'm not sure if in CQL you'd be able to search for a function that satisfied criteria, but that may beyond the scope of what that system is trying to provide.

In any case, interesting threads of thought to be followed and explored.

dmux··on The rise of remote working will continue
I'm guessing strangers in a co-working space would feel less entitled to walk up and interrupt you throughout the day. That's largely my issue with the open office where I work.
dmux··on Google’s new reCAPTCHA has a dark side
I don't remember what forum software it was, but they'd render a number or word using all periods (kind of like ASCII art) and ask you to enter it in a text field. I wonder how well that worked.
dmux··on Web Single Sign-On, the SAML 2.0 perspective
>Virtually no-one has upgraded their apps and plugins...

I'll let the gripe about plugins pass because I think it's a bad metric for measuring how popular a framework is. How many of the plugins from 1.x and 2.x are even relevant anymore?

>...and no-one's started new projects

This is a ridiculous claim. It's just spreading FUD.

dmux··on Classes vs. Data Structures
I may need to reread it, but wasn't one of the key arguments in Parnas' "On the Criteria To Be Used in Decomposing Systems into Modules" that by modeling around data we fall into the trap of writing code that's "temporally" dependent?
dmux··on Can any Facebook employee give me a tour at HQ in Menlo Park
I'd recommend blocking off at least 6 hours for this. There are so many interesting exhibits and informational placards to read. It's well worth it though.
dmux··on '1984' at Seventy: Why We Still Read Orwell
>...controlling language can control thought, but maybe that is something still to come.

Over the last couple of years, I've been collecting passages that touch on this point. I'm always surprised when I come across them. Two of my favorites that I've randomly come across (and from non-political books):

>It would be in the interest of kings, czars, nobles, and so forth that the masses be educated in a way that renders them slavelike in mentality. The language of wrongness, should, and have to is perfectly suited for this purpose: the more people are trained to think in terms of moralistic judgments that imply wrongness and badness, the more they are being trained to look outside themselves—to outside authorities—for the definition of what constitutes right, wrong, good, and bad. When we are in contact with our feelings and needs, we humans no longer make good slaves and underlings. [0]

>...the very media we have mentioned are so designed as to make thinking seem unnecessary (though this is only an appearance). The packaging of intellectual positions and views is one of the most active enterprises of some of the best minds of our day. The viewer of television, the listener to radio, the reader of magazines, is presented with a whole complex of elements — all the way from ingenious rhetoric to carefully selected data and statistics — to make it easy from him to “make up his own mind” with the minimum of difficulty and effort. But the packaging is often done so effectively that the viewer, listener, or reader does not make up his own mind at all. Instead, he inserts a packaged opinion into his mind, somewhat like inserting a cassette into a cassette player. He then pushes a button and “plays back” the opinion whenever it seems appropriate to do so. He has performed acceptably without having had to think. [1]

[0] "Nonviolent Communication" by Marshall B. Rosenberg

[1] "How to Read a Book" by Mortimer J. Adler

dmux··on Lisp in Web-Based Applications (2001)
Is this related to a particular paragraph in the article? I've found this style interesting as well and would enjoy reading about others experiences with it.
dmux··on A Sealed Garden That Was Watered Once in 53 Years (2017)
On a larger scale, wouldn't this be Earth?
dmux··on Bleve: Full-text search and indexing for Go
I'd think so given their icon. Interesting name choice, nonetheless.
dmux··on Java 12
The new parser is available in the Groovy 3 alphas.
dmux··on Ask HN: How to learn best practices when you have no one to teach you?
This is all great advice. Two things that have helped me in particular

(1) applying the "analytical reading" rules defined in "How to Read A Book" to a code base. One of those rules, as Olikas said, is formulating hypotheses and questions and "actively engaging" with a code base (or any text).

(2) Compare and contrast a similar project (i.e. using the same language and framework) to figure out whether the structure of the project in question is following a general layout or not (e.g. Maven projects in Java).

dmux··on Ask HN: What made you change your mind about a programming language/paradigm?
And Groovy!
dmux··on Wondering about the link between intelligence and meaning
The idea of intrinsic vs extrinsic validation is called "Locus of Control"[0]. A great book that explores that concept in a little more depth (while still accessible) is Non-violent Communication [1].

[0] https://en.wikipedia.org/wiki/Locus_of_control

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

dmux··on Ask HN: What books changed the way you think about almost everything?
"Metaphors We Live By" by George Lakoff and Mark Johnson changed how I thought about language and how I use it to orient myself in the world.

"Thinking in Systems: A Primer" by Donella Meadows changed how I approached designing/troubleshooting software systems as well as changed how I think about political policy decisions and their results.

"Object Thinking" by David West dramatically altered how I approach designing OO systems. I especially liked the chapter(s) where he used different real-world metaphors for designing systems. For example, asynchronous communication (email) is often more appropriate than synchronous communication (calling someone on the phone). Delegation of tasks without "micromanaging" (i.e tell don't ask).

"Ever Wonder Why?" by Thomas Sowell gave me an insight into some of the underpinnings of Conservative thought. I'd never had the opportunity to hear any of the arguments he brings up in college or in my own liberal social groups.

dmux··on Lombok makes Java cool again
The seamless integration is amazing. For a lot of existing Java code, it's as simple as renaming the file to .groovy. In addition to your list, some of our most used features are

- The amazing SQL library - HTML builders (there are XML builders too) - Literal collections (lists and maps)

dmux··on Lombok makes Java cool again
How do you define pragmatic? Apache Groovy is still under active development. We've actually started using it more for green-field development where I work.
dmux··on The Man Who Invented Information Theory (2017)
One of the more surprising things I remember them researching (in their earlier years) was different wood to be used for telephone poles. IIRC they ran experiments for several years to see what type of wood lasted the longest in different weather conditions. All this to drive down costs in the long term.
dmux··on Compilers for Free
The description immediately reminded me of a book called "Understanding Computation." Scrolling down I see the video is by Tom Stuart, the author of that book. I'd really recommend it (the book) for anyone interested in learning about "big step" (operational) and "small step" (structural) semantics.
dmux··on Steganography Based Ad Payload That Drops Shlayer Trojan on Mac Users
They often are sandboxed within an iframe element: (https://www.iab.com/guidelines/safeframe/)
dmux··on Pharo 7.0 released
The liveness of the environment is really stellar. Other languages have REPLs, but once you've entered your code, it gets compiled and saved in some internal format. In most languages I've tried, there's been no way to retrieve the originally written code. That's possible with Smalltalk.
← PreviousPage 10 of 14Next →