Logging in local time is fine as long as the offset is marked. Everything else I agree with you though
Logging in local time is fine as long as the offset is marked. Everything else I agree with you though
At my work, we have a big Rails app with lots of tests
Of course they need a blog post to get test times down to something that’s already way too slow. Ruby and Rails are such a dumpster fires
Wtf. You can’t possibly be suggesting that any of this is a good idea
It’s because it’s hard to make them correct. It’s not any harder to write it in rust than in C. Just C lets you do it wrong
IE you can quickly and easily write C that compiles but has runtime issues.
So what’s “easy” about it then? Just getting something to compile? That’s not a very good measure of “easyness”.
How so? That’s like, the thing that makes rust awesome to write.
Coding is rust is amazing. It feels so right
Why not choose rust instead of C, then you can trivially write python bindings directly to your rust https://pyo3.rs/v0.21.0-beta.0
Yes Rust is harder to write than C
I would totally argue with this. Rust is way easier to write than C
I see, I guess I get the point they’re making. We can do iframe reloads based on clicks without javascript, why not div reloads. I think framing it as a way of doing this without javascript rather than without a framework would be clearer and a better argument
I’m confused. This is exactly what https://htmx.org/attributes/hx-target/ is for since they’re already using htmx. This doesn’t make sense to add to the html spec unless ajax requests themselves are added such that browsers will do this automatically. Which I don’t think anyone wants.
Making a change in 5 places sucks, making it in 2 could be reasonable. If 2 pieces of code are similar but different enough, I’ve seen way too often people try to force them into a common abstraction. That’s more what the article is about.
Use an IDE if you aren’t already. Jetbrains stuff is great. Having autocomplete is invaluable.
Careful with this. Not everything needs to be reusable, and copy/paste isn’t inherently bad.
Rust syntax is way closer to Python than go. Go’s syntax is awful imo. It’s like objective C
Oh are you talking about creating the object? Yeah I think you might get better answers in a TS thread, because that question and the response here makes no sense in most statically typed languages.
every user of the type must explicitly either use it or explicitly declare that it won’t
What? How does someone declare that they won’t use a type? What does that even mean?
Do you have an example use case that you’re trying to solve? What additional type are you adding that would break existing users usage? If that’s the case, maybe use an entirely different type, or change the class name or something
What language are you writing that you didn’t even think of this?
Any media that depicts children as sexual is promoting pedophilia
What a terrible take. The same way that violent video games promote violence and is harmful to children?
Children are not sexual
No children are involved
Catering to their fantasies emboldens them to act.
There is 0 evidence of this, and some evidence to the contrary. Having an outlet that involves 0 victims is beneficial. But even still, there are people that are into this that have 0 interest in actual children. Because it’s just a fantasy, the same way that people have rape fantasies.
You don’t lose info as long as the offset is marked correctly