HNHacker News
TopNewBestAskShowJobs

comfydragon

115 karma · joined May 24, 2016

submissionscomments
comfydragon··on Improving how we deploy GitHub
The page you linked to does subtly explain why that happens:

> Rebase and merge on GitHub will always update the committer information and create new commit SHAs

comfydragon··on IPDR: InterPlanetary Docker Registry
I might be missing something, but what makes this "interplanetary"? The IP in IPDR appears to stand for IPFS.
comfydragon··on Starship – SN8 – High-Altitude Flight Test
I actually think SN9 is going to be at least launching from a different stand. Perhaps also landing on a different pad.
comfydragon··on Kubernetes is deprecating Docker runtime support
The practical change that's happening is that in future versions of Kubernetes, they're removing support for using a shim for telling the Docker daemon to run containers, and focusing on just using containerd (which Docker uses under the covers anyway).

It's kind of like if you had a shell script to launch programs, and it used to move the mouse to press icons, but now you've deprecated that and will only run programs directly.

comfydragon··on Wyze $20 Smart Watch
Inspect Element shows that's just a formatting goof in the footer. Wyze is not part of Amazon (...yet...).

© 2020 Wyze Labs, Inc

Amazon, Alexa, Echo Spot and all related logos are trademarks of Amazon.com, Inc. or its affiliates.

Google, Inc., Google, Google Home, Google Home Mini, G logo, The Google Assistant built-in, and related marks and logos are trademarks of Google, Inc. All rights reserved.

comfydragon··on IoT Unravelled Part 2: IP Addresses, Network, Zigbee, Custom Firmware, Soldering
Messaging in Zigbee (i.e. sending data back and forth) is all about two things: addressing (endpoint, profile and cluster... kind of like port + URI for HTTP, where endpoint=port and profile+cluster=URI), and the payload itself. The Zigbee specification defines a variety of standard profiles that devices may choose to implement. Things like device temperature, on/off switch, metering, time, lighting, etc.

But nothing says that any given device, say a Zigbee light controller (on/off) from manufacturer X, MUST implement the standard on/off cluster for that. They could have their own manufacturer-specific profile+cluster for controlling the light, where a payload of 0x11 turns it on, 0x22 turns it off, and 0xF7 toggles the light. Or maybe you send the ASCII string "on".

Suppose that HA has implemented the functionality needed to interact with the standard on/off cluster. That functionality would work with devices that implement the standard cluster, but not with manufacturer X's device that needs the string "on". But then, HA could be updated to recognize such devices and implement the required functionality.

Assuming you're familiar with HTTP: just because two services both consume and produce JSON, doesn't mean the message bodies are interchangeable.

comfydragon··on IoT Unravelled Part 2: IP Addresses, Network, Zigbee, Custom Firmware, Soldering
> I just wanted to confirm that all Zigbee devices are interoperable.

At the RF protocol level, yes they should be. Speaking as someone who works at a company with a few Zigbee-certified products, I can say that there are a LOT of "optional" features in the Zigbee specification, and even implementations of mandatory features can have differences that lead to incompatibility.

Manufacturer-specific profiles are also a big thing. So just be aware that manufacturer A's Zigbee "hub"/coordinator may or may not be inherently compatible with manufacturer B's sensors. But I would imagine that open-source systems like HomeAssistant deal with that.

comfydragon··on Show HN: Dead easy Python for executing many HTTP requests asynchronously
> It uses underscore rather than hyphen because modules/packages must be legal Python names. A hyphen would be parsed as subtraction.

And inversely, PyPI normalizes the package name (the name you give to `pip install`) to use hyphens instead of underscores. https://www.python.org/dev/peps/pep-0503/#normalized-names

comfydragon··on Vaccine hopes rise as Oxford jab prompts immune response among old and young
And here I've thought the sore arm was your body reacting to a hypodermic needle going into your upper arm muscles. I suppose it could be a little of both though?
comfydragon··on In Unix, what do some obscurely named commands stand for? (2018)
Maybe it was to avoid confusion with Lisp's "cons" which conventionally (or always? It's been a while...) adds to the head of a list, whereas "cat" is a bit closer to adding to the tail. This is pure speculation on my part.
comfydragon··on Disclosure: Another macOS privacy protections bypass
GP commenter said (note the typo):

> exmaple.com was explicitly reserved for scenarios like this

comfydragon··on FF Sandbox Escape
Sure.

https://googleprojectzero.blogspot.com/2019/11/bad-binder-an...

https://googleprojectzero.blogspot.com/2020/02/mitigations-a...

https://googleprojectzero.blogspot.com/2016/12/chrome-os-exp...

comfydragon··on Ask HN: Which tools have made you a much better programmer?
By "undodir" are you referring to the "vim-undodir-tree" plugin? Because the "persistent_undo" feature that is built into Vim/Neovim (normally) is what I think of when I hear "undodir".
comfydragon··on Using Enumerated Types in Python
Python 3.8 has typing.Literal for this.
comfydragon··on The use of `class` for things that should be simple free functions
That's a thing you can also do in Python:

    class MyObject:
        def doThing(self, value: str) -> None:
            # whatever
            pass

    obj = MyObject()
    obj.doThing("value!")
    MyObject.doThing(obj, "a different value!")
The only difference is that doThing is namespaced to the MyObject class.
comfydragon··on Subinterpreters for Python
Type annotations are completely optional though. It's possible to write Python that targets 3.5 and 3.8 at the same time.
comfydragon··on Ask HN: Do you ever go back and admire a piece of code you wrote?
Probably just an efficiency argument, since deque is designed to be efficient when used as a stack/queue. https://docs.python.org/3.8/library/collections.html#collect...
comfydragon··on Finite State Machines with Python Coroutines
Generator send() was actually added way back in Python 2.5! [1]

[1] https://docs.python.org/2.5/whatsnew/pep-342.html

comfydragon··on Zoom has a signed binary that runs any unsigned script
No, the point of the findings in that blog post is that a malicious HTTP server could infer that you're piping curl to bash, and serve you a _different_ script. Hence why it's safer to curl the script to a file, inspect the file, then execute locally.
comfydragon··on LogMeIn Acquired by Private Equity
LogMeIn owns and runs LastPass.
comfydragon··on VirtualBox 6.1
It could have something to do with this:

Virtualization core: Drop recompiler, i.e. running VMs now needs a CPU supporting hardware virtualization

comfydragon··on The “security.txt” proposal reached last step in the IETF process
If I'm understanding correctly, when "automated scanners" is mentioned here, what's meant is tools that someone runs directly, which scan the software/device and generate loads of red flags. Having a security.txt file makes it that much easier for the tool (or the user) to report the issue, valid or not.
comfydragon··on Some users say they're getting rid of Fitbit because they don't trust Google
Expected Release: Q1/Q2 2020, pending on development result

I think the "Availability" note means how long they plan to support it and/or sell it.

comfydragon··on File System Improvements to the Windows Subsystem for Linux
P? https://news.ycombinator.com/item?id=12673739

(Only took me about twenty minutes of assorted searches to find it too...)

comfydragon··on Git 2.9 released
Maybe I'm missing something, but that link doesn't say commit.verbose is true by default, it just documents the new setting you can set.
comfydragon··on Pebble 2, Time 2 + All-New Pebble Core
The Time 2 already is a Steel version, and the Pebble 2 is intentionally plastic ("sporty").
← PreviousPage 2 of 2