[Перевод] Разрыв в неизменяемости: почему Java Records нужны оптики (Lenses)

Records, pattern matching и sealed-типы сделали Java куда более «функциональной» — читать вложенные данные стало легко и красиво. Но как только вам нужно изменить что-то глубоко внутри неизменяемой структуры, начинается боль: каскад пересоздания records, копирование полей, десятки строк ради одного изменения. В новом переводе от команды Spring АйО рассмотрим, почему у современной Java всё ещё есть пробел в истории неизменяемости — и как оптики закрывают его. Если pattern matching — это про элегантное чтение , то оптики дают то, чего так не хватает, — композиционную запись : определили путь один раз и дальше меняете вложенные поля одной строкой, без ручной реконструкции и без циклов.

https://habr.com/ru/companies/spring_aio/articles/1001066/

#java #kotlin #jvm #optics #java_core #spring #spring_framework #spring_boot

Разрыв в неизменяемости: почему Java Records нужны оптики (Lenses)

Records, pattern matching и sealed-типы сделали Java куда более «функциональной» — читать вложенные данные стало легко и красиво. Но как только вам нужно изменить что-то глубоко внутри неизменяемой...

Хабр
It’s #WiOWednesday! We’re celebrating Rekha Gautam, Senior Scientist and Raman Team Lead at @tyndallinstitute.bsky.social. Her research in Raman spectroscopy & biological screening continues to advance #optics and #photonics. 💡 Read her 2026 SPIE Women in Optics profile: https://bit.ly/4trhqYp
Nikon Brings Z Series Photo Lens Tech to Single Vision Eyeglasses

Nikon brings its optical expertise from Nikon Z lenses to your face.

PetaPixel

Polychromatic Fringes (1868) by René Henri Digeon, J. Silberman, from Les phénomènes de la physique.

Source: Wellcome Collection

https://pdimagearchive.org/images/97e79a76-b57a-4194-87fd-79c46552afd5

#optics #patterns #science #color #light #physics #art #publicdomain

With the rail done my #optics #microscopy project is going into the next phase meaning new problems. I want to use a beam splitter to direct some light to a guide camera (small Basler Cam on the side). However astigmatism from the 50/50 mirror is so bad that I don't get a usable image. Help?!
Two independent recordings of a stationary pulsating light over Andernach, Germany (Christmas night).
Different locations. No coordination.
Breakdown here: https://youtu.be/ezd7F1zzWOk�
Raw sensor data available soon.
#UAP #Optics #Germany
Two People Filmed This Object Over Andernach — We Didn’t Know About Each Other

YouTube
• The first #AxiomStation module is expected to launch 📆 2028, where it will dock onto the #ISS
• Less than a year later, the second module will rendezvousing with the first module and creating a four-crew capable station
#AxiomStation will continuing a revenue 💵 model that the company has demonstrated through #private flights to the ISS, with options to host scaled #manufacturing programs of #pharmaceuticals, silicon #wafers, and fiber #optics
https://payloadspace.com/axiom-space-raises-350m-to-fuel-station-suit-development/
Axiom Space Raises $350M to Fuel Station, Suit Development

The company also confirmed that both pieces of hardware are on track to be ready in time to hit critical NASA deadlines.

Payload
What are the cheapest vintage manual focus camera lenses that could be used as a cine lens?
#cameras #photography #cinematography #cinelens #optics #cameralens #lensrecommendations #videos #videography

I purchased a 1924 Bausch & Lomb Balopticon (https://archive.org/details/balopticonsacces00baus/mode/2up) today. It's in pretty rough condition (missing some parts, the bottom of it is rusted almost all the way through, etc.), but I mostly just wanted the lenses. I managed to get the larger of the two off without any trouble and it is a *chonk*. 4x5 cameras for scale. It weighs just over 12lbs. 😂

Not sure what to do with it yet. Any thoughts?

#photography #lens #optics #balopticon #chonk

Uniting Optics with Effects in a fluent api. In Part 5 we dive into effect polymorphism and how effects structure our code with Higher-Kinded-J's Effect Path API; a fluent interface for computations that might fail, accumulate errors, or require deferred execution. #Java #FunctionalProgramming #Optics #Effects #Programming #OpenSource
https://blog.scottlogic.com/2026/02/09/effect-polymorphic-optics.html
Functional Optics for Modern Java - Part 5

A unique feature of Higher-Kinded-J is uniting Optics with Effects in a fluent api. In Part 5 we dive into effect polymorphism and how effects structure our code with Higher-Kinded-J's Effect Path API; a fluent interface for computations that might fail, accumulate errors, or require deferred execution.

Scott Logic