HNHacker News
TopNewBestAskShowJobs

woodrowbarlow

2,623 karma · joined October 17, 2016

embedded systems developer near raleigh, nc.

email: wbar8417 at gmail

posts i've saved: https://gist.github.com/woodrowbarlow/daa7e7efb86bb1a441a21104f8ab31fe

submissionscomments
woodrowbarlow··on docker2exe: Convert a Docker image to an executable
https://justine.lol/ape.html -- αcτµαlly pδrταblε εxεcµταblε

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.

woodrowbarlow··on Show HN: My AI Native Resume
it's adapting the world (well, internet) to suit the model rather than the other way around -- to the point where there is a growing amount of content on the internet designed exclusively for machine consumption at the expense of direct human consumption.

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.

woodrowbarlow··on Converting a Git repo from tabs to spaces (2016)
`git blame -w` ignores whitespace-only changes, for what it's worth.
woodrowbarlow··on Show HN: I built a hardware processor that runs Python
with embedded scripting languages (including lua and micropython) the CPU is running a compiled interpreter (usually written in C, compiled to the CPU's native architecture) and the interpreter is running the script. on PyXL, the CPU's native architecture is python bytecode, so there's no compiled interpreter.
woodrowbarlow··on Python's new t-strings
nitpicking:

> 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.

woodrowbarlow··on A New ASN.1 API for Python
neat!

related: you can also create wireshark dissectors from ASN.1 files

https://www.wireshark.org/docs/wsdg_html_chunked/ASN1StepByS...

woodrowbarlow··on Discord's face scanning age checks 'start of a bigger shift'
yup, and this gives the ability to look up per-citizen location data.

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...

woodrowbarlow··on Discord's face scanning age checks 'start of a bigger shift'
there two false equivalencies in your argument, as presented in response to GP:

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.

woodrowbarlow··on Discord's face scanning age checks 'start of a bigger shift'
<tin-foil-hat> ultimately, i think the endgame is to require government ID in order to access internet services in general, a la ender's game. </tin-foil-hat>
woodrowbarlow··on How University Students Use Claude
my partner teaches high school math and regularly gets answers with calculus symbols (none of the students have taken any calculus). these students aren't putting a single iota of thought into the answers they're getting back from these tools.
woodrowbarlow··on Middle-aged man trading cards go viral in rural Japan town
i think it would be interesting to allow each Ojisan to be in charge of distribution. some would freely hand out their cards to any who ask, while some might be more "stingy", awarding cards only to youth who impressed them. the game designer could periodically restock the Ojisan's supply and each generation of cards could be mechanically rebalanced to reflect the observed rarity.
woodrowbarlow··on Writing C for Curl
ahh, ideally i'd say learning them in any order is fine but unfortunately since the zig ecosystem is not mature yet that means you'll find yourself using C libraries from zig fairly often.

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).

woodrowbarlow··on Writing C for Curl
Zig is friendly for soft-transitions because the compiler can compile C code. you can use Zig tooling for a C codebase, and then slowly add Zig code where it makes the most sense.
woodrowbarlow··on Samsung CEO Jong-hee Han has died
on the flipside -- avoiding unhealthy things, especially environmental health factors like carcinogens and microplastics, often requires a certain level of wealth.
woodrowbarlow··on Bigscreen Beyond 2
pretty ironic for a product called bigscreen
woodrowbarlow··on AMD's Strix Halo under the hood
i feel like high-end mini-ITX builds only became viable a few years ago with the introduction of 700W+ SFX PSUs.
woodrowbarlow··on Switching from Pyenv to Uv
standardizing pyproject.toml helped but it didn't go quite far enough.
woodrowbarlow··on Does Visual Studio Rot the Mind? (2005)
my version of this was "do convenient linux distros and binary package managers rot the mind?" after setting up a freebsd box with everything built from source and everything configured by hand. then again from building an arch-based Linux system from the wiki. you learn a lot from doing things by hand... but eventually you need to get stuff done.
woodrowbarlow··on Skynet won and destroyed humanity
> In short, the advent of super-intelligent AI would be either the best or the worst thing ever to happen to humanity. The real risk with AI isn’t malice, but competence. A super-intelligent AI will be extremely good at accomplishing its goals, and if those goals aren’t aligned with ours we’re in trouble. You’re probably not an evil ant-hater who steps on ants out of malice, but if you’re in charge of a hydroelectric green-energy project and there’s an anthill in the region to be flooded, too bad for the ants. Let’s not place humanity in the position of those ants.

- Stephen Hawking

woodrowbarlow··on What, if anything, should I do about using Mozilla's Firefox
> GOOG dropped the slogan "Don't Be Evil" -- I cordially invite all relaxing frogs to speculate about future increases to the water temperature.

the problem is that mozilla also seems to be boiling the frog right now.

woodrowbarlow··on Calendar.txt
> You could build a client on top of that but then, you lose the benefit.

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.

woodrowbarlow··on Marek has graciously offered to maintain the dma-mapping tree
Hellwig controls the DMA code. The Rust bindings use the DMA code. Hellwig is free to change the DMA code without considering whether or not it breaks the rust bindings. the rust bindings are not his problem, nor does he need to start maintaining any rust code.

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.

woodrowbarlow··on Marek has graciously offered to maintain the dma-mapping tree
exactly; and i think Hellwig is on the wrong side of free software philosophy on this point. the fundamental philosophical core of free software is that the downstream user must be empowered to use the software as they see fit.
woodrowbarlow··on Ask HN: A retrofitted C dialect?
> source-level compatibility with C

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.

woodrowbarlow··on 'Impossible-to-hack' security turns out to be no security
why is the author obligated to use a professional tone?
woodrowbarlow··on Fly To Podman: a script that will help you to migrate from Docker
on windows, rancher desktop + podman offers a similar experience to docker desktop.
woodrowbarlow··on Suckless.org: software that sucks less
dwl is a great wayland port of dwm, maintains the original philosophy well
woodrowbarlow··on Linus on Rust and the Kernel DMA Layer
logistically, how would this work in a monorepo? if you merge an API change and don't fix downstream users, isn't the build broken for everyone? or is there a deprecation process where the old API remains functional for a period?
woodrowbarlow··on Bill prohibiting police from lying to children passes Virginia Senate
to be more precise, we're heading into a world where the radio signals blanketing our planet will be leveraged as a realtime omniscient surveillance field. [1][2]

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...

woodrowbarlow··on Bill prohibiting police from lying to children passes Virginia Senate
i will not, but thank you for your concern.
← PreviousPage 5 of 28Next →