News for hackers. Stuff that matters.

Serow225

Re:Getting Past “Ampersand-Driven Development” in Rust on Saturday March 11, 2023 @12:25PM (#35110472)
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.
Re:GNU Octave 8.1 on Saturday March 11, 2023 @12:18PM (#35110395)
I worked at the company that makes MATLAB, and the majority of engineers there ran it that way lol.
Re:GNU Octave 8.1 on Saturday March 11, 2023 @12:16PM (#35110369)
You can run it headless but with JVM, that’s pretty much the actual usable equivalent now.
Re:Tesla puts a ‘dummy’ camera in its new vehicles on Thursday March 09, 2023 @07:54PM (#35089090)
wut
Re:Getting Past “Ampersand-Driven Development” in Rust on Thursday March 09, 2023 @01:43PM (#35084949)
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.
Re:The Registers of Rust on Wednesday March 08, 2023 @04:15PM (#35074820)
<3
Re:The Registers of Rust on Wednesday March 08, 2023 @04:11PM (#35074785)
Now I'm interested to make the chart to compare that list to C#, given the common Erik influence/heritage :) It has IAsyncEnumerable now
Re:The Registers of Rust on Wednesday March 08, 2023 @04:06PM (#35074715)
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?

Re:The Registers of Rust on Wednesday March 08, 2023 @02:34PM (#35073682)
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.
Re:The Registers of Rust on Wednesday March 08, 2023 @02:19PM (#35073494)
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.
Re:Stochastic gradient descent written in SQL on Tuesday March 07, 2023 @05:32PM (#35062232)
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...
Re:Stochastic gradient descent written in SQL on Tuesday March 07, 2023 @11:27AM (#35057244)
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"
Re:Oxide and Friends – Rack-scale Networking [audio] on Thursday March 02, 2023 @07:18PM (#35003996)
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/

Thanks! I missed seeing that on your site.
Re:Blog: KWOK: Kubernetes WithOut Kubelet on Tuesday February 28, 2023 @11:48PM (#34978886)
how is it different than `kind` ?
Re:The Missing Semester of Your CS Education on Saturday February 25, 2023 @03:17PM (#34940015)
> 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

Re:Launch HN: Depot (YC W23) – Fast Docker Images in the Cloud on Thursday February 23, 2023 @11:04AM (#34912272)
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)

Re:Launch HN: Depot (YC W23) – Fast Docker Images in the Cloud on Wednesday February 22, 2023 @07:49PM (#34905325)
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.
Re:Migrating from Warp to Axum on Wednesday November 23, 2022 @10:59AM (#33720840)
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.
Does anyone have a comparison with Darklang/ecosystem and it's goals? Some of the things mentioned sound similar, at a high level.
Re:Making a Go program 70% faster with a one character change on Monday November 14, 2022 @01:18PM (#33598413)
The JetBrains IDEs can do this, at least for .NET
Re:Stop using low DNS TTLs (2019) on Wednesday November 09, 2022 @10:49AM (#33533296)
via the magic of Anycast :)
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!

Re:Making an SSH client the hard way on Thursday October 27, 2022 @07:26PM (#33365424)
SSHuttle was created by the CEO/co-founder of Tailscale :)
Re:Rethinking Virtualization for Backends on Thursday October 27, 2022 @03:55PM (#33363123)
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

They are now, but IIRC that was not previously the case.
Re:Plans to Re-enable the GitHub Integration on Wednesday May 25, 2022 @09:15PM (#31513082)
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

I’d love to hear that too :)

Older »