HNHacker News
TopNewBestAskShowJobs

lgessler

1,767 karma · joined September 29, 2015

https://lgessler.com
submissionscomments
lgessler··on Show HN: I created the easiest way to share and collaborate on links on the web
Could you give a few examples of when you see this app shining? Usually if I want to maintain a list of links with people I (1) also want to write text around those links, and (2) use a Google doc, which might lack in link-specific features, but is otherwise totally adequate. So looking at the page here I'm not sure what this app has to offer me.
lgessler··on Intel's disruption is now complete
Indeed, for we computer geeks are known for our lack of ego...
lgessler··on Lisp and Haskell (2015)
> if your code compiles, it probably works

I'm always a little frustrated whenever I see this aphorism perpetuated since I think it gives the impression that a static type system is doing more than it is actually doing. In type systems that are used outside of academia, the main thing your static types are doing is checking whether the shapes of your data and functions all line up. With some small exceptions, that's it: the compiler will tell you if your LEGOs fit together, but not if you've built a knife instead of a fork.

I know what this aphorism is getting at, which is that in some domains and circumstances a lot of your bugs are "shape" errors, and it's gratifying when you're writing OCaml or Java and you can, say, refactor without hesitation, knowing the compiler will find even the most unused paths where you need to modify an invocation of your function. But it's been my and others' experience that there are many times where this isn't your most pressing concern, and could in fact be a pretty boring concern that you don't even want to pay the type annotation tax for. (I also think there's something to the idea that a static type system can instill too much confidence and encourage the pursuit of bad abstractions like 18-arg functions that can no longer be effectively reasoned about by an unaided human mind, but that's another topic.)

lgessler··on Stupid solutions: Live server push without JS
I think GP's talking not just about server-client connections but also server-server connections? In the latter case HTTP(S) wasn't as popular as it is today until the late aughts.
lgessler··on Carmack on not being a power editor user
I think the best case to be made for learning how to use a "power editor" is that editing text "manually" can sometimes be seriously disruptive to your flow. If I can do a regex replace-all with vim, I get to go back to thinking about my real problems much more quickly than I would if I had to hand-edit.
lgessler··on The Race to Save 'Contact Languages'
Hi, I'm a grad student who works on language documentation. At least one prominent field linguist has agreed with your position[0], but most in the field disagree with him. Let me make some point-by-point responses:

> People create languages to communicate on an as-needed basis.

So there's an assumption that languages exist only because they are "needed". Maybe this is true for pidgins, but where's the necessity in e.g. speakers of Proto-Polynesian moving to different islands, losing contact with each other, and having their languages diverge into Hawaiian, Samoan, Tuvaluan, etc.? For the most part, the creation of something we recognize as a distinct language is an unconscious process and is guided by incidental facts like physical location and resulting contact patterns with other language-communities.

> And languages that aren't needed anymore [...] fall away.

I think this is a strange way to put things, and that it could distort some facts about why people lose their ancestral languages. Often languages _do_ cease to be spoken because of, say, economic and bureaucratic reasons, but when this happens it'd be simplistic to look on and say that this is the natural order of things. Many American Indian languages ceased to be spoken in the 19th century because the United States tore Indian children from their parents and put them many miles away in English-only Christian boarding schools where they were physically punished if they ever spoke a word of their mother tongue[1]. It is an odd kind of necessity here that drove American Indians from their languages.

> I'll be thrilled if every language in the world disappears except for one, and we all communicate in it. I don't care which one, although ideally it'll be a simple or logical one, like Indonesian/Malay, with a writing system like Hangul.

Even if we snapped our fingers and everyone in the world suddenly spoke Malay written in a perfectly regular writing system, there's a lot of reason to think that the global language would quickly fragment into many languages again. This would be due to many forces, but two big ones among them would be plain old isolation from the rest of the world (e.g. in the highlands of Papua New Guinea) and the fact that changing the way you speak is a very powerful way of signaling your identity and ideological alignments[2].

More generally, as others have pointed out, people who believe in the value of documenting endangered languages do so most commonly because they believe in the general anthropological value of such data, the specific linguistic value of the data as another data point we can use to investigate the nature of language in general, and last but not least, the value of giving the communities who speak these languages the ability to draw on these records should they ever desire to develop their language.

[0]: https://www.jstor.org/stable/416854

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

[2]: https://en.wikipedia.org/wiki/Variation_(linguistics)

lgessler··on The Race to Save 'Contact Languages'
Can you expand on why having a writing system matters?
lgessler··on Motivation – Keli Language
> What's wrong with relying on the JVM?

It's that the user needs to learn not just Scala but also Java whenever they want to do anything "real". You might say this is a minor hangup, but for learners having to context switch back and forth between Java and Scala and dealing with interop issues can make for much more cognitive load than using a non-hosted language like Python or Go.

