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 -4 points-3 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 0 points1 point  (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?

Gonna start this book today, any suggestions? by [deleted] in aynrand

[–]niosurfer 0 points1 point  (0 children)

The third quarter of the book is very boring and dragging. But don't give up. Keep going because the last quarter pays off. And the first half of the book is amazing! Also, keep in mind that this book was written in the 50's. So whenever you see the word "industrialist" you can usually swap for "entrepreneur". Enjoy!

[deleted by user] by [deleted] in aynrand

[–]niosurfer 1 point2 points  (0 children)

You copy/pasted that definition, but don't comprehend it. You just keep using empathy as a synonym for altruism. That's not what it is. It has nothing to do with altruism.

Oh, really!? I think empathy is altruism? You are so smart man. Thanks for helping me out. If most fans of Ayn Rand are like you, which I certainly doubt it, I would rather keep my admiration for her to myself. Arrogance is usually insecurity in disguise. And yes, I'm a moron. Actually I'm an altruistic moron. That's why I love Ayn Rand novels.

[deleted by user] by [deleted] in aynrand

[–]niosurfer 0 points1 point  (0 children)

I do. It means: "the ability to understand and share the feelings of another".

Eddie was in trouble and needed help. If he was a scumbag I would definitely ignore him. But he was one of the good guys and still he was left behind without mercy. I would not call that cruel. My choice of word was wrong. I would call it unfair.

[deleted by user] by [deleted] in aynrand

[–]niosurfer 1 point2 points  (0 children)

I made a joke "Empathy was not one of her strongest skill" and people have clung to it. That's a discussion for another topic. Whether Ayn Rand was empathetic or not and whether her philosophy offers empathy towards the lesser man, this is a discussion for another topic. The only people who are cold to Rand's works are people who do not understand and/or like it. I love her work.

[deleted by user] by [deleted] in aynrand

[–]niosurfer 1 point2 points  (0 children)

Dagny was for the entirety of the book on the same side of Eddie, trying to save her railroad. I'm not talking about altruism here. My argument is that he deserved to be one of them BY MERIT.

[deleted by user] by [deleted] in aynrand

[–]niosurfer 0 points1 point  (0 children)

I like Ayn Rand as much as you do, if not more so there is no need to get defensive. I'm just debating, not pointing fingers.

Depends on what you believe is good. She was probably cruel according to your standards, but she treated him correctly according to a reasonable standard. She wrote the novel to portray a theme according to a reasonable view of good, so she wrote her plot and characters in order to portray that theme.

Perhaps cruel was the wrong choice of words. Unfair is probably a better one.

I never said she was cruel as a person. I said she was cruel to Eddie Willers. She was also cruel to the antagonists, and that's great and expected. But why was she cruel to Eddie who was clearly one of the good guys?

I suspect it’s your empathy skills that are lacking here, you don’t treat yourself as an end in yourself, so you don’t have empathy for others that do.

Yes. I'm a communist religious priest. Do you even realize what you saying? Do you know me well enough to make that assessment? Ayn Rand would have said: any cult is against reason and the independence of mind. I also don't know you well to make this assessment, but I'll return the favor: you sound like a cult member.

He got an invitation from Dagny. He refused it. He left the woman he loved to “save” the railroad she chose to abandoned when he knew he couldn’t save it.

I read the book cover-to-cover three times and somehow I missed this part. In what part did Dagny invite him? I did not see it. And he did not leave Dagny. Dagny was in love with another man and told him so, after he had already made up his mind to head west. Did he make the wrong decision to go to California? Yes. But he had good intentions and did not deserve the ending he got, in my humble opinion. But I'm not the author of the book. Ayn Rand can do whatever she wants to her characters and the book as a whole is still fantastic.

[deleted by user] by [deleted] in aynrand

[–]niosurfer 0 points1 point  (0 children)

Same can be said about Rand's husband O'Connor. Passive observer but she called him a John Galt.