Why is click so much better than argparse?
471 karma · joined April 4, 2018
Why is click so much better than argparse?
Companies like Qualcomm, Broadcom, and Marvell are notorious for locking down their documentation. If you're not shipping millions of units, they're not going to give you the time of day. And even if they are willing to work with you, they're not going to provide you with full register maps, or really anything that would allow you to be independent of them. Instead, they'll give you binary blobs that handle low level details. Every datasheet is watermarked, and NDAs are required to get them.
Most of the other big players, STMicro, Texas Instruments, Nordic, Microchip, etc, are far more open. Just about all of their parts are well documented, and those documents are freely available.
"I don't see how anyone still buys an ____. How can you not see the overwhelming evidence that ____ is unequivocally the better phone?"
If either device can fit in either blank, as it has all over this thread, perhaps that's because there hasn't been any undeniably impactful feature improvements on either platform in the last decade.
1. Surprised and confused 2. Unperturbed
"Yeah I am really unperturbed" doesn't make sense in context of it's parent.
I'm not sure how you could be nonplussed about this.
An embedded device is the alternative to a general purpose computer such as a smartphone or laptop. The users of general purpose computers can decide which applications get run, unlike embedded devices. Of course, other software can limit the user's ability to make those decisions, but that is not an inherent limit of the system, that is an artificial limitation imposed by another person.
I've used maps/navigation with Android Auto, but really, it's the audio directions that are the killer app, not a visual map. So I usually just set it up on my phone, and not my cars screen.
What else is there to do on a car's touchscreen? Or are we just in the novelty phase of this technology? I'll admit it was a deciding factor in my latest car purchase. But the novelty has worn off, and if it would have been an optional feature with an additional cost, I would certainly have buyer's remorse.
!(x & (x-1)) && x
Was there a "best" solution somewhere? I couldnt get the code window to work.
Really, the piece that drove me to eventually give up was getting a vertex or edge to be selected, rather than the whole object. Its not difficult to calculate for simple shapes, but what is really needed is a general solution, that doesn't depend on shapes being regular polygons.
Trying to implement even the simplest version of this has been a project killer.
It seems there is some natural filtering at play. People looking for rational informed discussion about covid have realized it's no longer on HN, so they just don't participate anymore. Meanwhile,those who think this is all a giant conspiracy have found fellow travellers with bottomless cynicism, and those people now dominate these threads.
There are lots of libraries online that demonstrate how to set up registers for various peripherals. Avrgcc is an open source toolchain, and avrdude can program devices running the arduino bootloader.
With that goal in mind, I see simple devices like AVRs as a better first device because there is just less to configure. There's less to debug when things go wrong. There's only one clock domain. The datasheet is far shorter than most ARM devices.
When I look at the example projects for devices I use at work, such as nrf52, or stm32, and then try to put myself in the shoes of someone learning this for the first time, they seem overwhelmingly complex, when compared to similar examples for AVR parts.
I must admit that AVR hardware debugging is miles behind ARM though.
Another big draw is all of the daughterboards that use the arduino headers. No other ecosystem besides perhaps the raspberry pi has anything close to the amount of compatible boards.