Stuart Marks – @[email protected]

22.5K posts

Stuart Marks – @stuartmarks@mastodon.social

Stuart Marks – @[email protected]

@stuartmarks

Java/JDK/OpenJDK developer, Oracle. The views expressed here are my own and do not necessarily reflect the views of Oracle. Also @[email protected]

Santa Clara, California, USA Entrou em Şubat 2009
472 Seguindo8.5K Seguidores
Stuart Marks – @stuartmarks@mastodon.social
@base58ed Stream gatherers will soon be in the JDK. There are a few other things I’d like to see like fold() as a stream operation. What else from C++ std algorithms would you like to see?
English
1
0
0
59
Thinking Systems
Thinking Systems@base58ed·
@stuartmarks a humble question sir. C++ std algorithms library is a treasure trove. Any plans to have these algorithms in Java? I'd reckon the stream gatherers might be the doorway but it must be in std package rather than 3rd party.
English
1
0
0
33
Stuart Marks – @stuartmarks@mastodon.social
@RadioFreeTom Very saddened to hear about Carla. I ordered a paper copy of Death of Expertise, Updated, so that I could get a bookplate “signed” by her, but alas, I’ll have to settle for just your signature. 🥲
English
0
0
1
121
Stuart Marks – @stuartmarks@mastodon.social
@kevinb9n Maybe solo instrumental works. Early Venetian Lute Music (Naxos) Bach Cello Suites Bach harpsichord works e.g. Well-Tempered Clavier, Goldberg Variations
English
0
0
2
220
Kevin Bourrillion
Kevin Bourrillion@kevinb9n·
Is there classical music that's not quietLLLOOOUUUDDDquietLLLOOOUUUDDD? How would I manage to stick to that? Having to ride the volume control is a pain and not worth it.
English
3
0
4
1.8K
Stuart Marks – @stuartmarks@mastodon.social
@aphasia0 @starbuxman @java For example, Oracle WebLogic 14 supports RMI/T3 and RMI/IIOP (CORBA). I imagine other vendors' products have similar support. Any deprecation/removal of RMI from the JDK would need to ensure that external frameworks can still support RMI as long as they need to. 2/END
English
1
0
1
392
Stuart Marks – @stuartmarks@mastodon.social
@aphasia0 @starbuxman @java Thanks, good info. RMI deprecation is just an idea, not even a draft proposal, so it won't happen for quite some time if ever. It would apply only to the JDK/Java SE and wouldn't remove RMI everywhere. CORBA was removed from JDK 11 but it's still available in other frameworks. 1/
English
3
0
2
417
Antonio Giordano
Antonio Giordano@aphasia0·
@starbuxman @java @stuartmarks Thanks for sharing this. Java developers are going to get jobs for decades if the RMI deprecation is really going to happen. It is still heavily used in the industry!
Milan, Lombardy 🇮🇹 English
1
0
4
2.5K
Stuart Marks – @[email protected] retweetou
Josh Long
Josh Long@starbuxman·
Finalization is eventually being deprecated. Find out where you’re affected from @java 21 onward by using the --finalization=disabled command line switch
English
1
12
54
11.1K
Stuart Marks – @stuartmarks@mastodon.social
@eliaszrq A duplicate detection step is necessary whether an exception is thrown or duplicates are removed (like copyOf). That, plus typical hash-based organization of Set and Map implementations, means that the stream's destination array can't itself be used like toList() does.
English
0
0
0
16
Elias
Elias@eliaszrq·
@stuartmarks Ah, I see, makes sense now. I guess the deduplication would be needed because the SetN & Set12 throw when there are duplicate items.
English
1
0
0
23
Elias
Elias@eliaszrq·
@stuartmarks Wondering why JDK 16 added Stream.toList() but not .toSet() because it requires "deduplication"? Current default implementation of toList: (List) unmodifiableList(new ArrayList<>(asList(toArray()))); Why couldn't toSet be: (Set) unmodifiableSet(new HashSet<>(asList(toArray()))); Isn't deduplication native to what a Set is?
English
1
0
0
35
Stuart Marks – @stuartmarks@mastodon.social
@eliaszrq The default impl is mostly unused but is necessary because it's a new method on an interface. The actual impl is here: #L625" target="_blank" rel="nofollow noopener">github.com/openjdk/jdk/bl… This impl of toList() deposits stream results directly into an array that's wrapped into a List. Not possible with toSet() or toMap().
English
1
0
1
26
Elias
Elias@eliaszrq·
@stuartmarks Asking you because you seem to have been active in the original proposal: "toSet() and toMap() are unnecessary, as they both entail post-processing of the stream elements: deduplication for toSet [...]" bugs.openjdk.org/browse/JDK-818…
English
1
0
0
24
Stuart Marks – @stuartmarks@mastodon.social
@MnJackSparrow @Habubrats71 Thanks! This looks like a contemporary satellite view. You can see the additional structure in the outfield that was part of the Coliseum’s 1996 expansion (luxury boxes, etc.) The SR-71 photo was likely taken before that. Many other details between the photos are the same though.
English
1
0
4
56
Habubrats SR-71
Habubrats SR-71@Habubrats71·
Rare photograph from 80,000 feet by an SR 71 optical bar camera during a training mission in the USA. The 4-inch wide lines delineating car parking spaces are easily discernible when the image is enlarged. Photo credit USAF. This picture is in Paul Crickmore‘s new book “Lockheed Blackbird Beyond the Secret Missions, The Missing Chapters.” I stayed up till 3:00 AM last night reading this book! I am on page 85. They are 525 pages! If interested, you can buy this book next Tuesday Dec 5. #Habubrats .
Habubrats SR-71 tweet media
English
19
86
698
52.5K