I understand now.
Notices by Stephen Brooks 🦆 (sjb@mstdn.io)
-
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Friday, 28-Mar-2025 07:55:13 JST Stephen Brooks 🦆
-
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Saturday, 15-Mar-2025 18:48:01 JST Stephen Brooks 🦆
1 inch aperture Halbach dipole #magnet made of off-the-shelf permanent magnet cuboids and a 3D printed holder. This has a central field of 0.34 Tesla, would be 0.5 Tesla with more longitudinal slices. #physics #accelerators
-
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Sunday, 09-Mar-2025 16:19:41 JST Stephen Brooks 🦆
#ESP32 backdoor. #security
https://www.bleepingcomputer.com/news/security/undocumented-backdoor-found-in-bluetooth-chip-used-by-a-billion-devices/ -
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Friday, 07-Mar-2025 11:38:16 JST Stephen Brooks 🦆
@splitshockvirus Add livestreaming to Starnix so we can watch you play truck simulation for 18 hours.
In conversation from mstdn.io permalink -
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Wednesday, 05-Mar-2025 07:45:49 JST Stephen Brooks 🦆
Scientists aiming to bring back woolly mammoth create woolly mice.
https://www.theguardian.com/science/2025/mar/04/genetically-modified-woolly-mice-mammothIn conversation from mstdn.io permalink Attachments
-
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Wednesday, 05-Mar-2025 07:44:15 JST Stephen Brooks 🦆
Europe spending a bit more on defence could go a long way given their population and GDP are larger than Russia:
https://fredblog.stlouisfed.org/2022/03/comparing-russia-and-the-european-union-gdp-and-population/In conversation from mstdn.io permalink Attachments
-
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Sunday, 02-Mar-2025 09:48:41 JST Stephen Brooks 🦆
Europa Clipper flew by Mars for gravity assist today. #space #NASA
RT https://x.com/EuropaClipper/status/1895896076496089505In conversation from mstdn.io permalink Attachments
-
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Tuesday, 25-Feb-2025 08:30:06 JST Stephen Brooks 🦆
In conversation from mstdn.io permalink Attachments
-
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Sunday, 16-Feb-2025 02:43:55 JST Stephen Brooks 🦆
@tedu @wolf480pl Never mind I thought it was this, in which optimisation might avoid a segfault completely:
int bar(struct foo *p) {
int py = p->y;
if (!p) {
return 0;
}
return py;
}In conversation from mstdn.io permalink -
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Sunday, 16-Feb-2025 02:43:55 JST Stephen Brooks 🦆
@tedu @wolf480pl My guess would be segfault, unless you optimise, in which case it'll put the calculation of py after the "if (!p)" thing and it'll work fine.
In conversation from gnusocial.jp permalink -
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Sunday, 16-Feb-2025 02:43:53 JST Stephen Brooks 🦆
@wolf480pl @tedu I dunno about that. On older systems like DOS, *(int *)0 was valid and just read low memory.
In conversation from mstdn.io permalink -
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Sunday, 16-Feb-2025 02:43:52 JST Stephen Brooks 🦆
@wolf480pl @tedu I don't think so. In fact I think I read an article saying NULL could be non-zero in certain implementations of <stdlib.h>! So properly you should do "if (p==NULL)" not "if (!p)".
In conversation from mstdn.io permalink -
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Sunday, 16-Feb-2025 02:43:51 JST Stephen Brooks 🦆
@wolf480pl @tedu In the original C, NULL was just macro in <stdlib.h>, nothing more. C++ has "nullptr" which I believe comes with extra semantics.
In conversation from mstdn.io permalink -
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Tuesday, 21-Jan-2025 05:33:45 JST Stephen Brooks 🦆
For British citizens - you can sign this petition asking to stop companies disabling video games people have already bought.
#UK #gaming
https://petition.parliament.uk/petitions/702074/In conversation from mstdn.io permalink Attachments
-
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Monday, 20-Jan-2025 05:19:37 JST Stephen Brooks 🦆
@Inginsub 🔫🐵
In conversation from mstdn.io permalink -
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Monday, 13-Jan-2025 10:59:04 JST Stephen Brooks 🦆
Growing lettuce on the ISS.
#space #NASA
https://www.nasa.gov/missions/station/iss-research/space-gardens/In conversation from mstdn.io permalink Attachments
-
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Friday, 10-Jan-2025 17:20:04 JST Stephen Brooks 🦆
In conversation from mstdn.io permalink Attachments
-
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Monday, 30-Dec-2024 23:30:22 JST Stephen Brooks 🦆
Noticing articles that are 90% introduction and then end with "So what do we know about <article title>? Well, it's still a mystery."
In conversation from mstdn.io permalink -
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Wednesday, 18-Dec-2024 10:52:19 JST Stephen Brooks 🦆
@splitshockvirus Do you only have one IP address to choose from?
In conversation from mstdn.io permalink -
Embed this notice
Stephen Brooks 🦆 (sjb@mstdn.io)'s status on Wednesday, 18-Dec-2024 10:52:18 JST Stephen Brooks 🦆
@splitshockvirus Ah! I can see how that would be annoying, not sure how they expect people to work around that (other than having the ISP's technician install the router).
In conversation from mstdn.io permalink