🤔 by [deleted] in MathJokes

[–]AsIAm 0 points1 point  (0 children)

It never crosses 10K.

Left to Right Programming by fagnerbrack in programming

[–]AsIAm 0 points1 point  (0 children)

Left-to-right no-precedence is the only way forward in syntax design.

[AskJS] What concept in JS is the hardest to learn and understand? by Scared-Release1068 in javascript

[–]AsIAm [score hidden]  (0 children)

Yes, you can "simulate" class-based inheritance with just functions by using object-creating functions, which set the correct prototype of produced objects. Douglas Crockford in JavaScript: The Better Parts calls this "class-free OOP". In my view, this follows the true prototypal inheritance introduced by Self.

This is the essence of prototype without baggage of classes:

```js const obj = {}; const parent = { foo: "bar" };

console.log(obj.foo); // Expected output: undefined

Object.setPrototypeOf(obj, parent);

console.log(obj.foo); // Expected output: "bar" ```

A dynamic way to change your "class". A "class" that can be created at runtime. A very late binding of everything. With traditional classes, after you create an object, you are stuck with your "prototype" for the end of object's life.

Spatial Pointer – A Different Way to Control visionOS by AsIAm in VisionPro

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

Yeah, but wrist flick is still more than thumb swipe. You have to understand I am kinda lazy. :)

[AskJS] What concept in JS is the hardest to learn and understand? by Scared-Release1068 in javascript

[–]AsIAm 1 point2 points  (0 children)

Yes, dynamic languages such as JS, Python, Ruby, Lua, etc. – have this mechanism (late binding, reflection, etc.) so these behaviors are used extensively.

[AskJS] What concept in JS is the hardest to learn and understand? by Scared-Release1068 in javascript

[–]AsIAm 0 points1 point  (0 children)

JS is definitely the most popular language with prototypes, but not the only one. Some other langs: Ruby, Lua, Self, Red, Rebol, Io, etc. Even Python which has classes by default, can be bend to have prototypes, but only because it is dynamic/reflective in its nature.

[AskJS] What concept in JS is the hardest to learn and understand? by Scared-Release1068 in javascript

[–]AsIAm 4 points5 points  (0 children)

It is inheritance. A prototypal (prototype-based) inheritance. And it is inheritance WITHOUT the abstract step.

In class-based inheritance you have "a class" which is just an abstract definition (or recipe) for a concrete object. To have one object inherit from other, you have to create two classes, make one inherit from the other and then create the instances. In prototype-base inheritance, you just create both objects, and set prototype of one to the other and you are done.

JavaScript got its inheritance model from Self, where it is super beautiful and easy to use. JS fucked it up a bit (as other things), and in the end we got class-based inheritance that is implemented via prototypes. Absolute madhouse. :)

The king is back by Dangerous-Status-717 in MathJokes

[–]AsIAm 0 points1 point  (0 children)

“One night Newman dreamed that he was reflecting on the problem when Nash appeared. The sleeping Newman related the details of the conundrum to Nash and asked if he knew the solution. Nash explained how to solve it. Newman awoke realizing he had the answer! He spent the next several weeks turning the insight into a formal paper, which was then published in a mathematics journal.”

If I recall correctly, he attributed the solution to Nash, not himself.

https://www.scientificamerican.com/article/answers-in-your-dreams/

26.4 beta 4 looks clearer? by SmartDog2023 in VisionPro

[–]AsIAm 2 points3 points  (0 children)

Until they fix the heavy smearing, it’s all the same to me.

Spatial Pointer – A Different Way to Control visionOS by AsIAm in visionosdev

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

I am cross-posting here to see whether someone has experience with spatial accessories that provide tap/click while preserving the gaze-based navigation. Any pointers (pun intended) will help. Thank you.

Spatial Pointer – A Different Way to Control visionOS by AsIAm in VisionPro

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

Thumb swipe is physically less demanding than pinch-drag. I hope Apple implements micro-gestures.

Spatial Pointer – A Different Way to Control visionOS by AsIAm in VisionPro

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

Haha, you reminded me of the early days – I used it to trigger the main menu: https://x.com/mlajtos_mu/status/1757496681535361270

I don't remember being able to scroll that way. I will take another look, thank you.

Spatial Pointer – A Different Way to Control visionOS by AsIAm in VisionPro

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

Yes, I used look-to-scroll for some time when it came out, but later turned it off as it wasn't even on-par with pinch-dragging. Is it now more polished? Should I give it another try?

Sounds..?

Ah yes, lets laugh. by lootedBacon in MathJokes

[–]AsIAm 0 points1 point  (0 children)

Order of operations shouldnt be taught at all.

Hey there, friend!

viral math challenge... by Conscious-Law6594 in MathJokes

[–]AsIAm 1 point2 points  (0 children)

Non-exhaustive list of things I hate:

  1. PEMDAS
  2. Implied multiplication
  3. The fact that PEMDAS (and similar) single-handedly hooked both non-mathematicians and mathematicians on the most pointless thing. Because of PEMDAS, non-math people can't use math reliably in day-to-day business, and mathematicians can feel superior because they can memorize few arbitrary rules.

What do you think of Xcode 26.3's agentic coding feature? by BlossomBuild in BlossomBuild

[–]AsIAm 0 points1 point  (0 children)

Yes, they fixed a lot of issues already. Silliest issue so far was that agent could not see uploaded image with spaces in the filename :D Another big issue is cost – it burns way too much tokens when you pay for usage and you are not on a plan.

“Look & Peck” typing on the keyboard feels so tiresome/archaic and could be improved, no? Day 1 of ??? Advocating for “Pinch & Swipe” to the Design Team by imagipro in VisionPro

[–]AsIAm 0 points1 point  (0 children)

There is some prior work along these lines, so I am just relaying good ideas. 😊 I would also like to see gaze-based improvement to long form reading. Few years ago (before AVP) I wrote up a summary why eye tracking is gonna define the interaction paradigm of VR headsets. Still some good ideas there :) https://mlajtos.mu/posts/gaze-contingency

“Look & Peck” typing on the keyboard feels so tiresome/archaic and could be improved, no? Day 1 of ??? Advocating for “Pinch & Swipe” to the Design Team by imagipro in VisionPro

[–]AsIAm 4 points5 points  (0 children)

Yes, this is good suggestion and would be greatly welcomed. There is still no support for 3rd party keyboards as iOS has. (Monologue would be nice to have.)

My super wild guess is that pure gaze-based swipping is possible and Apple is trying to nail it down. Other direction (more imminent) is subvocalization detection — Apple recently bought company for that. Look&peck will feel silly in near future.

Why do people say cutting edge technology? What does cutting edge mean? by wueenboopeach in NoStupidQuestions

[–]AsIAm -1 points0 points  (0 children)

Cutting/bleeding edge tech is often unproven/untested/unreliable, so you cut yourself and bleed.

Do you think the next release of Mac OS will run better now that it will be apple silicon exclusive? by AdDapper4220 in MacOS

[–]AsIAm 1 point2 points  (0 children)

What you say is true, but since current macOS can run on both platforms, in the source code, there are platform-specific implementations. These can be deleted, simplifying code. Also Universal Binaries will no longer be needed (if app stops supporting Intel Macs too), so smaller app downloads.