lgessler··on Motivation – Keli Language
I can understand $.(:name "Keli" :age 50) but not $.name("Keli" :age 50), why should the age bit go inside the parens? This introduces an asymmetry where the first key appears outside parents and subsequent keys appear inside (and as colon-initialed keywords?!)
lgessler··on American Academy of Sleep Medicine calls for elimination of daylight saving time
It would be much easier to adopt daylight/standard time permanently than to battle all the inertial forces which maintain our cultural structures around times of the day (5pm is when work ends, 12 is when you eat lunch, ...)
lgessler··on US home construction surges 22.6%, third monthly increase
Can I ask what brought you to where you live today? Or is it where you're from?
lgessler··on Report from My Williams College Teaching Sabbatical Semester (2016) [pdf]
Adding a comment to explain what's inside: the author, who is on the CS faculty of Sweden's top technical university, spends a semester teaching at Williams College and uses most of this report to reflect on differences between KTH (a large elite European research university) and Williams (an elite American liberal arts college). An excerpt:

> The fact that Williams students are so consistently strong (with very few exceptions) have some implications: Most or all students can be expected to pass a given examination, whereas at KTH a course which everyone passes is looked upon with suspicion (this is particularly true for intro courses). Unless the admission procedure at KTH is changed to involve some kind of aptitude test, it is unavoidable, I think, that the intro courses at KTH will act as that filter instead (even if it seems a wasteful system both on a individual and a societal level). Moreover, at Williams lots of individually adapted help can be given to the few students who experience problems in a class. At KTH, fewer such resources exist (although there is some help to be had in basic math and computer programming). The Williams students always have the option of contacting their professors directly, and visiting them during office hours. Very few KTH teachers have office hours to my knowledge. A female master's student of mine described the situation: "At KTH one reads a number of very difficult courses at a very high pace, and there is really nobody there to help you. Unless you're able to find or create a good study group among your peers, you're unlikely to graduate".

lgessler··on UC Santa Cruz Reinstates 41 Graduate Students After Months-Long Strike
There are some kinds of careers and questions that can only be pursued in academia, so advising that grad students abandon ship really isn't a satisfactory answer in general. Academia needs to be reformed.
lgessler··on Never use a dependency that you could replace with an afternoon of programming
Agreed. For libs that are "afternoon-y" in their scope (so, not an HTTP server or crypto), if you need to get off the fence you can use some cheap heuristics to assess the quality of a library without auditing its code. For instance, you can look at its popularity (in downloads or Github stars), its release/version history, its number of open issues, and its development activity. If I see high issue counts and many major releases with breaking changes, I'm going to avoid it. If I see 2+ years of stability with mostly minor releases, low issue counts, and high use rates, I figure it's going to probably be better than whatever half-baked solution I could scribble in an afternoon.
lgessler··on Non-invasive nerve stimulation boosts learning of foreign language sounds: study
I think it's hard to bring this study to bear on the critical period hypothesis in toto since its scope is narrow in both time and grammatical breadth (just sound production, and no other parts of comprehension or production), so we should maybe leave that aside.

You're right that the critical period hypothesis is still not settled, but let's go back to your proposal, that anyone who's immersed and motivated enough will be able to acquire nativelike proficiency. While we're in the realm of anecdotes (since you make reference to your own experience), I witnessed several peers of mine in a months-long language immersion program fall behind others in the program by quite a margin, with (IMO) little hope of nativelike proficiency even with months more of intensive classes, despite apparent motivation (sometimes much more than the better performers) and 24/7 immersion in the target language.

Going beyond anecdotes now, let's consider results from the literature against the assumption that if only adults could not be so easily discouraged they would be able to attain more nativelike proficiency. In that case, we'd expect at least a few places in time and space to have second language learners who do a phenomenal job of acquiring the target language, yet as far as I know that's never been found in the literature. Birdsong[0] reports that the range of attested rates of nativelike proficiency in L2 learners is between 5% and 25%. Moreover, there's a wealth of literature that documents in detail the specific ways in which language acquisition mechanisms falter beginning around age 6[1], which is in line with the suggestion that nativelike proficiency becomes progressively harder with age.

Neither of these results pushes your suggestion beyond plausibility, of course, but it does seem to me like the preponderance of evidence is on one side. If you know of any studies with findings that support the idea that motivation can be a decisive factor in acquiring nativelike proficiency in a second language I'd be really interested to see them.

[0]: https://web.stanford.edu/~hakuta/www/research/publications/(...

[1]: https://www.jstor.org/stable/pdf/44488300.pdf?casa_token=YS2...

lgessler··on Non-invasive nerve stimulation boosts learning of foreign language sounds: study
That doesn't change the fact that during the critical period people are muuuuch better at acquiring language than after. Moreover, while people are fairly equal in their ability to acquire a language during the critical period, there is _much_ more variance in ability, all else being equal, after the critical period. The science isn't still out on that.
lgessler··on Crux SQL
Part of the thesis of Datomic (and also Crux, as I understand it) is that cycles and storage have gotten so cheap that some of the design assumptions made by traditional databases no longer necessarily make sense for large segments of the application software market. One of the major ones being challenged is that storage is so expensive that your updates to the DB need to be destructive. That's still true for some domains, but for many, many domains, e.g. ones where historical reporting is important and write volume isn't terribly high, it'd be much better to have an immutable database (facilitating historical queries), even if it means paying a little more in hosting costs, than to build the necessary features on top of a destructive database.
lgessler··on Crux SQL
From their docs[0]:

