Better HN
topnewbestaskshowjobs
Log inSign up

Serow225

1,355 karma · joined Feb 1, 2013 (13y ago) · 455 submissions

Back-end/Distributed Software Engineer in Minneapolis Minnesota, with a background in Control Systems. Twitter: @evntdrvn Email: eric+hn @ evntdrvn.com

[ my public key: https://keybase.io/erics; my proof: https://keybase.io/erics/sigs/TrWi8GM4oEOpxCK3ryal0MIVE9fFCSFHjdvKMwGWJ8I ]

Submissions

comment 3y ago · link · parent

It is interesting. When I was learning, I found “mut” way more confusing because it is less precise (it’s one level of abstraction higher, mixes “usual intent/goal” with “what does this keyword do”) so it added an extra layer that I had to mentally back out/elide every time I read the keyword.

comment 3y ago · link · parent

I worked at the company that makes MATLAB, and the majority of engineers there ran it that way lol.

comment 3y ago · link · parent

You can run it headless but with JVM, that’s pretty much the actual usable equivalent now.

comment 3y ago · link · parent

I kinda wish it had ended up with something like 'exc` for exclusive, or one of the options you mentioned. I think it would have made things easier for people to learn a helpful mental model.

comment 3y ago · link · parent

<3

comment 3y ago · link · parent

Now I'm interested to make the chart to compare that list to C#, given the common Erik influence/heritage :) It has IAsyncEnumerable now

comment 3y ago · link · parent

Absolutely true re evolution. That's why it would have to probably be crate keywords rather than categories, I'm thinking.

This whole space about encoding library non-technical aspects like intent and status seems like it has a lot of possibilities. I wonder if there's prior art in other language ecosystems?

comment 3y ago · link · parent

There is one tangential thing that I’ve thought about before—it would be nice if there was some way to encode this into the library ecosystem (ie crates.io) I have no idea how this would be realistically possible though—it’s pretty clear that you can rely on categories that are statically verifiable like “no-std/no-alloc”. But what mechanism could be used to allow library consumers to distinguish between things like “laser focus on high perf/low-alloc” vs “prioritizes API over perf-at-all-costs” vs “this package is an experiment/Baby’s First Crate/shitpost” ?? They’re all valid choices for different consumers or usecases.

comment 3y ago · link · parent

my interpretation of the “clone is the way to go” comment is that it’s in the context of the OP saying “I haven't written much Rust…”, which puts a pretty clear frame around the intended applicability of the statement no? I don’t taking it at all as being an absolute statement.

comment 3y ago · link · parent

I've never had the pleasure(ha) of using SSIS, but this is the stuff that I was talking about: https://learn.microsoft.com/en-us/dotnet/framework/data/adon...

comment 3y ago · link · parent

Another is MS SQL Server, which lets you run .NET on the database server :D "you can author stored procedures, triggers, user-defined functions, user-defined types, and user-defined aggregates in managed code"

comment 3y ago · link · parent

talking 20-40deg off-axis can help.

The old “pencil trick” can be highly effective, even with good mics: https://urm.academy/death-to-sibilance/

comment 3y ago · link · parent

Thanks! I missed seeing that on your site.

comment 3y ago · link · parent

how is it different than `kind` ?

comment 3y ago · link · parent

> I can't imagine sitting and stepping through in a debugger 100+ times in the hopes that maybe this time, it will be the run that's just different enough to trigger the bug

Isn’t that where things like breakpoint conditions, data breakpoints (“break whenever X value/field changes”), and dependent breakpoints, work pretty dang well? You just set up the appropriate situation and let it run until it breaks

comment 3y ago · link · parent

Thanks! Maybe it would be worth adding a docs example of a proper GH workflow using Depot?

It’s a decent option, but it’s still more complicated (multiple vendors, configuration, etc)

You know what, it could be really nice if y’all could create a simple Depot GH Action that would make things more efficient (for example pass in the repo token so that Depot could pull the repo vs first pulling it from GH into the workflow runner and then ship it over Depot)

comment 3y ago · link · parent

Any chance of offering GitHub Runners as a tweak of the underlying “hard parts”? I’ve had really good luck with this type of offering from BuildJet, except that they don’t offer any ability to have persistent volume between runners. So all of our builds are fast _except_ the ones that build containers, but it’s too much of a pain to have some stuff in GitHub Actions with 3rd party hosted runner and then a totally different system for container builds/test workflows.

comment 3y ago · link · parent

https://mappinggenerator.net , it's great

comment 4y ago · link · parent

I came to similar conclusions. Tide is IMO the most ergonomic, but its future is unclear in terms of community/maintenance. Its choice to use async-std ended up kind of biting it, since projects have by and large chosen tokio. I have hope for the eventual “swappable async runtimes” initiative, but it’s probably going to be too late to help in these regards.

comment 4y ago · link · parent

Does anyone have a comparison with Darklang/ecosystem and it's goals? Some of the things mentioned sound similar, at a high level.

comment 4y ago · link · parent

The JetBrains IDEs can do this, at least for .NET

comment 4y ago · link · parent

via the magic of Anycast :)

comment 4y ago · link · parent

I’m excited to get some more Rust docs!

Even just a pointer to serde ::from_value(value).unwrap(), and <TheType as Deserialize>::deserialize(value), would be helpful to get people pointed in the right direction.

Looks like a super cool project, congrats!

comment 4y ago · link · parent

https://www.overcomingbias.com/2021/02/humans-are-early.html

comment 4y ago · link · parent

SSHuttle was created by the CEO/co-founder of Tailscale :)

comment 4y ago · link · parent

The model they describe is pretty much exactly how .NET Azure Functions works. (which is however currently switching to a slightly different hosting model)

but that wouldn't bring in VC money lol

comment 4y ago · link · parent

They are now, but IIRC that was not previously the case.

comment 4y ago · link · parent

yes, the OAuth scopes are way way too coarse. Even to the point of not being able to separate readonly vs R/W.

GitHub apps are indeed noticeably better. But that doesn’t always help

comment 4y ago · link · parent

I’d love to hear that too :)
12345
16