this works for actual compiled code. no vm, no runtime, no interpreter, no container. native compiled machine code. just download and double-click, no matter which OS you use.
2,623 karma · joined October 17, 2016
email: wbar8417 at gmail
posts i've saved: https://gist.github.com/woodrowbarlow/daa7e7efb86bb1a441a21104f8ab31fe
this works for actual compiled code. no vm, no runtime, no interpreter, no container. native compiled machine code. just download and double-click, no matter which OS you use.
it's like self-driving cars -- if we had a dedicated separate road network just for self-driving cars, and required that they all communicate with standard protocols, then we'd have self-driving cars by now -- but that's not actually the goal of FSD. the goal is to have cars that can use existing infrastructure and co-exist with human drivers.
> It's not just a one character difference, it's a different type. So `db.execute` can reject strings both statically and dynamically.
in this case, that's not actually helpful because SQL statements don't need to have parameters, so db.execute will always need to accept a string.
related: you can also create wireshark dissectors from ASN.1 files
https://www.wireshark.org/docs/wsdg_html_chunked/ASN1StepByS...
sidebar: i've been trying to raise awareness about "joint communications and sensing" wherever i can lately; many companies involved in 6G standardization (esp. nokia) want the 6G network to use mmWave radio to create realtime 3d environment mappings, aka a "digital twin" of the physical world, aka a surveillance state's wet dream.
https://www.nokia.com/blog/building-a-network-with-a-sixth-s...
1. ID checks are not the same as age verification.
2. a social media website is not the same as a porn website.
if you take the stance that social media sites should require ID verification, then i would furthermore point out that this is likely to impact any website that has a space for users to add public feedback, even forums and blogs.
so, yes, i agree learning zig is a great idea for new independent projects but (at the current stage) be prepared to also learn at least enough about C to use C libraries (return type conventions, raw enums, c-style strings, inflexible allocators).
- Stephen Hawking
the problem is that mozilla also seems to be boiling the frog right now.
disagree. having the data in a simple format makes it syncable, trackable, and guarantees that even if you don't have access to the software you're used to, you can always edit it by hand as long as you can access the file.
you can build some software on top of it; or better yet, build sync plugins for existing software, and benefit from nicer UX without giving up the benefits.
from Linus:
> You are not forced to take any Rust code, or care about any Rust code in the DMA code. You can ignore it. [...] So when you change the C interfaces, the Rust people will have to deal with the fallout, and will have to fix the Rust bindings.
sounds like it's structured as a downstream user to me.
not sure if this is exactly what you meant, but in Zig you can #include a C header and then "just" invoke the function. no special FFI syntax or typecasting (except rich enums and strings). it can produce compatible ASTs for C and Zig.
i sound like a conspiracy nut every time i bring this up, but wireless-networks-as-a-sensor seems unavoidable. there simply is no way to keep improving wireless transmitters without also increasing their environmental awareness and therefore leaking data about physical spaces. even simpler networks like wifi will dynamically adapt channels, frequencies to optimize speeds and it turns out you can extrapolate a lot from that [3]. advanced networks with features like beamforming are even more responsive to their environment and therefore more leaky. we're making accidental cameras, and they can see through walls.
it seems like this is going to be a "feature" of 6G mobile networks. read up on "joint communications and sensing" to find research in this area. (it's not just nokia.)
[1] https://www.nokia.com/blog/building-a-network-with-a-sixth-s...
[2] https://www.nokia.com/about-us/newsroom/articles/nokias-visi...
[3] https://news.ucsb.edu/2023/021198/wifi-can-read-through-wall...