> The REST API also provides an experimental endpoint for SPARQL 1.1 Protocol queries under /sparql/, rewriting the query into the Crux Datalog dialect. Only a small subset of SPARQL is supported and no other RDF features are available.

[0]: https://opencrux.com/docs

lgessler··on Crux SQL
Using Crux's Datalog query language from Clojure is great. Normally if your query building library is giving you a data-like interface, then you're relying on some abstraction that will inevitably leak in places (and let's not talk about ORMs), but since Crux really does natively use EDN (Clojure's data syntax, roughly analogous to JSON) for its query language, you've eliminated an entire layer of complexity in your application, and you also have the entire programming language at your disposal for compositionally building queries.

That's not to say that using the SQL API is a bad idea, but if you're using Crux from Clojure, you'd be missing out on some stuff.

lgessler··on The Case Against OOP Is Wildly Overstated
Essentially, yes, but in a way that sounds more careful than what you saw in that Fortran program. If it absolutely has to be stateful, like with a db connection for example, then there's no getting around that, but what you can do is (1) not bury it in a bunch of stateful objects that didn't have to be stateful, which can cause cascading errors when either one of them misbehaves and also makes it difficult to isolate any one stateful component for testing or re-use, and (2) use special wrappers around it that will make the statefulness easier to deal with. (For examples of (2), see Clojure atoms and the Clojure library mount: https://github.com/tolitius/mount )
lgessler··on The Case Against OOP Is Wildly Overstated
This doesn't speak to what I consider some of the most dangerous parts of OOP, which include the assumptions that tightly binding data and code is helpful, and that statefulness is fine to freely sprinkle throughout your program.
lgessler··on Simple Made Easy (2011)
It seems hard to say conclusively what is or isn't possible about differences in development time without knowing more about the problem domain. Since he mentions GIL in one of his tweets, it seems like his code must have involved concurrency, and Python and Clojure differ enough in this regard (to say the least...) that it seems believable that something that's easy in Clojure could be gut-wrenching in Python.
lgessler··on Peter Thiel on Progress and Stagnation
Yeah, came here to say this too. There are much more convincing ways of making this point.
lgessler··on Minecraft@Home
That depends on what you mean by electricity--heat pumps can achieve >100% efficiency since they move around heat instead of creating it.
lgessler··on Cutlet: A Japanese to Romaji Converter in Python
I don't know Japanese, but aren't there also cases where you would want the original spelling? Glancing at a list of English loanwords in Japanese, I'm guessing that for words like batā 'butter' or chāji 'charge' you could plausibly want the original instead of the romaji.

Perhaps it's hard to say much more without knowing who these transliterations are supposed to serve. If it's a general Japanese-speaking population with limited knowledge of English, I'm not sure whether they'd prefer romaji or the original spelling.

lgessler··on Programming at the REPL (2018)
Yeah, something I've seen become common in the Clojure ecosystem is for files to have a `(comment ...)` form at the bottom where forms which are commonly needed at the REPL when working with the file (e.g. to initialize some data or a database connection) are kept around. Editors like IntelliJ with Cursive have commands like "evaluate sexp before cursor" which lets you easy use them, and since they're all commented out they don't effect the normal execution of the code.
lgessler··on Life is 90% of my use cases for org-mode
I don't disagree. I greatly appreciate Emacs now that I know (5% or less of) it, but I don't think I could have gotten here if Spacemacs hadn't provided sane defaults for packages and keybindings.
lgessler··on Life is 90% of my use cases for org-mode
I just suspect that people here on HN are coming from the upper portions of the software developer spectrum in terms of experience, aptitude, enthusiasm, and training--there are plenty of other people in the world who do software development but lack some of those things. For my own part, I graduated with a bachelors in computer science having only heard Emacs mentioned once in a course (at the beginning of the second course in the intro sequence) by a particularly enthusiastic professor, and I never heard anyone talking about Vim or Emacs at my first job, where everyone more or less had to work exclusively with Visual Studio and an in-house IDE.
lgessler··on Life is 90% of my use cases for org-mode
I'd venture that it's not among rank-and-file software developers, though.
lgessler··on Life is 90% of my use cases for org-mode
> If someone wrote an open source clone of Emacs that adopted some sane defaults, modern UI conventions, and dropped all the political BS it could be so much better.

Worthy of mention, of course, is Spacemacs[1], which made Emacs approachable to me, someone who hadn't used much beyond Notepad++ and Eclipse before then.

[1]: https://www.spacemacs.org/

← PreviousPage 6 of 13Next →