Better HN
topnewbestaskshowjobs
Log inSign up

mrlambchop

753 karma · joined Feb 20, 2016 (10y ago) · 128 submissions

hackernews@lamb-chop.co.uk
Submissions

comment 2mo ago · link · parent

Not an electrical engineer, but I was 2 sentences in when I declared to myself "its the external clock source" and then a physical shudder as I remembered how many times a contract manufacturer has used some aging crystal or third party component src and not updated the matching capacitors, causing very similar issues on projects I've worked on in the past. The very very worst is the aging xtals - a warm wind can make them work for an undetermined amount of time, which is bad if the factory is running warm around 26C or so and you end up shipping the batch to Europe where its early winter...

comment 2mo ago · link · parent

250k is not a bad investment for a company doing "reverse engineering as a service" - say 1k a pop to extract the firmware. Naturally, a good business idea for somewhere in the world with less regulations...

comment 5mo ago · link · parent

re: wifi/ble together

That sounds like the crate didn't have coexistence enabled or the defaults were really odd - so much boring stuff to write about BLE/WiFi Coex, but the short is "the default settings" are pretty good for low bandwidth IoT devices.

I'll peek at the code out of interest :)

comment 6mo ago · link · parent

A very small point, but pulling from a feather form factor BOM to compare.

$0.12 for microUSB female connector (rated 1A) $0.26 for a USB-C female (rated 3A). Needs 2 x resistors (< $0.01), 20% larger board area

I think the power capabilities are the biggest item. If you want to pull higher current from a laptop for development or supply from a wall, you have to switch to USB-C.

I don't think either of these prices are that aggressive - pretty sure the cost comes down at volume.

comment 6mo ago · link · parent

I did listen to this for over 2 mins as I task switched over and eventually got cross enough to go back and terminate - I then went to YouTube to play said song and wondered if this was in fact an advertising strategy of the AI and I was the rube...

comment 8mo ago · link · parent

I loved this article and had wanted to play with PIO for a long time (or at least, learn from it through playing!).

One thing jumped out here - I assumed CISC inside PIO had a mental model of "one instruction by cycle" and thus it was pretty easy to reason about the underlying machine (including any delay slots etc...).

For this RISC model using C, we are now reasoning about compiled code which has a somewhat variable instruction timing (1-3 cycles) and that introduces an uncertainty - the compiler and understanding its implementation.

I think this means that the PIO is timing-first, as timing == waveform where BIO is clarity-first with C as the expression and then explicit hardware synchronization.

I like both models! I am wondering about the quantum delays however that are being used to set the deadlines - here, human derived wait delays are utilized knowledge of the compiled instructions to set the timing.

Might there not be a model of 'preparing the next hardware transaction' and then 'waiting for an external synchronization' such as an external signal or internal clock, so we don't need to count the instruction cycles so precisely. On the external signal side, I guess the instruction is 'wait for GPIO change' or something, so the value is immediately ready (int i = GPIO_read_wait_high(23) or something) and the external one is doing the same, but synchronizing (GPIO_write_wait_clock( 24, CLOCK_DEF)) as an alternative to the explicit quantum delays.

This might be a shadow register / latch model in more generic terms - prep the work in shadow, latch/commit on trigger.

Anyway, great work Bunnie!

comment 1y ago · link · parent

