HackerTrans
TopNewTrendsCommentsPastAskShowJobs

rhooke

no profile record

Submissions

Getting the ^D

owengage.com
1 points·by rhooke·قبل 3 سنوات·1 comments

comments

rhooke
·قبل 3 سنوات·discuss
Author here. You're correct. I've added a footnote to that part now. I think it still illustrates the point so I've left the main text alone.
rhooke
·قبل 3 سنوات·discuss
I recently nerd-sniped myself by asking what pressing Ctrl-D in a terminal really does. This is the result of several weeks of obsession.
rhooke
·قبل 5 سنوات·discuss
Imperative version can fill more dynamic use cases, like spinning up entire servers in response to something (eg user wants to create a game server at the click of a button).

Not something you can easily do with the declarative version.
rhooke
·قبل 5 سنوات·discuss
I enforce formatters wherever possible after working on codebases with 20+ years of people imposing their own unique opinion on where spaces and braces should go. Worse, arguing about what the spacing should be, and making noisy diffs because people change previous peoples styling.

The formatter has no opinion. It follows rules. It doesn't work perfectly everywhere. It works enough. I would argue caring about exact bespoke spacing of all code is the perfectionism you mention.
rhooke
·قبل 5 سنوات·discuss
I'm not sure what you mean by a build cache, does sccache suit?

https://github.com/mozilla/sccache
rhooke
·قبل 5 سنوات·discuss
Agreed. Microbenchmarking can be detrimental if you don't verify with some 'macro' benchmarking with realistic use cases.

And tracking the right metrics!
rhooke
·قبل 5 سنوات·discuss
A lot of the work I do recently has been using devcontainers in VSCode [1]. They even have a Rust sample one. I feel like this would provide at least a little bit of protection against this kind of attack if you do not mount any imporant stuff into the container.

I can't see a robust solution to this, though.

[1] https://code.visualstudio.com/docs/remote/containers
rhooke
·قبل 5 سنوات·discuss
What makes you think that will happen? A lot of young people I know seem to understand just as little about computers as the older ones, on average.

Younger people use technology a lot, but what is being used tends to require much less understanding of any of the underlying tech. The level of abstraction is a lot higher now.
rhooke
·قبل 5 سنوات·discuss
These restrictions are only for the SES sandbox mode. You fill in a form to get out of sandbox mode and then you can send many more per day (still only 14/second or so).

You only verify addresses you want to send from (for testing you might verify one to try sending to as per the sandbox rules). You wouldn't get customers to verify their addresses here, as that would let you send email on their behalf.

See here: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/reques...