alecthomas
There are propaganda machines directed at everyone.
> And no, I don’t think “my side” would be immune to a similar machine speaking the language we like to hear, but I just think that hasn’t happened (yet)
It seems incredibly naive to believe that propaganda in this age isn't utilised by all "sides". My base assumption for any information, particularly from mainstream media, is that it's biased one way or the other.
Show HN: Aim – AI-assisted verifiable SQL migration generator
https://github.com/alecthomas/aim
This is pretty fresh and definitely not battle tested, but seems to work pretty well in my local testing. Do NOT just blindly apply the output of this to a production database :)From the README:AIM creates two ephemeral databases: one by loading schema.sql (the desired state), and one by replaying all existing migrations (the current state). It dumps a stable, normalized DDL representation from...
> Go designers distinguish between Go language as defined by Go spec and implementation details. > //go:fix is something understood by a particular implementation of Go. Another implementation could implement Go without implementing support for //go:fix and it would be a fully compliant implementation of Go, the language. > > If they made it part of the syntax, that would require other implementations to implement it.
...I'm not sure I buy that argument TBH.
NPR, PBS Headlines in to End Taxpayer Subsidization of Public Broadcasting [video]
Show HN: "mk" – one-liner make rules on the command-line
https://github.com/alecthomas/mkVery handy in conjunction with Just to give you make-like functionality, eg. build-protos: @mk protos/myproto.pb.go protos/myproto.tsx : protos/myproto.proto -- protoc --gen_go=protos --gen_tsx=protos protos/myproto.proto PS. My one and only Rust project, so expect some odd code.
I think if you regularly use CoPilot to write entire functions or use its prompt mode, you will spend more time verifying its output is accurate than it would save writing the code manually. If instead, you use it iteratively via autocomplete to write small fragments of code, a line or two at a time, its trivial to verify its correctness, and it will save you a good 20-30 seconds at a time, adding up to large savings over time.
I exclusively do the latter, so I find it incredibly useful. The few times I've tried using the prompt mode, or comment-driven code generation, it's been very average or awful.
https://github.com/securego/gosec/blob/d3b2359ae29fe344f4df5...