HNHacker News
TopNewBestAskShowJobs

lgessler

1,767 karma · joined September 29, 2015

https://lgessler.com
submissionscomments
lgessler··on Airbnb raises violent crime rates in cities as residents are pushed out
Is it really right to equate a tourist's interest in accommodation with a resident's interest in a strong community?
lgessler··on Django for Startup Founders: A better software architecture for SaaS startups
Why can't React devs use Om or Fulcro? Lots of Fulcro was inspired by Om, but it's at least mostly, if not entirely, a rewrite of David Nolen's code, and the ideas and capabilities of Fulcro now go well beyond the scope of Om.
lgessler··on Django for Startup Founders: A better software architecture for SaaS startups
All this, and if you have really complicated state, check out Fulcro, which gives you a normalized database in your browser, among other things: https://book.fulcrologic.com/
lgessler··on Seattle man died by suicide as a result of cop’s lie, mom says in new lawsuit
Why do you think the present is particularly bad in this regard?
lgessler··on Parsing in JavaScript: all the tools and libraries you can use
It's a Clojure(Script) library, but it's still so good it's worth mentioning: Instaparse[0] generates a parser for you from a BNF-y grammar specification. Sample from the readme:

    (def as-and-bs
      (insta/parser
        "S = AB*
         AB = A B
         A = 'a'+
         B = 'b'+"))

    => (as-and-bs "aaaaabbbaaaabb")
    [:S
     [:AB [:A "a" "a" "a" "a" "a"] [:B "b" "b" "b"]]
     [:AB [:A "a" "a" "a" "a"] [:B "b" "b"]]]
[0]: https://github.com/Engelberg/instaparse
lgessler··on LiveLeak shuts down after 15 years online
Am I understanding right that this shutdown happened overnight with no warning? I didn't have any investment in LiveLeak one way or another, but this gushing about how much the community meant to the team rings a little hollow when I imagine there are users angry they didn't have any time to prepare for it.
lgessler··on How we use web components
Something I've never understood how to handle with vanilla web components: if there's some state that needs to be shared and kept in sync between multiple components, how do you do it?

(For comparison, in React you can pass the state down as props from a common ancestor, and in Clojure frameworks all app state is in a giant object referenced by components as needed.)

lgessler··on Dave Herman’s contributions to Rust
Didn't Scala get both of those things from ML?
lgessler··on .NET MAUI: .NET Multi-Platform App UI
Meteor's problems were around performance and features (or the lack of them) IMO, which are not in principle ones that will crop up if you try to unite a stack around a single language.
lgessler··on The Crow Whisperer: What happens when we talk to animals?
Adding to this, it's also not idiomatic to use an infinitive for a purpose clause in Latin. ire cacare ought to be i ut caces ('Go so you might shit').
lgessler··on Crystal 1.0 – What to expect
I can't speak to the others on the list but it seems odd to say Clojure isn't being used widely in production. Clojure's been powering big businesses for years now and Nubank, which primarily uses Clojure, is valued at $24bn: https://www.pymnts.com/news/investment-tracker/2021/brazilia....
lgessler··on Israel's first new bank since 1978
i assume gp's talking about double spending
lgessler··on PyTorch 1.8, with AMD ROCm support
I get what you mean by the GPUs are overrated comment, which is that they're thought of as essential in many cases when they're probably not, but in many domains like NLP, GPUs are a hard requirement for getting anything done
lgessler··on Not Lisp again (2009)
Right, though there are some additional caveats, e.g. that it can't be used to implement TCO for mutual recursion
lgessler··on I heat my home by mining crypto currencies
GP's referring to HVAC systems you'd find eg in a relatively new (1980s+) single family home in America
lgessler··on Love’s contradictions: Catullus on the agony of infatuation
Wikisource's quasi-literal translation, if anyone wants to know at least what the content of the words are: https://en.wikisource.org/wiki/Translation:Catullus_8
lgessler··on Love’s contradictions: Catullus on the agony of infatuation
Catullus on the front page of Hacker News, huh? Had the pleasure of spending most of Latin class in my senior year of high school reading him. (Or rather, the poems of his that our teacher could let us read without getting pearl-clutching parents on the other end of the phone with her. Not to worry, we knew where to find the rest.) Here are some of my favorites of his that are a bit off the beaten path:

- Catullus 16, which might be the oldest thing that we could properly call a diss track: https://en.wikipedia.org/wiki/Catullus_16

- Catullus 45, a poem about two lovers that's proof people have always had an appetite for camp: https://en.wikipedia.org/wiki/Catullus_45

- Catullus 46, an earnest, wistful poem about breaking camp with the arrival of spring and bidding the former strangers, now friends, goodbye as you all pursue the aims that brought you together in the first place: https://en.wikisource.org/wiki/Translation:Catullus_46

lgessler··on NumPy Illustrated: The Visual Guide to NumPy
What if NumPy and SciPy were part of the Python stdlib--would this change your view at all? (Note that for the majority of Python's scientific users, this might as well be the case, since they're using Anaconda to get their Python distribution set up.)

Like I mean sure, maybe it'd be nice to have some syntactic sugar at the language level for tensors (though IMO the slice syntax for numpy.ndarray is already plenty), and maybe it's a microannoyance to have to write `import numpy as np` over and over, but what else is lacking?

lgessler··on To the brain, reading computer code is not the same as reading language
Listening to music with lyrics is already hard for me when I'm writing code, but listening to a podcast is unthinkable--what kind of podcast? Don't you get distracted by the people talking?
lgessler··on U.S. Treasury breached by hackers backed by foreign government – sources
This is sarcasm right
lgessler··on Notes on Learning Languages
It is a racial stereotype, because it literally invokes race. It's also not positive if it helps reinforce beliefs that Asians are unreflective drones that are good at piano and math but lack personality and originality.
lgessler··on Notes on Learning Languages
Perpetuating racial stereotypes isn't inappropriate?
lgessler··on The Future of Clojure
I'm surprised to hear you had such a bad experience with mount--it's always struck me as one of the greatest exemplars of what Clojure allows you to do that would be impossible in Java. Managing fundamentally stateful components was always a nightmare for me in Java and Java-related languages: you'd never know which class was in charge of initializing what, would always be tearing your hair out trying to keep track of when you can assume certain components have been successfully initialized, etc.

With mount on the other hand, you tell it how to start and stop the component (and stores a reference to the component in the same var where you specified this), keeps a reference to the component in exactly one place, and then it automatically makes some reasonable assumptions about the order in which they need to be initialized, while allowing you to opt out as needed. Re: your example of finding a reference to the db, shouldn't it just have been in the var set up by a call to `defstate`? (Also, which web framework was it? Luminus?)

lgessler··on The Future of Clojure
Whether software falls short of our aesthetic sensibilities doesn't have a bearing on whether it's wise for companies to be funding it.
lgessler··on The Future of Clojure
I don't know what sector GP is in but there are plenty of programming jobs (maybe even most?) where the company (usually one where tech generally is incidental to their operations) really isn't in a position to offer a salary that's competitive enough to hire this way. I'd say most programming jobs at US hospitals are this way, for instance.
lgessler··on She Couldn’t Open for Outdoor Dining. The Film Crew Next Door Could
GP means going-to-other-indoors-places outside, not outside outside
lgessler··on PHP 8
I'm kind of surprised they'd change a core language semantic, even in a major update... won't this make upgrading to PHP8 for a large codebase hard to do with confidence?
lgessler··on Caltech Awards 10,000th PhD Degree
I find the attitude that only STEM is worth studying (which is not coincidentally believed most fervently by STEM grads) really pernicious.

Let me restate the common argument--there's this feeling that it's useful to measure people by the good they're doing for society, and that getting a PhD doing postmodern feminist readings of Christopher Marlowe is less useful to society than getting one doing Alzheimer's research or whatever.

I'll just say that it's worth considering whether an academic discipline's contributions may be difficult to notice but in fact substantial. Some academic disciplines like history or cultural anthropology must operate more qualitatively simply because the phenomena they aim to account for admit of no other approach, with the result that their intellectual products (especially when considered from the perspective of general society) will not often be as concrete as, say, a vaccine. But it'd be premature, of course, to dismiss a discipline just because its methods do not reach our desired level of formalization and its output is intangible.

If the issue you're raising is more narrowly one of your belief that within the scope of an _individual_'s wellbeing studying some subjects will leave them worse off than others, that's obviously true in at least financial dimensions, but that doesn't make a discipline a "fake subject".

lgessler··on Caltech Awards 10,000th PhD Degree
GP meant "by university" by writing "by school"
lgessler··on Caltech Awards 10,000th PhD Degree
What is a fake subject?
← PreviousPage 5 of 13Next →