Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mmoskal
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
211.
▲
by
mmoskal
4y ago
The RP2040 is just over a dollar and there is nothing else of value on Pico so $4 retail is a bit low (typically you have 3-4x bill of material) but doable. OTOH Zero is $5 only because it's effectively subsidized at various points in
212.
▲
by
mmoskal
4y ago
It seems the main thing eating RAM is TLS. It's kind of funny we have these protocols like MQTT that are designed to be simple with MCUs in mind, but then use them over TLS which is way more overhead than say HTTP. It would be interest
213.
▲
by
mmoskal
4y ago
Interestingly, ARM11 used in original RPi and RPi Zero also doesn't have integer division, but it has floating point division.
214.
▲
by
mmoskal
4y ago
I believe macOS, Linux, and Windows now all come with standard CDC (USB Serial) drivers built-in, so typically there's no need to install drivers from FTDI, Prolific or anyone else. Or am I missing something here?
215.
▲
by
mmoskal
4y ago
Because the chips are so simple, I actually found the datasheets for Padauks to be sufficient. In particular, I don't think it's any more confusing than say STM32 or even NRF52 datasheets, mostly because the chips are so much easi
216.
▲
by
mmoskal
5y ago
The NRF51 on micro:bit doesn't have a PWM, so indeed it's emulated. The NRF52 on micro:bit v2 has PWM, so you should see no jitter. RP2040 can also generate PWM signals in multiple ways. BTW, the problem with servo is not about &q
217.
▲
by
mmoskal
5y ago
I particularly "like" the how they copy&paste manual sections for TIM1, TIM3/4, TIM6/7, TIM14, TIM15/16/17 (this is from STM32G0). I get it, there are some features only available on say TIM1, but why on ea
218.
▲
by
mmoskal
5y ago
With 80k of firmware, you can just put it all in RAM ;) The M0 is not much slower than M4 when running at the same clock, and the RP2040 can run quite fast. Of course it's different if you comparing to M4F and need float32. If you end
219.
▲
by
mmoskal
5y ago
The datasheet is really skimpy about the power draw, especially compared to what ST Micro tells you. In STM32 parts the Sleep mode is usually pretty bad (say half of normal consumption) and you need to go to Stop mode, where the core and mo
220.
▲
by
mmoskal
5y ago
External flash also messes with real-time response times - if your IRQ handler is not forced to be in RAM it can take tens-hundreds of microseconds to start, which in many applications is not acceptable. Built-in flash is much more predicta
221.
▲
by
mmoskal
5y ago
I would think that the bootloader code wouldn't use any funky IP blocks - it's not some sort of driver code into which applications call, it's just a special application that runs before anything else. It has to be able to ta
222.
▲
by
mmoskal
5y ago
Eventually, you'll be able to buy Jacdac modules, brains, and cables.
223.
▲
by
mmoskal
5y ago
Indeed! Lots of Jacdac is not about the cable or the UART-based signaling, but about the service standardization and definitions. Now if only we could get all these silicon vendors to put Jacdac directly on their current I2C/SPI sensor
224.
▲
by
mmoskal
5y ago
Right now, only if you're buying 10,000 units, but hopefully will change soon!
225.
▲
by
mmoskal
5y ago
The main issue with audio jack cables is that they are not designed to carry much power (Jacdac cables are rated at 1A). You get different voltage drop depending on what cable user bought at the gas station. This is a problem is you want to
226.
▲
by
mmoskal
5y ago
If you want to make a million copies of something, Jacdac is unlikely to help you much outside early prototyping. OTOH, if you want 10 copies of something it may simplify things - you don't have to solder any wires 10 times. If you wan
227.
▲
by
mmoskal
5y ago
Indeed, if you know how to design a custom PCB, have it made, and write embedded software, then Jacdac might be an overkill for you. The Qwiic cables have to be really short (Jacdac cables can be a few meters) and are not designed for easy
228.
▲
by
mmoskal
5y ago
https://amp.economist.com/europe/2022/02/28/the-kremlins-pro...
229.
▲
by
mmoskal
5y ago
After brexit EU countries account for 20% of NATO military spending [0]. Granted, it might have increased a bit lately but still it would seem EU army would be a joke compared to NATO. [0] https://www.economist.com/special-r
230.
▲
by
mmoskal
5y ago
They are remarkably similar even at the register level - when you program with the LL (low level) library that essentially exposes hardware registers. I find LL easier to understand and work with than HAL. BTW the license is mostly BSD not
231.
▲
by
mmoskal
5y ago
It is indeed magical with largely unpredictable run times, especially once you venture into undecidable fragments (quantified formulas). There is a million heuristics that you can tune (and indeed there have been attempts of using ML for th
232.
▲
by
mmoskal
5y ago
Also `C-x o` switches focus between the code and command windows, which changes function of up/down arrows (scrolling/command history).
233.
▲
by
mmoskal
5y ago
One way to have up arrow go back in history in TUI mode is to press "Ctrl-X O" which "switches focus" between TUI source view and command window.
234.
▲
by
mmoskal
5y ago
It looks like signed overflow will be still undefined in C23 (but defined in C++).
235.
▲
by
mmoskal
5y ago
AVR was designed much later with a C compiler in mind. 8051 while atrocious is much cheaper to license and fab than an ARM Cortex-M. These applications will probably go RISC-V in near future. On the real low end PADAUK is king, at under 3 c
236.
▲
by
mmoskal
5y ago
In these systems you typically can list blobs based on prefix. If you shard blobs sharing prefix to different nodes that becomes difficult.
237.
▲
by
mmoskal
5y ago
Interestingly, people are apparently willing to pay $1500 per month to forgo using search engines [0], implying this is what the service is worth to them. I guess here you're asking for price on privacy, as Google is already free to us
238.
▲
by
mmoskal
5y ago
I'm one of original devs of the above. I guess the main difference between MakeCode and most other kids learning environments is that it starts with a real language (TypeScript) and then exposes a subset of it through graphical blockly
239.
▲
by
mmoskal
5y ago
You can also do it with major crypto tokens. At least with Fidelity Charitable. You get to deduct the market value and don’t pay capital gains.
240.
▲
by
mmoskal
5y ago
Not sure about the linked article, but the paper was also mentioned in last week The Economist, and it said that the number of tusk-less elephants was already dropping (it peaked 50% and now is 33%) due to conservation efforts.
More ›