HNHacker News
TopNewBestAskShowJobs

rjmorris

89 karma · joined September 7, 2017

submissionscomments
rjmorris··on So Reddit has decided that plain HTML is unsafe
That's weird, I've never experienced that, and I'm also a pretty frequent Reddit user.
rjmorris··on Paramount launches hostile bid for Warner Bros
No, it doesn't imply that. Saying party X plans to do something implies nothing about what party Y plans to do.
rjmorris··on Someone at YouTube Needs Glasses: The Prophecy Has Been Fulfilled
I had the same problem. Updating uBlock Origin fixed it.
rjmorris··on How they clean the balls in a ball pit
Can you elaborate on how the two titles mean something different? To my reading, "Here's how they ..." and "How they ..." mean the same thing. "Here's" is unnecessary. (Not saying I agree with HN removing it automatically, just that in this case I don't think it changes the meaning.)
rjmorris··on Stealing from Google
They sold .dev to Squarespace a couple years ago.
rjmorris··on De minimis: US small parcels loophole closes pushing up Shein, Temu prices
Unless you get hit with the flat fee instead.

> Packages sent to the US from mainland China and Hong Kong with a value of up to $800 now face a 120% tax rate or are subject to a flat fee. The fee started at $100 and is due to rise to $200 at the beginning of June.

rjmorris··on Customizable HTML Select
This is specifically not selectlist. "Previously, the Chrome team was working on the idea of a selectlist element. What's described in this post is that feature redesigned to reuse the existing select element instead."
rjmorris··on Hard disk fraud: long runtimes on new Seagate hard disks
> History is full of examples of companies doing the right thing if only to prevent government regulation.

Citing a couple would help your argument.

rjmorris··on Google Pixel 4a's old firmware is gone, trapping users on buggy battery update
You were lucky. Lots of people who recently had their battery replaced (before the update was announced) were affected by this.
rjmorris··on Google Pixel 4a's old firmware is gone, trapping users on buggy battery update
> I can say from experience that it doesn't.

No, I don't think you can say that. If you're getting daily notifications about being out of date, then you clearly haven't gotten the update yet. There are two possibilities: (1) You have rebooted. In this case, the dev option must have worked, because you rebooted and didn't get the update, exactly what the dev option promised. (2) You haven't rebooted. In this case, the dev option doesn't apply, because it specifically refers to what happens after you reboot.

rjmorris··on Google Pixel 4a's old firmware is gone, trapping users on buggy battery update
Google didn't announce anything. That's a message from a customer support rep to a single individual.
rjmorris··on Ever used Google Chrome in incognito mode? You could be entitled to up to $5k
Only for 2006. All months are available for earlier years.
rjmorris··on A post by Guido van Rossum removed for violating Python community guidelines
I don't understand why you said they didn't explain the reason for the 3-month ban. Your link [0] lays out the reasons.
rjmorris··on Server Mono: A Typeface Inspired by Typewriters, Apple's SF Mono, and CLIs
How did they type '2' on those old typewriters?
rjmorris··on General purpose MCUs built in to LEDs emulate candle flicker
Maybe I misunderstood you, but Anduril doesn't include strobe modes on the main cycle, and it lets you configure how many brightness steps you want (or hold for continuous ramping). So it sounds to me like you should want people to check out Anduril, since it addresses the two issues you mentioned with your old flashlights.
rjmorris··on Why early modern books are so beautiful
That didn't work. You should get that cough checked out.
rjmorris··on Firefox address bar
Except when you run across sites like https://developer.mozilla.org/en-US/docs/Web that intercept Ctrl-K for their own internal search tool. At least that one passes a second Ctrl-K on to the browser for focusing the search bar. I've seen others that don't, although I can't bring one to mind right now.
rjmorris··on CPR's true survival rate is lower than many people think
The article pointed to a study noting that about half of patients who survived wished they hadn't. In other words, they found survival to be a worse outcome than death.
rjmorris··on Show HN: Timeretain – Track, visualize, and export your hours
I had the same issue. I think changing the logo to improve legibility is a good idea.
rjmorris··on Life as a door-to-door salesman
I think they meant not answering the door.
rjmorris··on An accentuated Emacs experiment (à la macOS)
I'm a native English speaker, and it's confusing for me sometimes, too. I've had to ask multiple times whether someone was expecting an answer from me when they used this construct.
rjmorris··on Multiple assignment and tuple unpacking improve Python code readability (2018)
The underscore is to avoid conflicts with your own attributes named make, asdict, etc. So you could do:

  MyClass = namedtuple("MyClass", ["make", "asdict", "fields"])
  x = MyClass(make=10, asdict=11, fields=12)
  print(x.asdict)
The "underscore-to-avoid-naming-conflicts" approach is used elsewhere in the Python standard library, too, although another example isn't coming to me at the moment.
rjmorris··on How Go mitigates supply chain attacks
The article seemed to go out of its way not to mention any specific package manager or ecosystem. So I think comparing to Rust is completely reasonable.
rjmorris··on Settings are not a design failure
Not wild at all if those extra features get in the way and make it harder to do the subset of things you want to do. Those extra features also occupy the developers' attention, leaving less time for them to focus on the things you care about.
rjmorris··on Emfy: Emacs for You – Quickly set up vanilla Emacs for editing
Thanks for this great explanation! These do sound like useful reasons for daemon mode. My workflow is pretty different, so some of these wouldn't apply to me, but it does give me a lot to think about plus some potential workflow tweaks.

The multiple daemon approach is intriguing. I don't think I've run across anyone discussing that before, although a quick search turns up a few posts/threads that I've missed.

rjmorris··on Emfy: Emacs for You – Quickly set up vanilla Emacs for editing
Thanks for this, I found a few things to investigate adding to my own config.

I have a question about the server/client mode:

> Experienced Emacs users run a single instance of Emacs and do all their editing activities via this single instance.

What's the motivation for running it this way? I think the repo should explain why, especially since it's targeted at newbies. Also because it looks like a lot of effort was put into explaining how and discussing the em script that makes it more convenient.

For what it's worth, I'm an experienced Emacs user, and I don't run a single instance. Instead, I start lots of new instances. As best I can tell, the motivating factor for a single instance is startup speed. However, I'm satisfied with my startup speed and haven't felt the need to improve it with server/client mode.

rjmorris··on Show HN: I developed a native macOS Hacker News client
What do you use to prevent the Slack web client from telling other people you're typing? Searching just now, I found a Chrome extension that hasn't been updated in a couple of years, but maybe you have a better method.
rjmorris··on Bouba/Kiki Effect
I'm guessing because you misunderstood the question. The question in the research was something like, "Which one of these shapes is called 'bouba' and which is called 'kiki'?" There was no option to invent your own word.
rjmorris··on Shelljs – Portable Unix shell commands for Node.js
My concern with this approach is that it gives the impression that you can use all the same switches that are available to the real shell commands, which isn't the case. For example, taking the first command documented on the README, cat, shelljs supports the -n switch only, but `man cat` shows about 10 switches for me. So although I agree that the learning curve is lower to get started, you do have to remember that the switches are limited and be sure to check the docs to see which of your shell command switches are supported.
rjmorris··on Shelljs – Portable Unix shell commands for Node.js
I'm pretty sure sh just runs the commands in a subprocess using the shell, so it isn't like shelljs at all. From the linked page:

"Note that these aren’t Python functions, these are running the binary commands on your system by dynamically resolving your $PATH, much like Bash does, and then wrapping the binary in a function. In this way, all the programs on your system are easily available to you from within Python."

Page 1 of 2Next →