HNHacker News
TopNewBestAskShowJobs

brlewis

11,792 karma · joined February 20, 2007

meet.hn/city/us-Beverly

Socials: - github.com/brlewis

--- Bruce Lewis, creator of https://en.howtruthful.com/

submissionscomments
brlewis··on Go run
This article would have worked a lot better without the second paragraph. The writer's simple pleasure of typing "go run ..." should not be predicated on believing that deno doesn't exist.
brlewis··on My PHP Problems
>functions are global so you now need to name them uniquely to avoid collisions

I hear this here, and elsewhere I hear that PHP has evolved into a decent language. Both can't be true.

brlewis··on My PHP Problems
The survey methodology is biased toward old technologies, from the era where you sent HTTP headers that advertised the stack you were using. Modern stacks often hide that info. (It's also biased toward techs used in blogs, since when it detects a tech used on blog.example.com, that tech is counted for example.com)
brlewis··on How I got scammed out of $50k
It's possible that most commenters here are right, that the writer just has inferior reasoning capabilities compared to us, and that there's no way any of us could possibly fall for such a scam.

But I think it's more likely that there are techniques scammers can use to incrementally build trust, and that the rest of us would be wise to watch out for such techniques being used against us.

Quote: If it was a scam, I couldn’t see the angle. It had occurred to me that the whole story might be made up or an elaborate mistake. But no one had asked me for money or told me to buy crypto; they’d only encouraged me not to share my banking information. They hadn’t asked for my personal details; they already knew them. I hadn’t been told to click on anything.

The writer had carried on entire conversations with Krista and Calvin which lacked a scam angle. This wore the writer down to where she was more receptive to the stories being told to her. This is a warning to the rest of us to keep our guard up even after such conversations.

When I posed this theory to Saul Kassin, a psychology professor at John Jay College of Criminal Justice who studies coerced confessions, he agreed. “If someone is trying to get you to be compliant, they do it incrementally, in a series of small steps that take you farther and farther from what you know to be true,” he said. “It’s not about breaking the will. They were altering the sense of reality.”

brlewis··on Why is Common Lisp not the most popular programming language?
I definitely include linters, not just style formatters.

> It happens even in fairly rigid languages like Java, I can't imagine what you'd end up with Lisp.

I imagine it would be about the same, with human factors dominating. If Lisp's flexibility pushed in the direction of inconsistency, the ease with which you could write codemods for Lisp would push in the direction of consistency.

> Has there ever even been any Lisp-based company with a 20+ year old codebase where a cast of tens of thousands of developers have worked on it over the years? I can't think of any but maybe I haven't heard of it.

I haven't heard of any either. If you hear about one, LMK if they're hiring.

brlewis··on Why is Common Lisp not the most popular programming language?
I didn't end up with ))))))))) in Scheme because it was easy to create smaller functions. I do see rust ending with

      }
    }
  }
In TypeScript I'll often find myself ending blocks of code with

        });
      }
    });
  }
I'm having fun with TS, but I do miss the parentheses. They were simpler.
brlewis··on Why is Common Lisp not the most popular programming language?
With Rust do you close all your } manually? Do you have an example of Rust code where the equivalent Lisp code would be harder to parse, assuming equal familiarity with both languages?
brlewis··on Why is Common Lisp not the most popular programming language?
In companies, most languages have some kind of system to enforce style guidelines and restrict which dependencies can be used. Companies already restrict the flexibility of the languages they are already using. So flexibility is not the reason Lisp is unpopular among companies.
brlewis··on Why is Common Lisp not the most popular programming language?
Esperanto is difficult to read and understand. It's an accent circus.

I'm having fun with Typescript these days, but parentheses are what I miss most from my Scheme days. They're objectively better.

brlewis··on Why is Common Lisp not the most popular programming language?
The same reason as why Esperanto is not the most popular spoken language. It's historical reasons and network effects.
brlewis··on Cool URIs can be ugly (2023)
I may have misunderstood your initial comment. Was Vignette a nemesis because letting people migrate to Django from it while preserving URLs involved commas, or was it just a nemesis in general and you're pointing out a flaw in how they did URLs? If the latter then yeah there's no point in me mentioning a mainstream use of commas in URLs.
brlewis··on Cool URIs can be ugly (2023)
From a more popular site:

https://en.m.wikipedia.org/wiki/Girl,_Interrupted_(film)