(caveat - not a lawyer... but I'll share my opinion)

That list in 1.1 isn’t an exhaustive definition which is IMO, one of the causes of the fire. Again, "IMO", the list is an illustrative set of examples as there is no limiting language like "solely" or "only" and the clause even mixes services and purposes, which again signals it’s descriptive rather than definitive.

Saying that, whilst the list inside the definition of "the Platform" is illustrative, the category it defines seems scoped to Arduino-hosted online properties which could be argued is the intent. But its an argument alas...

Either way, ambiguous policy is being communicated by these T+C updates and that is a real problem.

comment 1y ago · link · parent

Also well funded. They would struggle to raise as much in terms of contributions IMO if not providing tax relief status to their contributors.

comment 1y ago · link · parent

Poking around at this product, it looks from the rendering like (a) USB-C based power pass through (unclear if its 2.0 BC etc... or true PD with CC pins - doesn't matter that much however if the phone range is small enough) (b) USB 2.0 device IC (STM32 or similar?) that connects to the phone over D+/D- pins. (c) power is being taken from the USB internal or external depending on what is plugged in.

I was confused by how CarPlay was working, as this requires the vehicle to be a host and the phone a device, but I'll assume it means wireless CarPlay (vs USB 2.0 CarPlay).

For the display, I wonder if the device is mimicking the assistive touch inputs via external USB PID (per the note) and using a mouse/trackpad HID can take a screenshot via assistive framework - I guess the app could see this arriving, process it and then delete? Also figure out what is being shown? would explain why the video is sped up a little, but YIKES. Also good luck stopping the app being killed in the background.

All direct USB streams require MFI auth, which might work for exactly 100 devices and could be an alternative, but requires Apple cert for bulk quantities.

I think ReplayKit can only work within an app and can't see the general output stream.

Cool use of tech and curious to see how it actually works :)

comment 1y ago · link · parent

I don't know about anyone else, but when transitioning back to a shell, I HAVE to hit a bunch of enters on any prompt to clear the last output away a few lines before I can summon up the powers to enter a new command - blow away the cobwebs and all that. I love the empty enter command line :)

comment 1y ago · link · parent

Great article - enjoyed it a lot!

re: the notes on the use of the device keys (stored in the K/V store), assuming that they are per device would seem the most obvious vs that they are global. Global keys would be written in the main app body in my experience, not the KV store (but that doesn't mean people have not done unusual things here of course!).

I also want to share some feedback on the complexity of managing per device keys these days and the risks - there are lots of easy to use tools that per device keys like this much simpler to do in 2025 than 2015 and cloud platforms that take in CSV files and return very similar messages... Typically a security model for a device such as an air purifier can be easily defined as not having device encryption enabled if it has per-device keys on as the impact of breaching a single device remains compartmentalized to a single edge component and in this case, just a purifier (vs a car or something that explodes!). Not that I agree with this, but corporate security can! Device encryption causes lots of problems in factories that are often best 'ignored' if the product can afford it.

Per another comment, god bless ESP32 developers once the EU rule kicks in in August... !

comment 1y ago · link · parent

Lightning development started in 2008 as I was there!

USB-C development started in 2012 (I was not there!), but from wiki, the ever helpful source of truth: "The design for the USB-C connector was initially developed in 2012 by Intel, HP Inc., Microsoft, and the USB Implementers Forum. The Type-C Specification 1.0 was published by the USB Implementers Forum (USB-IF) on August 11, 2014.[1] In July 2016, it was adopted by the IEC as "IEC 62680-1-3".[3]"

I not sure of the logic here, but Lightning solved a problem way before USB-C existed and I'm sure, led to support of USB-C standards such as reversible connectors etc...

comment 1y ago · link · parent

In the spirit of tech conversations, here was my original input from my history:

---

I was swept up in this article and the portrait for Amanda (barrows) - what a unique and strong person - this city is soo lucky to have her.

I want to respond that unlike some here, I came away with huge empathy and today's HN snark and frustration bounced off me pretty hard accordingly. The public order issues such as homelessness in the park have impacted me, but more so, how to translate the state of the world to my children. I always remind them that this person was once a little boy / girl and we might be older, but we're still kids inside and nobody dreamt to grow up in this environment.

The compassion and my own empathy shown here coupled with the pragmatic approach shown by Amanda washed over me and the policies and bureaucratic inefficiencies that make solutions slow and ineffecient are understandable, but also highly frustrating.

The unhoused individuals and their mental state vs the requirements to find a home are very frustrating - the city surely understands the cost of housing policies and is run by highly pragmatic people, but rules are rules and some top down accommodations and medications are needed to help merge this.

---

I personally don't see my opinions changed here - I think the posted text is a bit better but also agree on the uncanny valley issue. A little less brain swelling and I would have been all over the small signals :)

Personally, I find AI and the derivatives extremely helpful when it comes to communication (a booster for the mind!) and use it all the time when translating into other languages and also removing my northern British dialect from communication over in California.

comment 1y ago · link · parent

Sorry - I hate these as well with an intense passion, but ran through grammar checking :(

comment 1y ago · link · parent

I was really swept up in this article and the portrait of Amanda Barrows - what a unique and strong person and this city is incredibly lucky to have her.

Unlike some here, I came away with a deep sense of empathy, and today’s HN snark and frustration bounced off me pretty hard. The public order issues - homelessness in parks, the challenges of shared spaces—have certainly impacted me. But more than that, I struggle with how to translate the state of the world to my boys. I always remind them: every unhoused person was once a little boy or girl. We might be older now, but we’re still kids inside, and nobody dreams of growing up in these circumstances.

What struck me most was the balance of compassion and pragmatism that Amanda brings to her work. It’s easy to be frustrated with the policies and bureaucratic inefficiencies that slow down real solutions - but they are, in some ways, understandable.

The biggest frustration for me is the gap between the mental state of many unhoused individuals and the requirements needed to secure housing. The city surely understands the long-term costs of its policies, and it’s run by highly pragmatic people with limited budgets. But rules are rules, and at some point, top-down accommodations (including medical interventions...) are necessary to bridge this gap.

comment 2y ago · link · parent

I'm sure that the lawyers decided that ARM must enforce its licenses, especially when a license holder has explicitly violated the terms in a public fashion. If they don't at least automatically try and enforce their position through legal processes, ARM risks devaluing their IP and losing future negotiating power and give.

I'd be surprised if there was anything but cold hard contract negotiations going on behind the scenes that will shortly end in an amicable settlement and another 10 years of ARM based QCOM chips.

comment 2y ago · link · parent

I recently worked on a product (Realtek 200MHz MCU + integraiton wifi/ble) that had a similar setup - QSPI connected PSRAM and QSPI connected Flash (with read/write).

The PSRAM had a reasonable size page cache in the chip that made this memory quite responsive from a CPU perspective - a few rare cache flushes were needed, but things like DMA and bus masters (onboard radios etc..) were completely coherent and it made development much easier to manage.

My takeaway was that PSRAM was surprisingly capable (with the right can of hardware controller in place). Kudos to Realtek for getting the hardware to work without a thousand impossible to debug CPU lock ups...

comment 2y ago · link · parent

Tachyon is a 5G-connected single-board computer (SBC) that takes the technology inside a modern smartphone and packs it into a Raspberry Pi form factor to power portable and remote computing devices. With a powerful Qualcomm Snapdragon SoC, an AI accelerator, and Particle’s edge-to-cloud IoT infrastructure, Tachyon combines all of the edge computing power, connectivity, and software necessary to embed intelligence into anything, anywhere.

comment 2y ago · link · parent

I just bought an i3 REX ~3 months ago - it's the perfect car for driving in SF, especially with the range extender for reducing range anxiety.

Before purchasing, I had the exact same concerns as raised in this article. Here is what I found out:

- California mandates that PZEV certified vehicles be covered for 15 years/ 150k miles for all emissions related parts (i.e. the range extender engine).

- For batteries or energy storage devices of vehicles certified to the Partial Zero Emissions Vehicle (PZEV) emissions standard, they must be covered for 10 years or 150,000 miles, whichever comes first.

The i3 REX happens to fall into this PZEV category and so I've great warranty coverage. If the battery drops below 70% or outright fails, its fixed free of charge within this time frame.

This owner hadn't purchased an i3 with the Range Extender option - if they did however, they could move their car registration to CA and would get this repair for free. The warranty for BMW vehicles post 2011 is on the state a vehicle is registered in, not the state a vehicle was originally imported or last sold in.

comment 2y ago · link · parent

Completely unusable on M3 Pro @ 64GB! Safari latest Mac OS

comment 3y ago · link · parent

Sounds like an aneccode from a layperson who saw or heard about a bring up board (or protoboard) and went away with the wrong insight.

22.

Subsystem OTA(particle.io ↗)

1 points · by mrlambchop · 3y ago · discuss

comment 3y ago · link · parent

I don't think this is true these days and especially not true of this phone release.

IIRC, Apple will have made somewhere close to 20k phones before getting anywhere close to mass production and as the ID didn't change that much, the risk is pretty low on there being a long term material issue.

If the ID changes next year (just going off manufacturing rumors), I might wait a little, but this year seems like no risk.

comment 3y ago · link · parent

This makes me embarrassed to be a Nest ecosystem user. Zero chance I'll pick up the ADT box - maybe I will spend some time seeing if the nest secure hub is hardware hackable as I happen to have 3 of them (it was the cheapest way to buy the sensors when they discontinued selling them).

comment 3y ago · link · parent

Does not work here either. Cloudflare error page is all I get.

comment 3y ago · link · parent

L5 got me - I was in the flow, but it seems the enemy shots starting falling like sidewards rain and I lost the ability to do anything but quickly die. I'll let the kids play tomorrow to make sure they don't get as far for personal validation.

comment 3y ago · link · parent

I'd wager a bad/worn NAND block, 'cosmic ray' or other electrical glitch was more likely to cause a checksum issue than anything else. It might be sudden battery disconnect caused due to the controller being dropped (per the first page), but there should be local capacitance on the NAND supply voltage size to last a page write cycle as sudden power loss is going to happen in a lot of situations.

I would generally critique the use of a checksum on this config data without a backup or ping-pong writing system specifically because in the case of a 1 bit failure on something critical like cal or configuration data, really you want the data anyway and just hope that the 1 bit wasn't that important and also be ok if the bit flips back again on the next go around.

comment 4y ago · link · parent

I'm visiting my parents this weekend and what with all the nostalgia of that, seeing this pop up on HN really felt like a punch to the gut.

Whenever I see his name, I'm transported back to a small town public library in the UK where his novel, Eon and its Arthur C. Clarke nomination took me from a young boy reading more popularist Sci-Fi authors straight into a much harder world of sci-fi authors and it left a huge impression.

Another big loss to the Sci-Fi literary community.

12345