Better HN
topnewbestaskshowjobs
Log inSign up

5d41402abc4b

121 karma · joined Jan 9, 2023 (3y ago) · 72 submissions

Submissions

1.

India's Battle for Free Internet(web.archive.org ↗)

3 points · by 5d41402abc4b · 3mo ago · discuss

comment 5mo ago · link · parent

Have you tried locally running qwen?

comment 5mo ago · link · parent

what prompts do you use for this?

comment 6mo ago · link · parent

Whats the difference between a member function and a method?

comment 6mo ago · link · parent

Why did you give up on Java and Rust?

comment 7mo ago · link · parent

Are there any local models that i can setup to run on my code as part of CI?

comment 8mo ago · link · parent

>And you blame Google for this

Why does google allow apps to access this info?

8.

Texas Instruments to Acquire Silicon Labs(ti.com ↗)

3 points · by 5d41402abc4b · 9mo ago · discuss

comment 10mo ago · link · parent

What was it that the Google founders said about not adding advertisements to Google search?

comment 10mo ago · link · parent

Can this X Ray bit flip memory or damage NAND?

comment 10mo ago · link · parent

If you have enough RAM, you can run Qwen A3B models on the CPU.

comment 10mo ago · link · parent

>But wait – the token= command ends up in the history again

If you prepend your command with a space, it will not be added to your shell history.

comment 10mo ago · link · parent

Which G0 part is this? Can you point me to one of these forum posts?

comment 10mo ago · link · parent

>rushed to market, fix the bugs later

I've yet to see a MCU vendor ship without bugs. At least with ST, the MCU is very cheap.

>USB controllers straight up doesn't enumerate with ARM Macs

I've seen USB devices struggling to enumerate on Mac/IOS devices before. This feels more like an Apple bug to me considering how they work very well on Linux, Windows and Android.

comment 10mo ago · link · parent

>why is that a problem

Supply chain attacks. There are also regulatory requirements to keep track of your tools.

comment 10mo ago · link · parent

>it can use your interrupt controller as a scheduler

Isnt' that how schedulers always work?

comment 10mo ago · link · parent

>the stm32 firmware hello world from cubeide caused temperature spikes due to spinning

That should never happen unless you are using a high end 1GHz+ MPUs.Check your GPIOs to make sure there are no shorts.

comment 10mo ago · link · parent

If it has async and concurrency isnt this an OS?

comment 10mo ago · link · parent

https://www.waveshare.com/esp32-s3-touch-lcd-4b.htm

This one is nice too, it has an enclosure. You could use this for a smart home dashboard. Be careful with the boards with two USB ports, they will backfeed power.

comment 10mo ago · link · parent

I would recommend getting a ST nucleo board over raspberry PICO or ESP32. The nucleo boards have integrated SWD programmer which makes flashing easier. You can also use it to debug your code. Try to get one with onboard USB port (like https://www.st.com/en/evaluation-tools/nucleo-f767zi.html) so that you can build USB projects.

comment 10mo ago · link · parent

>it finally feels like embedded is getting a toolchain that is actually modern and better

Last time i tried embassy, it pulled over 100 dependencies just to build a blinky. Its great for hobbyist programming but i doubt its going to be used in any industrial application any time soon.

comment 10mo ago · link · parent

> The flip side is that their errata is lengthy

Just like security bugs, lengthy errata doesn't mean anything. A popular MCU will have bigger errata sheet because it gets more eyes on it.

>documentation from STM is poorly organized and spread out over a zillion different documents

The spreading out over multiple documents is good organization. You don't want to combine your datasheet, reference manual and appnotes into one.

comment 10mo ago · link · parent

>Watchdogs exist on MCUs but also on some "proper" computers

All modern computers have watchdog. You can check your logs

`journalctl -b | grep watchdog`

https://access.redhat.com/articles/7129255

comment 10mo ago · link · parent

"Never do today what you can do tomorrow for tonight you might die" - Ajahn Brahm

25.

Software Based Memory Testing(esacademy.com ↗)

3 points · by 5d41402abc4b · 10mo ago · discuss

comment 11mo ago · link · parent

This could have been based on KDE's KTextEditor https://github.com/KDE/ktexteditor

comment 11mo ago · link · parent

>This assumes that the operating system can run.

You could have two copies of the OS mapped to different memory regions. The CPU would boot with the first copy, if it fails watchdog would trigger and the CPU could try to boot the second copy.

comment 11mo ago · link · parent

> Using the stack or the heap means your variables aren't always at the same memory address

Where do you place the variables then? as global variables? and how do you detect if a memory cell has gone bad?

comment 11mo ago · link · parent

>Charging batteries off of batteries can yield incredibly fast charge times

How?

123