brlewis··on Ask HN: Which MUDs have good writing?
Doesn't have to be MUD. Thanks!
brlewis··on Cloudflare defeats patent troll Sable at trial
You lose a trademark if you don't defend it. I don't believe the same is true of patents.
brlewis··on Cloudflare defeats patent troll Sable at trial
> https://patents.google.com/patent/US5662332A/en (Magic The Gathering)

Thank you. I concede, this one is proof that an application that's essentially board game rules can be accepted. Whether rules not tied to a particular machine should be accepted is debatable. https://en.wikipedia.org/wiki/Machine-or-transformation_test...?

brlewis··on Cloudflare defeats patent troll Sable at trial
The troll can price their licenses slightly less than the presumed legal costs. Then most victims won't fight.

Presumption of validity is what makes patent trolling more lucrative than other forms of predatory litigation. You're guilty until proven innocent, because the law assumes that the patent office is generally doing the right thing.

brlewis··on Cloudflare defeats patent troll Sable at trial
It is not reasonable to expect humans to assess the novelty or obviousness of software "inventions". Too many of them can be created too fast for any conceivable patent office to handle. The only solution is for Congress to write a law saying algorithms can't be patented. SCOTUS tentatively said it already, but nobody listens to them.
brlewis··on Cloudflare defeats patent troll Sable at trial
> Board game rules fall under patents

Please supply evidence. All links in your comment relate to a patent to an invention where lasers are an essential part of the claims. I'm not convinced that rules alone would be patentable subject matter.

brlewis··on Nine US states are teaming up to accelerate the adoption of heat pumps
I'm not the OP, but probably https://pv-magazine-usa.com/2024/01/30/arizona-proposes-sola...
brlewis··on How QUIC is displacing TCP for speed
I didn't even know about the acme1 deprecation until you just now told me. Apparently certbot 0.31.0 handled it fine.

You're right that DNS isn't architecturally analogous to TLS. The way it's analogous is that if the central infrastructure goes away, then people have to do something more technical than usual to get things working again. Yes, using an IP address string in place of a hostname is simpler than setting up an alternate CA, but broadly it's the same idea, a centralized dependency with an inconvenient workaround.

brlewis··on How QUIC is displacing TCP for speed
> Sure QUIC may be faster, but only as long as you keep getting permission from your TLS CA. Once that stops it's very, very, slow. QUIC is fragile and like other CA TLS things: anything built with it will have a lifetime of only a few years without being updated.

For me, letsencrypt has been set-and-forget for at least 5 years. I use it with nginx, which is in front of several servers including a Jetty 5 server. Jetty 6 was released in 2006. You can configure which CAs you trust as well, so TLS isn't really any more of a centralization problem than DNS is.

brlewis··on Figure out who's leaving the company: dump, diff, repeat
That doesn't fit my experience. Google's stock price increased after a large block of layoffs. And they were making every effort to put as many as possible in a single block. For example, my department was "impacted by the layoffs" but given 9 months to keep working and possibly transfer out. If they didn't want to announce a large number at once they easily could have waited.
brlewis··on Review: Framework's Laptop 16 is unique, laudable and flawed
I have a Framework 13 Chromebook. I find its aesthetic similar to macbooks.
brlewis··on PostgreSQL is enough
> you start to realize _why_ there's a stack, rather than just a single technology to rule them all

Architecturally, there are other cases besides message queues where there's no reason for introducing another layer in the stack, once you have a database, other than just because SQL isn't anybody's favorite programming language. And that's the real reason there's a stack.

brlewis··on Deno in 2023
Did you try cutting the tailwind stuff out of static/styles.css? Maybe it will already do what you want.
brlewis··on Prediction markets have an elections problem
$412/year doesn't seem that cheep to me. I think the less educated are being fooled into chasing extreme low-probability prizes.

https://bigthink.com/the-present/poor-americans-lottery/

brlewis··on Prediction markets have an elections problem
Citation please. Rational entertainment would predict poorer people playing the lottery less than rich people, which afaik is not how it happens.
brlewis··on I used to not worry about climate change. Now I do [video]
In the U.S. capital gains and dividends are taxed at a low rate to benefit the rich, and "Income tax" is a working-class thing. Maybe the OP was referring to the U.S. concept of income tax.
brlewis··on I used to not worry about climate change. Now I do [video]
How about redistributing the CO2 tax as cuts in payroll and income taxes? That would benefit the working population and create a lot of replacement jobs.
brlewis··on I used to not worry about climate change. Now I do [video]
A significant fraction of commuting by information workers stopped during COVID. Nothing like the whole world stopping, but yes, it would make a difference if the reduction in commuting could continue.
← PreviousPage 2 of 34Next →