Deutsch   English   Français   Italiano  
<vm19r9$1da38$10@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: The Natural Philosopher <tnp@invalid.invalid>
Newsgroups: comp.os.linux.misc
Subject: Re: Diversity - good or bad ?
Date: Sun, 12 Jan 2025 20:48:41 +0000
Organization: A little, after lunch
Lines: 39
Message-ID: <vm19r9$1da38$10@dont-email.me>
References: <c686fb74-4fac-0809-7005-417c76ee0e3b@example.net>
 <nbReP.633803$oR74.271654@fx16.iad>
 <2e17ec15-582f-5a71-84e5-d4d490274270@example.net>
 <vlj20k$25740$9@dont-email.me>
 <7454fa51-3534-2584-2197-90613efb2091@example.net>
 <XPSdnbpbLvJvxeL6nZ2dnZfqnPGdnZ2d@earthlink.com>
 <vloss6$3e1r9$5@dont-email.me> <vlp4pc$3fpg0$7@dont-email.me>
 <vlpc44$3h48e$4@dont-email.me> <vlqi4a$3sp5m$2@dont-email.me>
 <vlr2rm$3vgr7$7@dont-email.me> <slrnvo33ju.3npco.lars@cleo.beagle-ears.com>
 <9uo3ojpd83jm9ngmlhera3nvi00pl9ajeb@4ax.com>
 <oyWdnaZv_tC4mx_6nZ2dnZfqn_udnZ2d@earthlink.com>
 <luejbaFhoeeU1@mid.individual.net>
 <nsacnSBef6vh5B_6nZ2dnZfqn_qdnZ2d@earthlink.com>
 <lug0caFotnoU1@mid.individual.net>
 <3w-dnT3j2Mwylx76nZ2dnZfqnPadnZ2d@earthlink.com>
 <lugm54FrutbU3@mid.individual.net>
 <6eKdnbL_nY56qR76nZ2dnZfqnPidnZ2d@earthlink.com>
 <luh732F519U1@mid.individual.net> <vm07u4$140hv$10@dont-email.me>
 <luio0cF7krmU4@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 12 Jan 2025 21:48:42 +0100 (CET)
Injection-Info: dont-email.me; posting-host="2f926649ad379acaad6b98eb2a7a7167";
	logging-data="1484904"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19PluZNsrN6YHToqTTL61uILO+6g2+cd5k="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:2303Njuh3cLiErd4xUCAy44uTuY=
Content-Language: en-GB
In-Reply-To: <luio0cF7krmU4@mid.individual.net>
Bytes: 3180

On 12/01/2025 20:46, rbowman wrote:
> On Sun, 12 Jan 2025 11:09:56 +0000, The Natural Philosopher wrote:
> 
>> GPIO on a PI under linux is a breeze.
> 
> I was surprised. It has limits compared to a Pico since the machine does
> have other tasks to perform rather than being dedicated.
>   
>> Picos are not bad either.
>>
>> The Pico is an adventure to get anything going without using the ghastly
>> python, which is slow and limited
> 
> It depends on the application. For many things Python is perfectly fine.
> You need the ability to determine when it isn't and act accordingly.
> MicroPython or CircuitPython abstracts away much of the low level cruft.
> otoh working with the C SDK is like building a wall a brick at a time.
> 
> 
> 
I wanted my picos to show up in my routers DHCP tables as something 
other than whatever is the default. Python could not do it. C could.

static void set_hostname(char * hostname)
	{
	struct netif *n;
	// set hostname
	cyw43_arch_lwip_begin();
	n = &cyw43_state.netif[CYW43_ITF_STA];
	netif_set_hostname(n, hostname);
	netif_set_up(n);
	cyw43_arch_lwip_end();
	// end set hostname	
	}
-- 
Canada is all right really, though not for the whole weekend.

"Saki"