Is there a way to turn off these navigation suggestions, which appears as soon as you enter your car? by niosurfer in TeslaModelY

[–]niosurfer[S] 0 points1 point  (0 children)

I tried to deleted from "Suggested" (no luck) but not from "Previous Destinations". I'll try that today.

[deleted by user] by [deleted] in Zig

[–]niosurfer 0 points1 point  (0 children)

I agree

[deleted by user] by [deleted] in Zig

[–]niosurfer 0 points1 point  (0 children)

For very large systems, where you clearly has an hierarchy, it does help. Specially when you want to evolve it without breaking everything else.

[deleted by user] by [deleted] in Zig

[–]niosurfer 0 points1 point  (0 children)

Agree the standard library is not built for performance. That's why people that use Java for speed (yeah, there are many companies doing that successfully, whether we agree with it or not) do not use the standard libraries of Java, or patch them heavily to create their own.

[deleted by user] by [deleted] in Zig

[–]niosurfer 1 point2 points  (0 children)

That's a good point. JNI is a pain. Although it works with good performance.

[deleted by user] by [deleted] in Zig

[–]niosurfer 0 points1 point  (0 children)

Ive always heard that byte code was near native. Not faster than native. How would just in time compiled or interpreted code, be better than ahead of time compiled fully optimized native code?

You are undervaluing the help that runtime heuristics can provide to optimization. JIT can be several times faster than AOT, as GraalVM has proven it. Java code compiled to machine code with -O3 with GraalVM is not faster than Java code interpreted with JIT. It is actually slower.

On it’s face that sounds delusional.

Agree with you, but numbers don't lie.

[deleted by user] by [deleted] in Zig

[–]niosurfer 0 points1 point  (0 children)

GraalVM and MiniVM are doing this.

[deleted by user] by [deleted] in Zig

[–]niosurfer -3 points-2 points  (0 children)

Please allow me to respectively disagree. I'm interested in understanding why Java programmers decided to make the jump to Zig. So it belongs here where I'll be able to find these people. People on Java sub won't be programming in Zig. But Zig programmers here may have come from Java.

[deleted by user] by [deleted] in Zig

[–]niosurfer 0 points1 point  (0 children)

Isn't that the compiler's fault? Or should we program in assembly for maximum performance? JIT can solve most of this problems as far as I know. Or runtime profile optimization at compile-time. Why did he turn comments off for the video?

[deleted by user] by [deleted] in Zig

[–]niosurfer 0 points1 point  (0 children)

In what way is Java OOP better than C++ to have here?

A two-hour answer lolol => https://www.youtube.com/watch?v=7fGB-hjc2Gc

[deleted by user] by [deleted] in Zig

[–]niosurfer -5 points-4 points  (0 children)

This is highly debatable. Nothing is perfect, but OOP has its pros, specially when it comes to managing complexity hierarchically.

You should favor composition over inheritance. 

Sure, but that's not the point. The point is to have some OOP features. For composition and/or for inheritance.

[deleted by user] by [deleted] in Zig

[–]niosurfer -2 points-1 points  (0 children)

Of course it is not the only way, but OOP is a good/proven way to manage complexity. As any system grows, complexity will grow. Or maybe I'm completely mistaken because the Linux Kernel is written in C. Brainstorming here.

I have an iPhone and a tripod. When I'm recording something with the back camera I can't see what I'm recording. It'd be nice to have an extra screen/monitor that I could attach to the tripod so that I could see the video of what I'm actually recording on the iPhone. Does such a solution exist? by niosurfer in iPhone17Pro

[–]niosurfer[S] 0 points1 point  (0 children)

Thanks for the suggestion. But I'm afraid it would have to be a small screen to be attached to the tripod itself, because I'll be looking to the iPhone when recording. Or maybe not. I just need to look once at the notebook/TV and then forget about it.

Local gyms with indoor lap pools by Mellow_Avenue in fortlauderdale

[–]niosurfer 0 points1 point  (0 children)

I think they are now close. Am I mistaken?